Incorrect graphicImage attribute in validation.xml
--------------------------------------------------
Key: JBSEAM-1912
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1912
Project: JBoss Seam
Issue Type: Patch
Components: Documentation
Affects Versions: 2.0.0.BETA1
Environment: Does not matter
Reporter: Ali Sadik Kumlali
Priority: Trivial
Hi,
<h:graphicImage/> does not have "src" attribute as shown in
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/validation.html and it must be
replaced by "value".
Incorrect:
<h:graphicImage src="img/error.gif" rendered="#{invalid}"/>
Correct:
<h:graphicImage value="/img/error.gif"
rendered="#{invalid}"/>
Please also note that "/" character preceding "img". An extra
information that explains where to put "img" folder would be useful, as well.
Regards,
Ali Sadik Kumlali
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira