public class ShowWindowEventListener<T extends Event> extends java.lang.Object implements SerializableEventListener<T>
The default listener to show a modal window for login and other things.
The event data is the url page and it expects:
This implementation would automatically remove the added eventlistener from the target component.
Applicable to Acegi Security version 1.0.3
Constructor and Description |
---|
ShowWindowEventListener()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
onEvent(T event)
Deprecated.
Notifies this listener that an event occurs.
|
public void onEvent(T event)
EventListener
Component.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>)
or
Page.addEventListener(java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>)
.
If you want to forward the event to other component,
use Events.sendEvent(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)
.
onEvent
in interface EventListener<T extends Event>
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.