Page 1 of 1
Formatting growl component
Posted: 14 Jul 2011, 10:19
by orkan
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
Re: Formatting growl component
Posted: 14 Jul 2011, 10:21
by cagatay.civici
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.
Re: Formatting growl component
Posted: 14 Jul 2011, 10:41
by orkan
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
Re: Formatting growl component
Posted: 14 Jul 2011, 10:47
by cagatay.civici
User's Guide is best there is.
Re: Formatting growl component
Posted: 14 Jul 2011, 11:58
by orkan
OK
I've found this svn page, it gave me starting point.
http://code.google.com/p/primefaces/sou ... css?r=2992
Re: Formatting growl component
Posted: 14 Jul 2011, 13:16
by cagatay.civici
I also suggest using firebug so you do quick testing by playing with styles on the fly.
Re: Formatting growl component
Posted: 14 Jul 2011, 15:51
by orkan
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