This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts-Layout Skin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts-Layout Skin" Watch "Struts-Layout Skin" New topic

Struts-Layout Skin

Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
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!

Tiago Fernandez
I agree. Here's the link:
subject: Struts-Layout Skin
Similar Threads
Strange IllegalArgumentException: No bean specified
How create a virtual keyboard inside a jsp that uses struts layout
Tiles, putList and tiles-defs.xml
DispatchAction No action instance for path ...
???en_US.errors.required??? instead of fileds names