-
1. Re: How to import the Richfaces built in CSS to a jsf page.
sandy4you Apr 4, 2012 7:25 AM (in response to sandy4you)HI All,
I also tried the following code:
<h:head>
<h:outputStylesheet library="org.richfaces" name="datascroller.ecss" />
<h:outputStylesheet library="org.richfaces" name="datascroller.js" />
<h:outputStylesheet library="org.richfaces" name="extendedDataTable.ecss" />
<h:outputStylesheet library="org.richfaces" name="extendedDataTable.js" />
</h:head>
But this also does not work.
Any help would be highly appreciated.
Thanks & Regards,
Sandy
-
2. Re: How to import the Richfaces built in CSS to a jsf page.
sandy4you Apr 5, 2012 5:14 AM (in response to sandy4you)Hi All,
I got the answer by trying the same code again and again at various places.
<h:outputStylesheet library="org.richfaces" name="datascroller.ecss" />
<h:outputStylesheet library="org.richfaces" name="datascroller.js" />
<h:outputStylesheet library="org.richfaces" name="extendedDataTable.ecss" />
<h:outputStylesheet library="org.richfaces" name="extendedDataTable.js" />
Please note that dont include in the <h:head> tag and just import it on the page after the xmlns definition.
Everything just works perfect.
Cheers,
Sandy