[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4537) s:validateEquality tag doesn't work with JBossAS 6.0.0.M1
Marek Novotny (JIRA)
jira-events at lists.jboss.org
Tue Feb 16 18:37:10 EST 2010
[ https://jira.jboss.org/jira/browse/JBSEAM-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12514823#action_12514823 ]
Marek Novotny commented on JBSEAM-4537:
---------------------------------------
After debugging I found that seam-ui example requires JSF option com.sun.faces.allowTextChildren to be set to TRUE
So after adding it in web.xml:
<context-param>
<param-name>com.sun.faces.allowTextChildren</param-name>
<param-value>true</param-value>
</context-param>
It works in both JBoss AS 5 and 6 M2
> s:validateEquality tag doesn't work with JBossAS 6.0.0.M1
> ---------------------------------------------------------
>
> Key: JBSEAM-4537
> URL: https://jira.jboss.org/jira/browse/JBSEAM-4537
> Project: Seam
> Issue Type: Bug
> Affects Versions: 2.2.0.GA
> Environment: JBoss AS 6.0.0.M1
> Reporter: Martin Gencur
> Fix For: 2.2.1.CR1
>
>
> It seems that exception javax.faces.validator.ValidatorException thrown by org/jboss/seam/ui/validator/EqualityValidator.java (backend of s:validateEquality tag) during comparing values is not caught by JSF and the error message is not displayed.
> The same example works fine with JBossAS 5.1.0.GA.
> Steps to reproduce
> 1) deploy "ui" example from Seam distribution to JBossAS 6.0.0.M1
> 2) go to s:validateEquality or s:validateEquality(2) link on main page
> 3) enter different values
> 4) after submitting you can see that "OK" is displayed which is wrong
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list