DTD doc not clear for "role" attribute
--------------------------------------

                 Key: TILES-266
                 URL: https://issues.apache.org/struts/browse/TILES-266
             Project: Tiles
          Issue Type: Bug
    Affects Versions: 2.0.5
            Reporter: Daniel Baldes
            Priority: Minor


The DTD documentation for the "add-attribute" tag's "role" attribute says

"Security role name that is allowed access to this attribute object. The 
attribute is inserted only if the role name is allowed."

According to Antonio Petrelli, this is only evaluated when using 
<tiles:insertAttribute> to insert the attributes. When using add-attribute 
inside put-list-attribute and interating over the list in a JSP, all attributes 
are present, regardless of the roles of the current user.

The Documentation should be clarified.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to