You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Esion Siemon (JIRA)" <ji...@apache.org> on 2008/02/27 01:27:07 UTC
[jira] Created: (TILES-258) put without a role will never be
displayd if a same name excist with role
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.
[jira] Resolved: (TILES-258) put without a role will never be
displayd if a same name excist with role
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (TILES-258) put without a role will never be
displayd if a same name excist with role
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli closed TILES-258.
----------------------------------
> 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.