Re: Dynamic Menus using tiles definition files
look at one of my last posts about tabsLayout. you can implement your own bean, with a role attribute, and then test it in your layout. Caroline - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 2:37 PM Subject: RE: Dynamic Menus using tiles definition files Hi, I dont think you can have logic tags in definition files.But if your menu requirements are simple(Only a few roles for which you have different groups menu items), then you can easily do as follows. Create different menu difinitions for each role. And in the menu.jsp when inserting the definition use the logic tag to insert the appropriate definition. HTH. Regards, Shirish -Original Message- From: Joe @ Team345 [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 1:15 PM To: [EMAIL PROTECTED] Subject: Dynamic Menus using tiles definition files So is the above possible? If so, how? Basically, I'd like to have (or notpresent) tags around certain parts of my menu definitions. That is, I would like certain items to only appear under certain circumstances. I can't figure out how to do this in a menu definition file. Has anyone done something like this? My menus are _not_ overly complex; however, I know from my long ago Statistics class that it is completely impractical to define all the possible combinations. Besides that solution is not only ugly, it is not very maintainable. thanks for any thoughts! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Dynamic Menus using tiles definition files
Hi, I dont think you can have logic tags in definition files.But if your menu requirements are simple(Only a few roles for which you have different groups menu items), then you can easily do as follows. Create different menu difinitions for each role. And in the menu.jsp when inserting the definition use the logic tag to insert the appropriate definition. HTH. Regards, Shirish -Original Message- From: Joe @ Team345 [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 1:15 PM To: [EMAIL PROTECTED] Subject: Dynamic Menus using tiles definition files So is the above possible? If so, how? Basically, I'd like to have (or notpresent) tags around certain parts of my menu definitions. That is, I would like certain items to only appear under certain circumstances. I can't figure out how to do this in a menu definition file. Has anyone done something like this? My menus are _not_ overly complex; however, I know from my long ago Statistics class that it is completely impractical to define all the possible combinations. Besides that solution is not only ugly, it is not very maintainable. thanks for any thoughts! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Dynamic Menus using tiles definition files
So is the above possible? If so, how? Basically, I'd like to have (or notpresent) tags around certain parts of my menu definitions. That is, I would like certain items to only appear under certain circumstances. I can't figure out how to do this in a menu definition file. Has anyone done something like this? My menus are _not_ overly complex; however, I know from my long ago Statistics class that it is completely impractical to define all the possible combinations. Besides that solution is not only ugly, it is not very maintainable. thanks for any thoughts! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]