Nuxeo ECM Projects 5.4.3-SNAPSHOT

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 Class[] ACTION_LISTENER_SIG
           
 
Constructor Summary
ActionListenerMethodTagHandler(com.sun.facelets.tag.TagConfig config)
           
 
Method Summary
 void apply(com.sun.facelets.FaceletContext ctx, 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 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,
                  UIComponent parent)
           throws IOException,
                  FacesException,
                  com.sun.facelets.FaceletException,
                  ELException
Throws:
IOException
FacesException
com.sun.facelets.FaceletException
ELException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.