Create a file called myskin.skin.properties that will end up in META-INF/skins (ear) or WEB-INF/classes (war)
(in my maven project I put it in src/main/resources - in NetBeans I create this under Other Sources):
Then in web.xml you need:
Note: This only works if you are NOT using resource mapping (i.e. compressed/packed resources). To
do this you need to either copy out pre-built resources from the richfaces jars, or use the
maven-richfaces-resource-plugin at build time, but I've had not success getting a maven build to work with
p.s. Note that you can also just use <rich:extendedDataTable style="border-radius: 10px" .../> ! I don't know
how cross browser this is, but it works ok on the latest chrome & firefox browsers. You can also try
-moz-border-radius, -webkit-border-radius & -khtml-border-radius.
Do you now if it is a restriction for RF4.2.0CR1 only that don't work with resource mapping?
I wouldn't want to say it doesn't work, just that if you use a custom skin it's not as straightforward when you use resource mapping.
This is not specific to 4.2.0.CR1, it's just the way it works right now. My attempt to use the maven-richfaces-resource-plugin was
unsuccessful but there are a few articles here that may be of help:
I think that Lukas is in the process of producing some additional documentation on the subject, which I'm looking forward to
you are totally right, Brendan,
using Maven plugin together with Resource mapping is the only option right now.
I will write a blog on how to configure it properly,
but if you are not using Maven, it would be tought right now.
It would be possible to conceive non-Maven solution though,
if you would like to put some efforts into that, we would appreciate your help!