• Post Reply Bookmark Topic Watch Topic
  • New Topic

applying global styles to standard JSF components  RSS feed

 
Dushyant Agarwal
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have been able to develop an application using Trinidad's skinning property. But I want to find out a way to apply global style to standard
JSF components i.e. <h:*.*> components just as it is possible in html or
Trinidad.
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could do that with CSS and the basic attribute styleClass within the basic JSF-components for refering to a CSS-style.
 
Dushyant Agarwal
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for the reply.
But I wanted some arrangement so that the style gets applied automatically
on the JSF components without using styleClass attribute.....sort of what happens when we use selectors in CSS for HTML components.
 
Stefan Kohler
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know if I got you right, you want to define a css style for all <h: -tags?

I just know that for some tags in tomahawk, you can overwrite the css, we did so with the tabbedpane css. Just look for the default css that is used by the component and find the attributes to change there.

Maybe that helps!? If not, sorry bout that.

- stef
 
Dushyant Agarwal
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for the reply .

You got it right I want to apply the style on all <h; -tags.
This is possible using the apache trinidad framework's skinning property .
However it works only for trinidad components . I want this to work for
standard JSF components.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!