Re: Tiles - proper way for choosing a tile dynamically

2004-08-27 Thread Michael McGrady
+1 David Friedman wrote: Janne, You could set everything dynamically in the tile using something like this (don't quote me if you like it, just look it up!): public class TestAction extends TilesAction { public ActionForward execute(ComponentContext context, ActionMa

Re: Tiles - proper way for choosing a tile dynamically

2004-08-27 Thread Jason Lea
If you are using container managed security or the security filter you could use request.isUserInRole("admin") checking in the action. But Tiles also supports request.isUserInRole checking in the definition and tags eg You could probably try using this in your definition then on the page you

RE: Tiles - proper way for choosing a tile dynamically

2004-08-27 Thread David Friedman
Janne, You could set everything dynamically in the tile using something like this (don't quote me if you like it, just look it up!): public class TestAction extends TilesAction { public ActionForward execute(ComponentContext context, ActionMapping mapping, ActionFo