what problem do you have finally ? it does not work ?
btw did you look at the sample skin http://anonsvn.jboss.org/repos/gatein/portal/tags/3.1.0-GA/examples/skins/simpleskin/ to compare it with yours ?
It is not working. I have gone thru the url which u gave. I have configured gatein-resources.xml & web.xml. Is there anything else which I need to do ?
No, I just have some notes :
- You are configure a new skin called "myPortalStyle", it means you have to change current skin to myPortalStyle to get your effort
- Make sure you put gatein-resources.xml in in the same directory WEB-INF with web.xml
- Let see if there is any difference between your web.xml and the one in the simple skin
Hi, thanks for your reply .
I have compared my web.xml with the one in simple skin. There is no difference. My gatein-resources.xml & web.xml are located in WEB-INF directory. Is there anything additional which I need to do to change the default skin ??????? I have tried placing my css in 01eXoResources.war & specifying my css import in Stylesheet.css located in the same directory. Then it worked for me. But thru my application I am unable to change the default skin.
If you want to add a css to the default skin, you need to specify the skin-name to "Default" and a different skin-module ( it's "CoreSkin" by default if omitted ) as following :
<portal-skin> <skin-name>Default</skin-name> <skin-module>myPortalStyle</skin-module> <css-path>/themes/Stylesheet.css</css-path> </portal-skin>
let me know if it works for you
hi Trong, thanks a lot for ur reply. It worked.