UISelectOne or UISelectMany
component as a list of radio buttons
| Modifier and Type | Class and Description |
|---|---|
| protected static class | RadioRenderer.
Keeps track of all |
| public static class | RadioRenderer.
Used when a |
| 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. This override delegates to |
| 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. This override delegates to |
| 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 jakarta. After adding component to view, if component has group attribute set, then pre-collect the components by group. |
| 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 newTableRow, 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 jakarta. 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 newTableRow, int itemNumber, HtmlBasicRenderer. Overrides com.
| |
<h:selectOneRadio group> detail.
| 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() | |
<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 SelectItem |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getItemDescription()
Overrides jakarta. Return the description for this selection item. |
| public String | getItemLabel()
Overrides jakarta. Return the localized label for this selection item. |
| public Object | getItemValue()
Overrides jakarta. Return the server value for this selection item. |
| private SelectItem | |
| public boolean | isItemDisabled()
Overrides jakarta. Return the disabled setting for this selection item. |
| public boolean | isItemEscaped()
Overrides jakarta. Return the escape setting for the label of this selection item. |
| public boolean | isNoSelectionOption()
Overrides jakarta.
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 jakarta. Doc from jakarta. Return the description for this selection item. | |
| getItemLabel | back to summary |
|---|---|
| public String getItemLabel() Overrides jakarta. Doc from jakarta. Return the localized label for this selection item. | |
| getItemValue | back to summary |
|---|---|
| public Object getItemValue() Overrides jakarta. Doc from jakarta. Return the server value for this selection item. | |
| getSelectItem | back to summary |
|---|---|
private SelectItem getSelectItem()
| |
| isItemDisabled | back to summary |
|---|---|
| public boolean isItemDisabled() Overrides jakarta. Doc from jakarta. Return the disabled setting for this selection item.
| |
| isItemEscaped | back to summary |
|---|---|
| public boolean isItemEscaped() Overrides jakarta. Doc from jakarta. Return the escape setting for the label of this selection item.
| |
| isNoSelectionOption | back to summary |
|---|---|
| public boolean isNoSelectionOption() Overrides jakarta. Doc from jakarta.
Return the value of the
| |