You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2008/05/02 10:51:05 UTC
[jira] Updated: (TILES-266) DTD doc not clear for "role" attribute
[ https://issues.apache.org/struts/browse/TILES-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli updated TILES-266:
-----------------------------------
Attachment: 2.0-patch.diff
> 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
> Assignee: Antonio Petrelli
> Priority: Minor
> Attachments: 2.0-patch.diff, 2.1-patch.diff
>
>
> 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.