File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes CSS for JSF tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "CSS for JSF tags" Watch "CSS for JSF tags" New topic
Author

CSS for JSF tags

Izah Marzuki
Greenhorn

Joined: Jan 22, 2007
Posts: 7
Can we make css for JSF tags? Or is there a way to reformat the style of JSF tags?


-->iMo<--
Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
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

Joined: Jan 22, 2007
Posts: 7
Yes, you're right.
Thank you very much
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: CSS for JSF tags
 
Similar Threads
CSS Style of jsf components
how use a <li>with <h:commandLink> ?
How to create ovalshaped Textfield
Highlight input fields
how to wrap a long text in jsf