Using css with facelets and primefaces

UI Components for JSF
Post Reply
MegaManX
Posts: 6
Joined: 10 Feb 2011, 17:15

10 Feb 2011, 17:24

I have been using prime faces for several days now (with JSF2.0 and facelets), and i am very pleased with them, they are so easy to use, yet they provide so much.

I have been using custom themes, and they really look great. But next to them my regular facelets components look pretty ugly. How can I make them more in style with the theme? Do i look css of the custom theme and try to glean some context from it, and then try to mimic it on ordinary facelets components? Or maybe there is some more profound way?

Thanks for replays.
Primefaces 2.2.1
JSF 2.0
Mojarra 2.0.2

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

10 Feb 2011, 17:31

Hi,

What do you mean by regular facelets component? Which are they? Can you give an example, or even a simple code segment?

MegaManX
Posts: 6
Joined: 10 Feb 2011, 17:15

11 Feb 2011, 00:01

In h:form h:inputTextArea will be rendered as usual. But in second case, where it has a container(p:panel) it will have larger font. IS there any way to do this, without putting h: components into containers?

Ok somehow i cant post code, even if it on preview looks all right.
Primefaces 2.2.1
JSF 2.0
Mojarra 2.0.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 38 guests