|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts2.components.Component
org.apache.struts2.components.UIBean
org.apache.struts2.components.ListUIBean
org.apache.struts2.components.CheckboxList
com.jgeppert.struts2.jquery.mobile.components.Radio
public class Radio
A tag that creates an Radiobutton Group from a given List.
Examples
<sjm:radio
id="radio1"
name="radio1"
label="Friends"
list="{'Patrick', 'Jason', 'Jay', 'Toby', 'Rene'}"
/>
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_NAME
|
protected java.lang.String |
dataTheme
|
protected java.lang.String |
horizontal
|
static java.lang.String |
TEMPLATE
|
| Fields inherited from class org.apache.struts2.components.ListUIBean |
|---|
list, listKey, listValue, throwExceptionOnNullValueAttribute |
| Fields inherited from class org.apache.struts2.components.UIBean |
|---|
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, disabled, dynamicAttributes, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, required, requiredposition, response, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, value |
| Fields inherited from class org.apache.struts2.components.Component |
|---|
actionMapper, COMPONENT_STACK, parameters, stack, throwExceptionOnELFailure |
| Constructor Summary | |
|---|---|
Radio(com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
|
| Method Summary | |
|---|---|
void |
evaluateExtraParams()
|
protected java.lang.String |
getDefaultTemplate()
|
java.lang.String |
getTheme()
|
void |
setDataTheme(java.lang.String dataTheme)
|
void |
setHorizontal(java.lang.String horizontal)
|
void |
setTheme(java.lang.String theme)
|
| Methods inherited from class org.apache.struts2.components.ListUIBean |
|---|
contains, getValueClassType, setList, setListKey, setListValue, setThrowExceptionOnNullValueAttribute |
| Methods inherited from class org.apache.struts2.components.UIBean |
|---|
addFormParameter, buildTemplateName, enableAncestorFormCustomOnsubmit, end, ensureAttributeSafelyNotEscaped, escape, evaluateNameValue, evaluateParams, getId, getTemplate, getTemplateDir, getTooltipConfig, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDisabled, setDynamicAttributes, setId, setJavascriptTooltip, setKey, setLabel, setLabelposition, setLabelSeparator, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setRequiredposition, setTabindex, setTemplate, setTemplateDir, setTemplateEngineManager, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setValue |
| Methods inherited from class org.apache.struts2.components.Component |
|---|
addAllParameters, addParameter, altSyntax, altSyntax, completeExpressionIfAltSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, setThrowExceptionsOnELFailure, start, stripExpressionIfAltSyntax, stripExpressionIfAltSyntax, toString, usesBody |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TEMPLATE
public static final java.lang.String COMPONENT_NAME
protected java.lang.String dataTheme
protected java.lang.String horizontal
| Constructor Detail |
|---|
public Radio(com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
| Method Detail |
|---|
protected java.lang.String getDefaultTemplate()
getDefaultTemplate in class org.apache.struts2.components.CheckboxListpublic void evaluateExtraParams()
evaluateExtraParams in class org.apache.struts2.components.ListUIBeanpublic void setTheme(java.lang.String theme)
setTheme in class org.apache.struts2.components.UIBeanpublic java.lang.String getTheme()
getTheme in class org.apache.struts2.components.UIBeanpublic void setHorizontal(java.lang.String horizontal)
public void setDataTheme(java.lang.String dataTheme)
setDataTheme in interface ThemeableBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||