org.apache.myfaces.custom.autoscroll
Class AutoscrollPageTagHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
org.apache.myfaces.custom.autoscroll.AutoscrollPageTagHandler
- All Implemented Interfaces:
- javax.faces.view.facelets.FaceletHandler
@JSFFaceletTag(name="t:autoScrollPage")
public class AutoscrollPageTagHandler
- extends javax.faces.view.facelets.TagHandler
Adds to UICommand components that implements ClientBehaviorHolder interface an
AutoscrollBehavior.
Use it in this way to ensure proper operation:
<f:metadata>
<t:autoScrollPage/>
</f:metadata>
Or in this way:
<h:body>
<t:autoScrollPage/>
It is possible to use it at start of the page too, but note this tag attach a listener to
PostAddToViewEvent, so previous components added to the view before apply this TagHandler
will not be taken into account.
- Since:
- 1.1.10
- Version:
- $Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (miƩ, 03 sep 2008) $
- Author:
- Leonardo Uribe (latest modification by $Author: lu4242 $)
Fields inherited from class javax.faces.view.facelets.TagHandler |
nextHandler, tag, tagId |
Method Summary |
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
|
Methods inherited from class javax.faces.view.facelets.TagHandler |
getAttribute, getRequiredAttribute, toString |
AutoscrollPageTagHandler
public AutoscrollPageTagHandler(javax.faces.view.facelets.TagConfig config)
apply
public void apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.