Tag event

Allow JSF page authors to install ComponentSystemEventListener instances on a component in a page.

Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

(must evaluate to java.lang.String)

Name of the event for which to install a listener. The following table lists the valid values for this attribute, and the corresponding event type for which the listener action is registered.

value for "name" tag attribute Type of event sent to listener method
preRenderComponent javax.faces.event.PreRenderComponentEvent
PostAddToView javax.faces.event.PostAddToViewEvent
preValidate javax.faces.event.PreValidateEvent
postValidate javax.faces.event.PostValidateEvent

In addition to these values, the fully qualified class name of any java class that extends javax.faces.event.ComponentSystemEvent may be used as the value of the "type" attribute.

Also, the @javax.faces.event.NamedEvent annotation may be attached to any java class that extends javax.faces.event.ComponentSystemEvent. This enables that event to be referenced from this attribute, as descibed in the javadocs for @NamedEvent.

(signature must match public void listener(javax.faces.event.ComponentSystemEvent event) throws javax.faces.event.AbortProcessingException)
Method expression pointing to a method expression of that will be called when the listener's processEvent method would have been called.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Oracle America, Inc. in the US and other countries. Copyright 2002-4 Oracle America, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.