Hi,


There is a simple example of usage in tiles-documentation.war under test/testRole. In brief, when you specify a role, the insert is performed only if the user is in requested role. Otherwise the tag is skipped.

You can refer to the documentation of <insert ..> tag (http://jakarta.apache.org/struts/userGuide/struts-tiles.html), and experiment.
What you should know: the role attribute work in definitions with <definition ... role="aRole"/>, but not in the <put ...> tags of a definition. ,Furthermore the role attribute only accept one role.
An alternative is to use the logic tags of struts to check roles.


Cedric

Jos� Fortunato H. Tom�s wrote:

Hi!

I read the tilesAdvancedFeatures.pdf in some fast way.
At end I see (9.2) a reference to role for tiles definition. I look backwords in the document I could find any mension of how it works, or how it should be used.


Any one has a reference or could tell how this role works, or how I should use it?

Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to