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
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
jQuery in Action, 3rd edition