----- Original Message ----
> From: Mike Baranski <list-subscripti...@secmgmt.com>
> To: Struts Users Mailing List <user@struts.apache.org>
> Sent: Tue, October 20, 2009 11:19:25 AM
> Subject: Show jsps from different directories based on "theme"
> 
> So, I want to ship 2 versions (or more) of my views.
> 
> The will be in 
> /pages/jsps/theme1/x.jsp
> and
> /pages/jsps/theme2/x.jsp
> 
> I want the user to be allowed to set the theme, and my result tag in the xml
> be something like:
> 
> /pages/jsps/{selected_theme}/x.jsp
> 
> Can I do that?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org

Mike,

If you're using S2, you could always return the 'theme1' or 'theme2' result in 
your action class and have the mapping for it.  Or you could just use Tiles?  I 
don't know about site mesh since I've looked into in depth.

Regards,
Tommy


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

Reply via email to