org.zkoss.zkplus.acegi
Class ShowWindowEventListener<T extends Event>

java.lang.Object
  extended by org.zkoss.zkplus.acegi.ShowWindowEventListener<T>
All Implemented Interfaces:
java.io.Serializable, EventListener<T>, SerializableEventListener<T>

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

Author:
Henri
See Also:
Serialized Form

Constructor Summary
ShowWindowEventListener()
           
 
Method Summary
 void onEvent(T event)
          Notifies this listener that an event occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowWindowEventListener

public ShowWindowEventListener()
Method Detail

onEvent

public void onEvent(T event)
Description copied from interface: EventListener
Notifies this listener that an event occurs. To get the event, you have to register it first by use of Component.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener) or Page.addEventListener(java.lang.String, org.zkoss.zk.ui.event.EventListener).

If you want to forward the event to other component, use Events.sendEvent(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event).

Specified by:
onEvent in interface EventListener<T extends Event>


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo