Package org.apache.tiles.web.jsp.taglib
Class AddListAttributeTag
java.lang.Object
jakarta.servlet.jsp.tagext.SimpleTagSupport
org.apache.tiles.web.jsp.taglib.AddListAttributeTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.JspTag
,jakarta.servlet.jsp.tagext.SimpleTag
public class AddListAttributeTag
extends jakarta.servlet.jsp.tagext.SimpleTagSupport
Declare a list that will be pass as an attribute.
Declare a list that will be pass as an attribute . List elements are added using the tag 'addAttribute' or 'addListAttribute'. This tag can only be used inside 'insertTemplate', 'insertDefinition' or 'definition' tag.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
AddListAttributeTag
public AddListAttributeTag()
-
-
Method Details
-
getRole
Getter for role property.- Returns:
- The comma-separated list of roles that can use the list attribute.
-
setRole
Setter for role property.- Parameters:
role
- The comma-separated list of roles that can use the list attribute.
-
doTag
- Specified by:
doTag
in interfacejakarta.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in classjakarta.servlet.jsp.tagext.SimpleTagSupport
- Throws:
jakarta.servlet.jsp.JspException
IOException
-