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.

Reply via email to