Antonio Petrelli wrote:
2008/6/4 Dimitris Mouchritsas <[EMAIL PROTECTED]>:
Hi all,
I'm searching if there's a meaning like subtiles in struts. We have one
tile, "menu", which will hold 3 menus. Should we break it into 3 different
tiles, say
menu_admin, menu_info, menu_login or can we define it in another way?
What do you mean with "menu" here?
What version of Struts and Tiles are you using?
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
We're using Struts 1.2.4. The menu would look something like:
== Logged in ===
John Doe (my role)
Last login: .....
> My Profile
> My Notifications
> My homepage
> Log out
== Administration ===
> Organization Management
> User Management
> Email User
....
== Information ===
> News
> Statistics
.....
with > I denote links. So in essence there are 3 seperate menus there.
There will need to be logic to hide/show specific items in each menu,
according to a user's role.
Regards
Dimitris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]