File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts-Layout Skin

Tiago Fernandez
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to use skins in my JSP with Struts-Layout, but I can't use other than the config/default.css file. See what I've done:
1) I've created a WEB-INF/classes/ and did all the configurations (skin, directory.config, etc).
2) Created config/master.css
3) Added a plug-in in struts-config.xml:
<plug-in className="fr.improve.struts.taglib.layout.workflow.LayoutPlugin">
<set-property property="skinResources" value=""/>
What do I have to do now?
Which name I gotta put in styleClass attribute?
JSP source:
<layout:html key="Tabs Test">
<html:form action="/TesteTabs" name="TesteTabsForm" type="debut.TesteTabsForm">
<layout:tabs styleClass="FORM" width="600">
<layout:tab key="Produtos" width="200">
Thank you!
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic