org.apache.myfaces.custom.aliasbean
Class AliasBean
UIComponentBase
org.apache.myfaces.custom.aliasbean.AliasBean
public class AliasBean
extends UIComponentBase
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.
$Revision: 169189 $ $Date: 2005-05-09 01:03:38 +0200 (Mon, 09 May 2005) $- Sylvain Vieujot (latest modification by $Author: svieujot $)
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
COMPONENT_TYPE
public static final String COMPONENT_TYPE
AliasBean
public AliasBean()
broadcast
public void broadcast(FacesEvent event)
throws AbortProcessingException
getFamily
public String getFamily()
getValue
public String getValue()
processDecodes
public void processDecodes(FacesContext context)
processRestoreState
public void processRestoreState(FacesContext context,
Object state)
processSaveState
public Object processSaveState(FacesContext context)
processUpdates
public void processUpdates(FacesContext context)
processValidators
public void processValidators(FacesContext context)
queueEvent
public void queueEvent(FacesEvent event)
restoreState
public void restoreState(FacesContext context,
Object state)
saveState
public Object saveState(FacesContext context)
setAlias
public void setAlias(String aliasBeanExpression)
setValue
public void setValue(String valueExpression)