| java.lang.Object org.apache.struts2.util.StrutsUtil
All known Subclasses: org.apache.struts2.util.VelocityStrutsUtil,
StrutsUtil | public class StrutsUtil (Code) | | Struts base utility class, for use in Velocity and Freemarker templates
|
log | final protected static Log log(Code) | | |
stack | protected ValueStack stack(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) | | |
|
|