This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CSS for JSF tags  RSS feed

 
Izah Marzuki
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we make css for JSF tags? Or is there a way to reformat the style of JSF tags?
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Izah Marzuki:
Can we make css for JSF tags?


I don't really understand your questions but

most of the JSF components have the attribute "styleclass" where you can specify the CSS class name. If you want to define a style outside of CSS you can make use of "style" attribute


Or is there a way to reformat the style of JSF tags?


did you mean to add more attributes to JSF tag ? If yes, I think you may need to extend the component class and make a custom component. Im not really sure about this one.

Thanks,
 
Izah Marzuki
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you're right.
Thank you very much
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!