|
||||||||||
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.aliasbean.AliasBean
The aliasBean tag allows you to link a fictive bean to a real bean.
Let's suppose you have a subform you use often but with different beans.
The aliasBean allows you to design the subform with a fictive bean and
to include it in all the pages where you use it. You just need to make an
alias to the real bean named after the fictive bean before invoking the
fictive bean.
This making it possible to have a library of reusable
generic subforms.
Field Summary | |
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
Constructor Summary | |
AliasBean()
|
Method Summary | |
void |
broadcast(javax.faces.event.FacesEvent event)
|
java.lang.String |
getFamily()
|
void |
processRestoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
processSaveState(javax.faces.context.FacesContext context)
|
void |
processUpdates(javax.faces.context.FacesContext context)
|
void |
processValidators(javax.faces.context.FacesContext context)
|
void |
queueEvent(javax.faces.event.FacesEvent event)
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
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 COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
Constructor Detail |
public AliasBean()
Method Detail |
public java.lang.String getFamily()
public java.lang.Object saveState(javax.faces.context.FacesContext context)
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
public java.lang.Object processSaveState(javax.faces.context.FacesContext context)
public void processRestoreState(javax.faces.context.FacesContext context, java.lang.Object state)
public void processValidators(javax.faces.context.FacesContext context)
public void processUpdates(javax.faces.context.FacesContext context)
public void queueEvent(javax.faces.event.FacesEvent event)
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
javax.faces.event.AbortProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |