incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Jacobi <>
Subject Re: Images in custom style classes in Skin file
Date Wed, 29 Mar 2006 18:37:55 GMT
Hi Arti,

Do you have a class for the center area?
Something like this:



arti wrote:
> Hi 
> I want to understand how can we use images defined in custom style
> classes in Skin file?
> For example I have created a custom component "MyPanelBorder" which
> renders a table of differnet regions - Left, Right, Center etc. I am
> trying to add background-image to the Center region, by adding following
> class in the Skin file. But the image does not get displayed in the
> browser. Neither can I see any <img> tag when I say "view source". (Same
> image is displayed correctly in the MenuBar background on same page, it
> works).
> af|MyPanelBorder::center {
> background-image:url(/skins/myskins/skin_images/menuBarBackground.png);
> }
> Does my renderer have to explicitly write out a <img> tag for this? If
> so, how does my renderer read the Skin file and get the source URL of
> the image above?
> Thanks
> Arti

*Author*: Pro JSF and Ajax: Building Rich Internet Components 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message