aspose file tools*
The moose likes JSF and the fly likes CSS in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "CSS in JSF" Watch "CSS in JSF" New topic
Author

CSS in JSF

Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 170
Hi,

just want to know if it is advisable to mix up CSS to my JSF file? or its not a big deal not to use some JSF html custom tag library?
It seems other CSS has no effecgt to some JSF html custom tag like the <h:commandButton>.
But for the <hutputText> it's fine.

Thanks.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Nelson Nadal wrote:Hi,

just want to know if it is advisable to mix up CSS to my JSF file? or its not a big deal not to use some JSF html custom tag library?
It seems other CSS has no effecgt to some JSF html custom tag like the <h:commandButton>.
But for the <hutputText> it's fine.

Thanks.

JSF generates HTML.
CSS applies on HTML only.
So whenever CSS fails, you need to verify it against the generated HTML, not the actual JSF component --this makes no sense.

Regarding to your actual problem, you may have more luck if you extract the generated HTML in question, create a small testset with only pure HTML and CSS and base your troubleshooting on that further.
Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 170
yes you're right, this is only matter of testing or familiriazation of generated html by JSF custom tag.
Thanks again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CSS in JSF