Use CSS and include a different one for each theme. See the CSS Zen garden site for examples of what can be done with pure CSS.
Dave On Apr 25, 2011 3:29 AM, "rocklee" <mini...@gmail.com> wrote: > I want to implement wordpress like themes, one application has different > themes, the template in each theme maybe have different layout and contains > different sections. User can select which theme to use. I thought there will > be a folder with different themes, like following: > > web > - WEB-INF > - themes > - theme1 > - index.jsp > - header.jsp > - footer.jsp > ... > - theme2 > - index.jsp > - header.jsp > - footer.jsp > ... > > I have been researching struts2 themes and templates, it seems the struts2 > themes is for detail ui components like a button, a dropdown etc. It has > different meaning than wordpress themes. I'm not sure where to start. Any > suggestions will be appreciated. Thanks a lot. > > -- > View this message in context: http://struts.1045723.n5.nabble.com/How-to-implement-wordpress-like-themes-tp4337790p4337790.html > Sent from the Struts - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org >