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 20:11:05 UTC

[jira] Resolved: (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 resolved TILES-266.
------------------------------------

    Resolution: Fixed

Clarified <add-attribute> and <add-list-attribute> elements.

> DTD doc not clear for "role" attribute
> --------------------------------------
>
>                 Key: TILES-266
>                 URL: https://issues.apache.org/struts/browse/TILES-266
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.0.5
>            Reporter: Daniel Baldes
>            Assignee: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.6
>
>         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.