Project Documentation


Tag name: <t:aliasBeansScope>
UIComponent class: org.apache.myfaces.custom.aliasbean.AliasBeansScope
Tag class: org.apache.myfaces.custom.aliasbean.AliasBeansScopeTag
Component type: org.apache.myfaces.AliasBeansScope
Component family: javax.faces.Data

Holds several aliases that are configured by aliasBean tags.

The aliasBean tag must enclose all the components that are within the scope of the alias. When multiple aliasas are defined, this makes the page structure very clumsy; for example defining 5 aliases means the content must be nested 5 indentation levels deep. This tag instead allows the content block to be wrapped in just one AliasBeansScope tag, and then have AliasBean tags with empty bodies added as direct children of this component. The scope of the AliasBean tag still starts when the tag begins, but instead of ending when the tag ends the scope of the nested AliasBean tags extends to the end of this component.


Name Type Supports EL? Description
id String Yes Get a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.