• Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts-Layout Skin  RSS feed

Tiago Fernandez
Ranch Hand
Posts: 167
  • 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/Struts-Layout_master.properties 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="Struts-Layout_master.properties"/>
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!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!