From richfaces-svn-commits at lists.jboss.org Fri Aug 15 07:38:02 2008 Content-Type: multipart/mixed; boundary="===============2922751431327975159==" 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: r10110 - trunk/docs/userguide/en/src/main/docbook/modules. Date: Fri, 15 Aug 2008 07:38:01 -0400 Message-ID: --===============2922751431327975159== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: artdaw Date: 2008-08-15 07:38:01 -0400 (Fri, 15 Aug 2008) New Revision: 10110 Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml Log: https://jira.jboss.org/jira/browse/RF-3594 - "process" attribute was edited= in the Guide Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover= .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 --- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2= 008-08-15 11:30:26 UTC (rev 10109) +++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2= 008-08-15 11:38:01 UTC (rev 10110) @@ -1291,27 +1291,37 @@
Decide what to process - In order to process defined components you could use the - - "process" - - attribute. + The "process" attr= ibute allows to = + define the ids of components to be processed together with the compone= nt which is marked as ajaxSingle or wrapped to region. = - The - - "process" - - attribute defines the ids of the components to be - processed together with the component which contains - this attribute. In order to define processed components - you could set theirs ids into the value of the - - "process" - - attribute. + You could make use of the "process" attribute when you need to process only two + components in the different parts of view. + Imagine you need to process only two input fields but not all the view. + If you wrap the first input to region or make = <a4j:support> component = + with ajaxSingle=3D"true" nested the second inpu= t will not be processed. + + + Here is a simple solution: + + + + + + + + +...]]> + + In the example above when the input field with the id=3D"na= me" looses focus, an AJAX request is sent. = + So only two input fields (with id=3D"name" and = additionally with id=3D"email") = + are processed: decoding, conversion/validation, value applying phases = are executed. = + The input field with the id=3D"email" is handle= d the same way on blur event. + +
= --===============2922751431327975159==--