From richfaces-svn-commits at lists.jboss.org Wed Feb 23 20:13:58 2011 Content-Type: multipart/mixed; boundary="===============0552714622294992593==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r21903 - modules/docs/trunk/Component_Reference/src/main/docbook/en-US. Date: Wed, 23 Feb 2011 20:13:58 -0500 Message-ID: <201102240113.p1O1DwpN005940@svn01.web.mwc.hst.phx2.redhat.com> --===============0552714622294992593== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: SeanRogers Date: 2011-02-23 20:13:55 -0500 (Wed, 23 Feb 2011) New Revision: 21903 Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Compo= nent_Reference-Validation.xml Log: Completed review of validation RFPL-990 Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/cha= p-Component_Reference-Validation.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Comp= onent_Reference-Validation.xml 2011-02-23 23:17:15 UTC (rev 21902) +++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Comp= onent_Reference-Validation.xml 2011-02-24 01:13:55 UTC (rev 21903) @@ -112,16 +112,6 @@ component-family: org.richfaces.va= lidator - - - - - - - Failed validation checks are reported using <rich:messa= ge> components. - - - renderer-type: org.richfaces.valid= atorRenderer @@ -139,7 +129,7 @@
<sgmltag><rich:graphValidator></sgmltag> object validation<= /title> <para> - The <sgmltag><rich:graphValidator></sgmltag> component is used to= wrap a set of input components related to one object. The input values can= then be completely validated, including any properties which are not bound= to the individual components. This object validation allows for cross-fiel= d validation in complex forms. + The <sgmltag><rich:graphValidator></sgmltag> component is used to= wrap a set of input components related to one object. The object defined b= y the <sgmltag><rich:graphValidator></sgmltag> component can then be = completely validated. The validation includes all object properties, even t= hose which are not bound to the individual form components. Validation perf= ormed in this way allows for cross-field validation in complex forms. </para> <note> <title>Validation without model updates @@ -164,8 +154,11 @@ - If the entered passwords do not match, the error message is displayed: + When validation occurs, the whole object is validated against the ann= otation contstraints. The @AssertTrue annotation relies = on the isPasswordsEqual() function to check whethe= r the two entered passwords are equal. + + If the entered passwords do not match, an error message is displayed: + --===============0552714622294992593==--