| java.lang.Object com.opensymphony.webwork.components.Component com.opensymphony.webwork.components.OptGroup
OptGroup | public class OptGroup extends Component (Code) | |
Create a optgroup component which needs to resides within a select tag.
This component is to be used within a Select component.
<ww:select label="My Selection"
name="mySelection"
value="%{'POPEYE'}"
list="%{#{'SUPERMAN':'Superman', 'SPIDERMAN':'spiderman'}}">
<ww:optgroup label="Adult"
list="%{#{'SOUTH_PARK':'South Park'}}" />
<ww:optgroup label="Japanese"
list="%{#{'POKEMON':'pokemon','DIGIMON':'digimon','SAILORMOON':'Sailormoon'}}" />
</ww:select>
author: tm_jee version: $Date: 2006-07-07 19:56:48 +0200 (Fri, 07 Jul 2006) $ $Id: OptGroup.java 2635 2006-07-07 17:56:48Z tmjee $ |
INTERNAL_LIST_UI_BEAN_LIST_PARAMETER_KEY | final public static String INTERNAL_LIST_UI_BEAN_LIST_PARAMETER_KEY(Code) | | |
setDisabled | public void setDisabled(String disabled)(Code) | | Set the disable attribute.
|
setLabel | public void setLabel(String label)(Code) | | Set the label attribute.
|
setList | public void setList(String list)(Code) | | Set the list attribute.
|
setListKey | public void setListKey(String listKey)(Code) | | Set the listKey attribute.
|
setListValue | public void setListValue(String listValue)(Code) | | Set the listValue attribute.
|
Methods inherited from com.opensymphony.webwork.components.Component | public void addAllParameters(Map params)(Code)(Java Doc) public void addParameter(String key, Object value)(Code)(Java Doc) public boolean altSyntax()(Code)(Java Doc) public void copyParams(Map params)(Code)(Java Doc) protected String determineActionURL(String action, String namespace, String method, HttpServletRequest req, HttpServletResponse res, Map parameters, String scheme, boolean includeContext, boolean encodeResult, boolean escapeXml)(Code)(Java Doc) protected String determineNamespace(String namespace, OgnlValueStack stack, HttpServletRequest req)(Code)(Java Doc) public boolean end(Writer writer, String body)(Code)(Java Doc) protected boolean end(Writer writer, String body, boolean popComponentStack)(Code)(Java Doc) protected WebWorkException fieldError(String field, String errorMsg, Exception e)(Code)(Java Doc) protected Component findAncestor(Class clazz)(Code)(Java Doc) protected String findString(String expr)(Code)(Java Doc) protected String findString(String expr, String field, String errorMsg)(Code)(Java Doc) protected Object findValue(String expr)(Code)(Java Doc) protected Object findValue(String expr, String field, String errorMsg)(Code)(Java Doc) protected Object findValue(String expr, Class toType)(Code)(Java Doc) public Stack getComponentStack()(Code)(Java Doc) public String getId()(Code)(Java Doc) public Map getParameters()(Code)(Java Doc) public OgnlValueStack getStack()(Code)(Java Doc) protected void popComponentStack()(Code)(Java Doc) public void setId(String id)(Code)(Java Doc) public boolean start(Writer writer)(Code)(Java Doc) protected String toString(Throwable t)(Code)(Java Doc) public boolean usesBody()(Code)(Java Doc)
|
|
|