|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.custom.radio.AbstractHtmlRadio
public abstract class AbstractHtmlRadio
This tag is used in conjunction with the extended selectOneRadio tag when the "spread" layout is selected. It specifies the position within the document that the radio button corresponding to a specific SelectItem should be rendered. All HTML pass-through attributes for this input are taken from the associated selectOneRadio. Unless otherwise specified, all attributes accept static values or EL expressions.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
FOR_ATTR
|
static String |
INDEX_ATTR
|
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Constructor Summary | |
---|---|
AbstractHtmlRadio()
|
Method Summary | |
---|---|
abstract String |
getFor()
The id of the referenced extended selectOneRadio component. |
abstract int |
getIndex()
The index of the corresponding SelectItem, where 0 represents the first SelectItem. |
abstract boolean |
isRenderLogicalId()
If this property is set to true, the id generated for the input html markup will be the logical id composed from the clientId of the associated selectOneRadio and the index of this component (for example 'myComp:2'). |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFamily, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
getEnabledOnUserRole, getVisibleOnUserRole, setEnabledOnUserRole, setVisibleOnUserRole |
Methods inherited from interface org.apache.myfaces.component.FocusBlurProperties |
---|
getOnblur, getOnfocus |
Methods inherited from interface org.apache.myfaces.component.ChangeSelectProperties |
---|
getOnchange, getOnselect |
Methods inherited from interface org.apache.myfaces.component.UniversalProperties |
---|
getDir, getLang, getTitle |
Methods inherited from interface org.apache.myfaces.component.EventAware |
---|
getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup |
Methods inherited from interface org.apache.myfaces.component.AltProperty |
---|
getAlt |
Methods inherited from interface org.apache.myfaces.component.AlignProperty |
---|
getAlign |
Methods inherited from interface org.apache.myfaces.component.StyleAware |
---|
getStyle, getStyleClass |
Methods inherited from interface org.apache.myfaces.component.AccesskeyProperty |
---|
getAccesskey |
Methods inherited from interface org.apache.myfaces.component.TabindexProperty |
---|
getTabindex |
Methods inherited from interface org.apache.myfaces.component.DisabledClassEnabledClassProperties |
---|
getDisabledClass, getEnabledClass |
Field Detail |
---|
public static final String FOR_ATTR
public static final String INDEX_ATTR
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public AbstractHtmlRadio()
Method Detail |
---|
public abstract String getFor()
public abstract int getIndex()
@JSFProperty(defaultValue="false") public abstract boolean isRenderLogicalId()
NOTE: This is provided only for backward compatibility with tomahawk 1.2. Activate this behavior will make client behaviors added to t:selectOneRadio like f:ajax or others fail, because the logical id has no counterpart in the component tree.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |