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

tiles
Tag addAttribute


Add an element to the surrounding list. Equivalent to 'putAttribute', but for list element.

Add an element to the surrounding list. This tag can only be used inside 'putListAttribute' or 'addListAttribute' tags. Value can come from a direct assignment (value="aValue")



Tag Information
Tag Classorg.apache.tiles.jsp.taglib.AddAttributeTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
valuefalsetruejava.lang.Object

Attribute value. Can be a String or Object.

typefalsefalsejava.lang.String

Specify content type: string, template or definition.

  • string : Content is printed directly.
  • template : Content is included from specified URL. Value is used as an URL.
  • definition : Value denote a definition defined in factory (xml file). Definition will be searched in the inserted tile, in a <insertAttribute name="attributeName"> tag, where 'attributeName' is the name used for this tag.
  • object: the value is used as it is.
rolefalsetruejava.lang.String

If the user is in the specified role, the tag is taken into account; otherwise, the tag is ignored (skipped).


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.