[ https://issues.apache.org/jira/browse/MYFACES-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Korherr resolved MYFACES-2410. ------------------------------------ Resolution: Fixed Fix Version/s: 2.0.0-alpha-2 Fixed this issue. However, there are some other issues with bean validation. > f:validateBean does not work as container for EditableValueHolders > ------------------------------------------------------------------ > > Key: MYFACES-2410 > URL: https://issues.apache.org/jira/browse/MYFACES-2410 > Project: MyFaces Core > Issue Type: Bug > Components: JSR-314 > Affects Versions: 2.0.0-alpha > Environment: Glassfish v3 prelude and JBoss 6.0.0.M1 > Reporter: Jakob Korherr > Fix For: 2.0.0-alpha-2 > > > Testing the mojarra bean-validation sample on Glassfish v3 prelude and JBoss > 6.0.0.M1, I ran into the following exception: > javax.servlet.ServletException: /placeOrder.xhtmlat line 49 and column 109 > <f:validateBean> Parent not composite component or an instance of > EditableValueHolder: javax.faces.component.html.htmlf...@494c491b > f:validateBean is used as a container of EditableValueHolders in the sample, > the following code shoes where the error occurs: > <h:form> > <f:validateBean validationGroups="beanvalidation.groups.Personal , > beanvalidation.groups.Order"> > <ui:include src="/WEB-INF/fragments/form.xhtml"/> > </f:validateBean> > </h:form> > where <ui:include src="/WEB-INF/fragments/form.xhtml"/> includes a form of > some <h:inputText> (--> EditableValueHolder) components. > However, f:validateBean is also used inside of some of the <h:inputText> > components and works well at this point. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.