Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.0.7 beta
-
None
-
None
-
None
-
JBoss 4, Tomcat 5, JDK 1.5, Win XP
Description
I set the value of url (graphicImage) and image (commandButton) to images/minus.gif and the HTML source page has generated src attribute of img and input with the same value. But, when I set the value of url (graphicImage) and image (commandButton) to /images/minus.gif the HTML source page has generated different: src attribute of input TAG is the same value; src attribute of img TAG has added with web context (/solution.web).
Pratical result: the image of commandButton don´t show because /image/minus.gif don´t exists.
Attribute value
---------------
JSF : image == url == images/minus.gif
HTML: src of input == src of img == images/minus.gif
HTML source page (ok)
----------------
<img id="_id0:graphicImage1" src="images/minus.gif"/>
<input id="_id0:commandButton1" name="_id0:commandButton1" type="image" src="images/plus.gif"
onclick="clear__5Fid0();document.forms['_id0'].elements['autoScroll'].value=getScrolling();"/>
Attribute value
---------------
JSF : image == url == /images/minus.gif
HTML: src of input == /images/minus.gif
src of img == /solution.web/images/minus.gif
HTML source page (problem)
----------------
<img id="_id0:graphicImage1" src="/solution.web/images/minus.gif"/>
<input id="id0:commandButton1" name="_id0:commandButton1" type="image" src="/images/plus.gif" onclick="clear_5Fid0();document.forms['_id0'].elements['autoScroll'].value=getScrolling();"/>
Attachments
Attachments
Issue Links
- relates to
-
MYFACES-476 commandButton doesn't renders well the application-dependent image urls
- Closed