UISelectOne or UISelectMany component as a list of
radio buttons
| Modifier and Type | Class and Description |
|---|---|
| protected static class | RadioRenderer.Group
Keeps track of all <h:selectoneradio group> detail. |
| public static class | RadioRenderer.GroupSelectItem
Used when a <h:selectoneradio group> doesn't have a select item; it will then get it via first radio of the group. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Attribute[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | decode(FacesContext
FacesContext for the request we are processingUIComponent to be decoded.Overrides com. decodeGroup(FacesContext, UISelectOne, String)
when 'group' attribute is set.
|
| protected void | decodeGroup(FacesContext context, UISelectOne radio, RadioRenderer.
The difference with default decoding is: |
| public void | encodeEnd(FacesContext
FacesContext for the response we are creatingUIComponent to be renderedOverrides com. encodeEndGroup(FacesContext, UISelectOne, String)
when 'group' attribute is set.
|
| protected void | encodeEndGroup(FacesContext context, UISelectOne radio, RadioRenderer.
The difference with default encoding is: |
| protected static RadioRenderer. | |
| protected boolean | |
| public void | processEvent(ComponentSystemEvent
the event)ComponentSystemEvent instance that
is being processed.Implements javax. |
| protected void | renderInput(FacesContext context, ResponseWriter writer, UIComponent component, String clientId, Object itemValue, Converter<?> converter, boolean checked, boolean disabled, RadioRenderer.
|
| protected void | renderLabel(ResponseWriter writer, UIComponent component, String forClientId, SelectItem curItem, HtmlBasicRenderer.
|
| protected void | renderOption(FacesContext context, UIComponent component, Converter<T> converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, boolean alignVertical, int itemNumber, HtmlBasicRenderer.
Overrides com. |
| ATTRIBUTES | back to summary |
|---|---|
| private static final Attribute[] ATTRIBUTES Hides com. | |
| RadioRenderer | back to summary |
|---|---|
| public RadioRenderer() | |
| decode | back to summary |
|---|---|
| public void decode(FacesContext context, UIComponent component) Overrides com. This override delegates to
| |
| decodeGroup | back to summary |
|---|---|
| protected void decodeGroup(FacesContext context, UISelectOne radio, RadioRenderer. The difference with default decoding is: | |
| encodeEnd | back to summary |
|---|---|
| public void encodeEnd(FacesContext context, UIComponent component) throws IOException Overrides com. This override delegates to
| |
| encodeEndGroup | back to summary |
|---|---|
| protected void encodeEndGroup(FacesContext context, UISelectOne radio, RadioRenderer. The difference with default encoding is: | |
| getGroup | back to summary |
|---|---|
| protected static RadioRenderer. | |
| isChecked | back to summary |
|---|---|
| protected boolean isChecked(FacesContext context, UISelectOne radio, Object itemValue) | |
| processEvent | back to summary |
|---|---|
| public void processEvent(ComponentSystemEvent event) throws AbortProcessingException Implements javax. After adding component to view, if component has group attribute set, then pre-collect the components by group.
| |
| renderInput | back to summary |
|---|---|
| protected void renderInput(FacesContext context, ResponseWriter writer, UIComponent component, String clientId, Object itemValue, Converter<?> converter, boolean checked, boolean disabled, RadioRenderer. | |
| renderLabel | back to summary |
|---|---|
| protected void renderLabel(ResponseWriter writer, UIComponent component, String forClientId, SelectItem curItem, HtmlBasicRenderer. | |
| renderOption | back to summary |
|---|---|
| protected void renderOption(FacesContext context, UIComponent component, Converter<T> converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, boolean alignVertical, int itemNumber, HtmlBasicRenderer. Overrides com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final String | |
| private ValueExpression |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public String |
| clientIds | back to summary |
|---|---|
| private final List<String> clientIds | |
| clientName | back to summary |
|---|---|
| private final String clientName | |
| value | back to summary |
|---|---|
| private ValueExpression value | |
| Group | back to summary |
|---|---|
| public Group(FacesContext context, String clientName) | |
| addRadio | back to summary |
|---|---|
| public void addRadio(FacesContext context, UISelectOne radio) | |
| getClientName | back to summary |
|---|---|
| public String getClientName() | |
| Modifier and Type | Field and Description |
|---|---|
| private SelectItem |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getItemDescription()
Overrides javax. Return the description for this selection item. |
| public String | getItemLabel()
Overrides javax. Return the localized label for this selection item. |
| public Object | getItemValue()
Overrides javax. Return the server value for this selection item. |
| private SelectItem | |
| public boolean | isItemDisabled()
Overrides javax. Return the disabled setting for this selection item. |
| public boolean | isItemEscaped()
Overrides javax. Return the escape setting for the label of this selection item. |
| public boolean | isNoSelectionOption()
Overrides javax.
Return the value of the |
| selectItem | back to summary |
|---|---|
| private SelectItem selectItem | |
| GroupSelectItem | back to summary |
|---|---|
| public GroupSelectItem() | |
| getItemDescription | back to summary |
|---|---|
| public String getItemDescription() Overrides javax. Doc from javax. Return the description for this selection item. | |
| getItemLabel | back to summary |
|---|---|
| public String getItemLabel() Overrides javax. Doc from javax. Return the localized label for this selection item. | |
| getItemValue | back to summary |
|---|---|
| public Object getItemValue() Overrides javax. Doc from javax. Return the server value for this selection item. | |
| getSelectItem | back to summary |
|---|---|
private SelectItem getSelectItem()
| |
| isItemDisabled | back to summary |
|---|---|
| public boolean isItemDisabled() Overrides javax. Doc from javax. Return the disabled setting for this selection item.
| |
| isItemEscaped | back to summary |
|---|---|
| public boolean isItemEscaped() Overrides javax. Doc from javax. Return the escape setting for the label of this selection item.
| |
| isNoSelectionOption | back to summary |
|---|---|
| public boolean isNoSelectionOption() Overrides javax. Doc from javax.
Return the value of the
| |