-
1. Re: Problem with <h:graphicImage /> tag
jhuska Jun 12, 2013 3:23 AM (in response to pvic)Hello Paulo,
are you sure that the value attribute points to the resource ? Is your rf.png in the root of the deployed .war ? Are you not getting 404 error on Chrome console ? Otherwise it has to work.
Doc for h:graphicImage
http://www.jsftoolbox.com/documentation/help/12-TagReference/html/h_graphicImage.html
Docs for <rich:panel>
-
2. Re: Problem with <h:graphicImage /> tag
pvic Jun 12, 2013 9:30 AM (in response to jhuska)Hi,
thanks for the links, i checked the docs on it, seems to be right.
the .png file is in the same folder my xhtml. that´s why there is no long path. Me and a friend here tried some things and seems like the graphic tag is not generating the proper img tag. The output i meant before is a <h:graphic tag. I ´ll look into that.
-
3. Re: Problem with <h:graphicImage /> tag
pvic Jun 12, 2013 10:33 AM (in response to pvic)It worked, finally.
The problem was with rich configuration itself, not just the tag. The tag panel also was not working.
I just put an index.html for initial page and linked an xhml and made the propper changes in the web.xml.
Now the right html output is generated.