Project Documentation

Summary

Facelet Tag name: <t:autoScrollPage>
Facelet Tag class: org.apache.myfaces.custom.autoscroll.AutoscrollPageTagHandler
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.

Attributes

Name Type Required Description
event javax.el.ValueExpression false