Formatting growl component

UI Components for JSF
Post Reply
User avatar
orkan
Posts: 26
Joined: 30 Jun 2011, 07:46

14 Jul 2011, 10:19

Hi All;

I've used the growl component for displaying a custom message gathered from a database query. The resulting String -in some cases- turns out to be a long one.
I looked up the documents but could not find any trace of it but is it possible to have a growl component having a scroll bar, adjustable width etc..

Thanks..

Orkan
PF 3.0.3M SNAPSHOT, RAD 8.0, WebSphere 8.0

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

14 Jul 2011, 10:21

I think it can be done with css, see user's guide to find out the style classes, what applies where and tune it for your requirements.

User avatar
orkan
Posts: 26
Joined: 30 Jun 2011, 07:46

14 Jul 2011, 10:41

Cagatay, thanks for the swift reply, but can you be a little bit more specific? Are we talking about the skinning of the component? If so, can you point me to some documents so that I can learn how to manipulate skinning of components in PF?

Thanks again..
Orkan
PF 3.0.3M SNAPSHOT, RAD 8.0, WebSphere 8.0

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

14 Jul 2011, 10:47

User's Guide is best there is.

User avatar
orkan
Posts: 26
Joined: 30 Jun 2011, 07:46

14 Jul 2011, 11:58

OK

I've found this svn page, it gave me starting point.

http://code.google.com/p/primefaces/sou ... css?r=2992
PF 3.0.3M SNAPSHOT, RAD 8.0, WebSphere 8.0

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

14 Jul 2011, 13:16

I also suggest using firebug so you do quick testing by playing with styles on the fly.

User avatar
orkan
Posts: 26
Joined: 30 Jun 2011, 07:46

14 Jul 2011, 15:51

I have managed to do it with CSS, thanks.

Would firebug be consistent for all browsers?
Currently I have been testing pages with IE, FF, Chrome and all of them are generating different looks (of course slightly but annoying).

OG
PF 3.0.3M SNAPSHOT, RAD 8.0, WebSphere 8.0

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 30 guests