Zoran Avtarovski ha scritto:
We are developing an application which has a requirement to present
information to users using different skins depending on certain parameters
(information is the same, just the base template file changes). What we'd
like, is to set a flag which is then used to select the base template file.

I noticed that tiles had some support for multi-channels but I haven't been
able to find out any substantial information or examples of how to
implement. If somebody could point me in the right direction or if tiles
isn't the best option, any other suggestions would be welcome.

Zoran

If you want to make a complex multichannel web-app you could try Dimensions (this is an advertisement :-P ):
http://mutidimensions.sf.net/
But I think you have a simpler problem. Maybe you can use a Struts Action as a template page:

<definition name="xxx" path="/myAction.do">
...
</definition>

Then "myAction.do" forwards to the right JSP layout page depending (for example) on some bean in session scope.
Ciao

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to