Manorrock.com / Online / Wiki Login

ListenerFor

Edit

Javadoc

The @ListenerFor annotation allows you to register a component/renderer as a listener for a specific system event.

  @ListenerFor(systemEventClass=PostAddToViewEvent.class)
  public class MyComponent extends UIComponentBase implements ComponentSystemEventListener {
    /*
     * @param event the event to handle.
     */
    public void processEvent(ComponentSystemEvent event) throws AbortProcessingException {
    }
  }

MainPage