[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1912) Incorrect graphicImage attribute in validation.xml
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Nov 23 04:08:18 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1912?page=all ]
Pete Muir closed JBSEAM-1912.
-----------------------------
Fix Version/s: 2.0.1.GA
Resolution: Done
Fixed, thanks.
You should place the img directory in the root of your war.
> 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
> Assigned To: Pete Muir
> Priority: Trivial
> Fix For: 2.0.1.GA
>
> Attachments: validation.xml.patch
>
>
> 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
More information about the seam-issues
mailing list