The way I did was to override the backing components of the struts tags.
I added logic there to simple control which template is used (depending
on the role). I felt that I could use the Components (and Tag objects)
as controllers for this purpose.
Mississippi John Hurt wrote:
Does anyone have sample JSP with a clean, easy way to utilize the same JSP
page for multiple views, maybe even by users with different roles? Is there
any best practice? I wonder if anyone has found a way to do it with as
little hardcoding as possible, and also being able to handle multiple modes,
with different submit buttons for users with different roles.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]