Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ui.web.tag.handler
Class ActionListenerMethodTagHandler

java.lang.Object
  extended by com.sun.facelets.tag.TagHandler
      extended by org.nuxeo.ecm.platform.ui.web.tag.handler.ActionListenerMethodTagHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

public class ActionListenerMethodTagHandler
extends com.sun.facelets.tag.TagHandler

Action listener method handler: makes it possible to add an action listener method to any action source component parent.

This is useful when declaring several action listeners on the same parent component, and when the order of calls needs to be respected: the action listener method declared on a component is the first one called. So this method makes it possible to add other action listeners before it, without having to declare a class (when using the f:actionListener tag).

Author:
Anahide Tchertchian

Field Summary
static java.lang.Class[] ACTION_LISTENER_SIG
           
 
Constructor Summary
ActionListenerMethodTagHandler(com.sun.facelets.tag.TagConfig config)
           
 
Method Summary
 void apply(com.sun.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
           
 
Methods inherited from class com.sun.facelets.tag.TagHandler
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION_LISTENER_SIG

public static final java.lang.Class[] ACTION_LISTENER_SIG
Constructor Detail

ActionListenerMethodTagHandler

public ActionListenerMethodTagHandler(com.sun.facelets.tag.TagConfig config)
Method Detail

apply

public void apply(com.sun.facelets.FaceletContext ctx,
                  javax.faces.component.UIComponent parent)
           throws java.io.IOException,
                  javax.faces.FacesException,
                  com.sun.facelets.FaceletException,
                  javax.el.ELException
Throws:
java.io.IOException
javax.faces.FacesException
com.sun.facelets.FaceletException
javax.el.ELException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.