Re: role - tiles definition?

2003-05-28 Thread Cedric Dumoulin
 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]


role - tiles definition?

2003-05-27 Thread José Fortunato H. Tomás
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.

--
José Tomás
LINK Consulting SA - http://www.link.pt
UPI - Unidade de Portais e Intranets
Av. Duque D'Ávila 23 5º Dto. - 1000-138 Lisboa
Telf: (+351) 213 100 095
Telm: (+351) 964 324 814


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