|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.web.template.BaseSelectOptions
public class BaseSelectOptions
Base template helper class to generate HTML select options.
Constructor Summary | |
---|---|
BaseSelectOptions()
|
Method Summary | |
---|---|
freemarker.template.TemplateModel |
getOptions(java.util.List table,
java.lang.String valAttr,
java.lang.String dispAttr,
java.lang.String selected)
Return a SimpleScalar containing the options. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseSelectOptions()
Method Detail |
---|
public freemarker.template.TemplateModel getOptions(java.util.List table, java.lang.String valAttr, java.lang.String dispAttr, java.lang.String selected)
table
- List instance containing list of options.valAttr
- Value attribute.dispAttr
- Display Attribute.selected
- Selected value attribute value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |