Board index JavaServer Faces General Formatting growl component

Formatting growl component

Components, Ajax Framework, Utilities and More.

Post 14 Jul 2011, 10:19

Posts: 26
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

Post 14 Jul 2011, 10:21

Posts: 15070
Location: Cybertron

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.
PrimeFaces Lead

Post 14 Jul 2011, 10:41

Posts: 26
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

Post 14 Jul 2011, 10:47

Posts: 15070
Location: Cybertron

User's Guide is best there is.
PrimeFaces Lead

Post 14 Jul 2011, 11:58

Posts: 26
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

Post 14 Jul 2011, 13:16

Posts: 15070
Location: Cybertron

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

Post 14 Jul 2011, 15:51

Posts: 26
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


Return to General