-
1. Re: Problem using Richfaces styles
paul.dijou Dec 6, 2011 5:48 AM (in response to ujjets)I think RichFaces only load files required on each page. Meaning that if you don't use a comboBox component, the comboBox CSS file will not be loaded. Try to add a comboBox, just for test, and see if it add the CSS file. At least, it's the case in last version of RichFaces, not sure about 3.3.1
-
2. Re: Problem using Richfaces styles
ujjets Dec 6, 2011 10:50 AM (in response to paul.dijou)Hello Paul,
Many thanks for your response.
I tried adding a dummy combo box and voilà !!!
The styles were being applied.
I really do not need that component, but looks like I need that hack for the page to work unless there are any other suggestions.
Thanks again.
-
3. Re: Problem using Richfaces styles
paul.dijou Dec 6, 2011 11:30 AM (in response to ujjets)You're welcome
I think adding the CSS file of the combo box manually is a better solution than having a dummy combo box in your page (even if you don't display it). What you really need is only the CSS file, and adding a combo box will probably include other files (like javascript scripts) that you don't need (and you will have a ugly HTML source code with a useless combo box ^^).
You can load the CSS file on a template if you need the CSS class a lot or only on this particular page.
-
4. Re: Problem using Richfaces styles
ujjets Dec 6, 2011 11:38 AM (in response to paul.dijou)OK Paul.
Will probably go with adding the styles manually.
Appreciate your taking the time.