[richfaces-issues] [JBoss JIRA] Created: (RF-3925) graphValidator: when all ajaxValidators passed successfully, after submit h:message for all validated components says, that validation failed in case using graphValidator.

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Wed Jul 16 09:29:29 EDT 2008


graphValidator: when all ajaxValidators passed successfully, after submit h:message for all validated components says, that validation failed in case using graphValidator.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: RF-3925
                 URL: https://jira.jboss.org/jira/browse/RF-3925
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: IE6, IE7, FF 3.0, Safari 3.1, Opera 9.5(3.2.2.BETA1)
            Reporter: Mikhail Vitenkov
            Assignee: Nick Belaevski


Step 1. Create panelGrid with h elements, like inputText, selectOneMenu, selectBooleanCheckBox... which are validated by ajaxValidator following way:
<rich:graphValidator value="#{graphValidator}">
<h:panelGrid columns="2" border="2" id="panelGridID">
...
		<h:outputLabel for="mailValue" value="Mail validation:" />
		<h:panelGroup>
			<h:inputText value="#{validator.text}" id="mailValue">
				<rich:ajaxValidator event="onchange" a></rich:ajaxValidator>
			</h:inputText>
			<rich:message for="mailValue" showDetail="true" showSummary="true" />
		</h:panelGroup>
...
	</h:panelGrid>
</rich:graphValidator>

Step 2. Input valid values in all fields.
Step 3. Submit form, contained tested panelGrid.

Actual behavior:
h:messages for appropriate fields appears. For more info see attached ValidatorBean.java & GraphValidatorBean.java.

-- 
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 richfaces-issues mailing list