lbastil wrote:
Please give me advices what would be the best approach in the struts 2 world to realize a limited view (authorization).

In struts 1 I would have created a simple tag which is able to render it
childs dependent on authorization of user, something like:
<mytags:guard permission="write">
... some content ...
</mytags:guard>

Is there a better / more elegant / more flexible alternative in struts2?

Thank you very much in advance
Basti
There's nothing better / more elegant / more flexible bundled with struts 2. Your approach looks good.

I mainly use Tiles 2 for components within a page and many of these tags include a role attribute equivalent to your permission attribute.

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

Reply via email to