| java.lang.Object com.opensymphony.webwork.util.WebWorkUtil
All known Subclasses: com.opensymphony.webwork.util.VelocityWebWorkUtil,
WebWorkUtil | public class WebWorkUtil (Code) | | WebWork base utility class, for use in Velocity and Freemarker templates
author: Rickard Öberg (rickard@dreambean.com) author: Cameron Braid version: $Revision: 1995 $ |
log | final protected static Log log(Code) | | |
makeSelectList | public List makeSelectList(String selectedList, String list, String listKey, String listValue)(Code) | | the selectedList objects are matched to the list.listValue
listKey and listValue are optional, and if not provided, the list item is used
Parameters: selectedList - the name of the action propertythat contains the list of selected itemsor single item if its not an array or list Parameters: list - the name of the action propertythat contains the list of selectable items Parameters: listKey - an ognl expression that is exaluated relative to the list itemto use as the key of the ListEntry Parameters: listValue - an ognl expression that is exaluated relative to the list itemto use as the value of the ListEntry a List of ListEntry |
toInt | public int toInt(long aLong)(Code) | | |
toLong | public long toLong(int anInt)(Code) | | |
|
|