Using view filters
Instead of specifying a views
parameter in the
URL of the scroll control command, you can specify each view in the action
XML file. To specify a view filter, place a node in the action XML file as
follows:
About this task
<action ...>
...
...
<view name="sampleList1" actionFile="common.sampleListSC"/>
</action>
the attributes within the code sample have the following meaning:
-
name
- the key to the resource bundle for the name of the view.
-
actionFile
- identifies the XML file which defines the view.