Open Patterns List Data
Tag action


Custom tag to generate hyperlink that can invoke instance of ListBrowserServlet and perform the desired action such as going to the next or the previous page. This tag implements functionality similar to methods in listdata.js but only based on the data available at the time when the page is generated. If the page dynamically changes some of the list data pattern variables for example based on users' action, you should use methods in the listdata.js instead.

Example:
<listdata:action options="listoptions" command="yourcommand" url="/yourapp/yourservlet?yourparam=yourvalue"/>


Tag Information
Tag Classorg.opensubsystems.patterns.listdata.www.ListDataActionTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
optionsfalsetruejava.lang.StringName of the attribute in the request object, which identifies ListOptions object. If none is specified, the default name used by ListBrowserServlet will be used.
commandtruetruejava.lang.StringCommand specifying action to execute. Recognized values are previous, next, goto, pagesize, but you can specify your own if you implement support for it on the backend in your ListBrowserServlet derived class.
urlfalsetruejava.lang.StringGet the url that should be used to generate the link. The url should be able to accept parameters using the standard notation paramname=paramvalue. If no url is specified the tag will be used value of servletpath parameter sent by the WebSessionServlet derived servlet that processedrequest causing generation of this page.

Variables
No Variables Defined.


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