Open Patterns Ordered Data
Tag buttons


Custom tag to generate buttons allowing to ordering data items in a table.

Example:
<ordereddata:buttons id="mydata" prefix="MYDATA" disabled="true" computeorder="false"/>


Tag Information
Tag Classorg.opensubsystems.patterns.ordereddata.www.OrderedDataButtonsTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idtruetruejava.lang.StringId assigned to the block element container generated by this tag that will contain all the other elements.
prefixtruetruejava.lang.StringPrefix used for all html fields generated by this tag.
disabledfalsetruejava.lang.StringIf the controls generated by this tag should be disabled then this attribute should say true or 1.
ordereditemsfalsetruejava.lang.StringValues specifying mapping between ids of data objects managed by the controls and artificial order number specifying order of those data objects, The format for order is: ID1:ORDER_NUMBER1;ID2:ORDER_NUMBER2;...;IDn:ORDER_NUMBERn
computeorderfalsetruejava.lang.StringFlag which will configures if an artificial order number will be computed when item is reordered. If the order should be computed for reordered item this should say true or 1. If this is false or 0 then then item will be just moved on the gui without computing new order value. Default value is true.
cssclassfalsetruejava.lang.StringCSS class for the area where controls to order data are displayed.

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.