t
Tag aliasBean
A tag that defines a new bean (alias) with a given value. This allows you to design a subform with a generic (fictive) bean and to include it in all the pages where you use it. You just need to make an alias mapping the fictive bean name to the real bean before including the subform.
When used within an aliasBeansScope tag, this tag adds the alias to the aliasBeansScope. This makes configuration with multiple aliasBeans easier to write.
Unless otherwise specified, all attributes accept static values or EL expressions.
Tag Information |
Tag Class | org.apache.myfaces.custom.aliasbean.AliasBeanTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
id | false | false | java.lang.String | The developer-assigned ID of this component. The ID must be unique within the scope of the tag's enclosing naming container (e.g., h:form or f:subview). This value must be a static value. |
alias | false | false | java.lang.String | The variable that will be created to hold a reference to the existing value. This must be an EL expression. Example : #{theBean} |
value | false | false | java.lang.String | The existing value that the alias can be set to. This can be a literal string (like "toto") or a reference to an existing bean (like "#{myBean.member1}"). |
Variables |
No Variables Defined. |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.