I would like to try panelBorderRadius as it is writ in Release blog http://blog.bleathem.ca/2012/02/richfaces-420cr1-release-announcement.html :
"To enable round-corner support for your skin set the panelBorderRadius property of your skin to the desired border-radius value."
But how/where panelBorderRadius can be changed?There is a sample anywhere?
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.
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!