2009/7/8 jo_atman <nth...@yahoo.com>:
> I have an existing project which makes heavy use of tiles definitions for
> pages. now there's a requirement to change the pages shown based on the
> user.
> Any ideas on how to do this would be greatly appreciated. I would of course
> prefer not to create a static tiles definition for each page that can be
> shown to the user. i'm thinking something along the lines of:
> 1. have a few generic definitions for pages (page.one, page.two...)
> 2. at runtime based on a different configuration file insert the specific
> jsps in the body part of the tile.
>
> of course, any different and better way to achieve the same result is always
> welcome.

Use a controller class:
http://struts.apache.org/1.x/struts-tiles/apidocs/org/apache/struts/tiles/Controller.html

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to