[
https://issues.apache.org/struts/browse/TILES-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio Petrelli resolved TILES-258.
------------------------------------
Resolution: Won't Fix
You cannot put an attribute value twice (or more), only the latest one will be
taken into consideration.
Anyway, if you want pages that vary depending on user roles, take a look at SVN
trunk of Dimensions:
http://mutidimensions.sourceforge.net/
http://sourceforge.net/svn/?group_id=64023
> put without a role will never be displayd if a same name excist with role
> -------------------------------------------------------------------------
>
> Key: TILES-258
> URL: https://issues.apache.org/struts/browse/TILES-258
> Project: Tiles
> Issue Type: Bug
> Affects Versions: 2.0.5
> Environment: XP, Apache tomcat, myFaces, tiles 2.0.5 stand alone
> Reporter: Esion Siemon
>
> <definition name="tiles2.definiton" extends="other.definition">
> <put-attribute name="head_logo" value="/WEB-INF/layout/noRoleDependence.jsp"
> />
> <put-attribute name="head_logo" role="member"
> value="/WEB-INF/layout/roleDependence.jsp" />
> </definition>
> noRoleDependence.jsp will never be displayed.
> The dokumentation told me a put will be skiped if the use is not in the role.
> I thought noRoleDependence.jsp must be displayed cause roleDependence.jsp is
> skiped.
> I also think noRoleDependence.jsp is owerwritten
> by roleDependence.jsp und will not displayd cause the use is in NO role
> .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.