This project has retired. For details please refer to its Attic page.
putAttribute (Tiles - JSP support Tag library documentation)

tiles
Tag putAttribute


Put an attribute in enclosing attribute container tag.

Enclosing attribute container tag can be :

(or any other tag which implements the PutAttributeTagParent interface. Exception is thrown if no appropriate tag can be found.

Put tag can have following atributes :

Value can also come from tag body. Tag body is taken into account only if value is not set by one of the tag attributes. In this case Attribute type is "string", unless tag body define another type.



Tag Information
Tag Classorg.apache.tiles.jsp.taglib.PutAttributeTag
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.String The name of the attribute to put.
valuefalsetruejava.lang.Object The value of the attribute. Use this parameter, or expression, or body.
expressionfalsetruejava.lang.String The expression to calculate the value from. Use this parameter, or value, or body.
rolefalsetruejava.lang.String A comma-separated list of roles. If present, the attribute will be rendered only if the current user belongs to one of the roles.
typefalsetruejava.lang.String The type (renderer) of the attribute.
cascadefalsetrueboolean If true the attribute will be cascaded to all nested attributes.

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.