Re: Struts Tiles question re menus

2006-12-12 Thread Antonio Petrelli
Adam Gordon ha scritto: The place we would do this is in a request listener class we have that currently, amongst other things, creates the entire menu system for the user. You can use also a Controller class to create your menu items, and associate it to your definition(s), I the code will b

RE: Struts Tiles question re menus

2006-12-12 Thread Asthana, Rahul
Users Mailing List Subject: Re: Struts Tiles question re menus Rahul- After reading 5.2.2, I can make it work using that structure, however I believe it defeats the original intent of Tiles because it would require me to have a n^2 tiles definitions for each scenario where n is the number of

Re: Struts Tiles question re menus

2006-12-12 Thread Adam Gordon
Rahul- After reading 5.2.2, I can make it work using that structure, however I believe it defeats the original intent of Tiles because it would require me to have a n^2 tiles definitions for each scenario where n is the number of submenu items that need to be configured. After some digging a

RE: Struts Tiles question re menus

2006-12-12 Thread Asthana, Rahul
Look at "5.2.2 One Controller - Multiple Views" in http://www2.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf This allows you to choose layouts on the fly. This can also be done by using just an org.apache.struts.tiles.Controller. -Original Message- From: Adam Gordon [mailto:[EMAIL PR