From richfaces-svn-commits at lists.jboss.org Fri Jan 4 11:25:25 2008 Content-Type: multipart/mixed; boundary="===============4773266783910793150==" 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: r5144 - trunk/docs/userguide/en/src/main/docbook/included. Date: Fri, 04 Jan 2008 11:25:25 -0500 Message-ID: --===============4773266783910793150== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: artdaw Date: 2008-01-04 11:25:25 -0500 (Fri, 04 Jan 2008) New Revision: 5144 Modified: trunk/docs/userguide/en/src/main/docbook/included/form.xml Log: http://jira.jboss.com/jira/browse/RF-1813 - done Modified: trunk/docs/userguide/en/src/main/docbook/included/form.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/included/form.xml 2008-01-04 1= 6:23:33 UTC (rev 5143) +++ trunk/docs/userguide/en/src/main/docbook/included/form.xml 2008-01-04 1= 6:25:25 UTC (rev 5144) @@ -53,12 +53,17 @@
Key attributes and ways of usage The difference with the original component is that all hidden fi= elds required for command links are always rendered and it doesn't depend o= n links rendering on the initial page. It solves the problem with invalid l= inks that weren't rendered on a page immediately, but after some Ajax reque= st. - Beginning with release 1.0.5 additional attributes that make thi= s form variant universal have appeared. With a new attribute definition as = ajax=3D - "true" - , it becomes possible to set Ajax submission way for any = components inside, i.e. not a page URL is used as an - "action" - attribute, but the javascript:A4J.AJAX.Submit(...) call.= In this case, rendering is defined as "reRender"=3Dlist of Ids f= or the form element itself. - Example + Beginning with release 1.0.5 additional attributes that make thi= s form variant universal have appeared. = + + + If "ajaxSubmit" = attribute is true, = + it becomes possible to set Ajax submission way for any components in= side, = + i.e. not a page URL is used as an "action&q= uot; attribute, but the javascript:A4J.AJAX.Submit(..= .) call. = + In this case, the "reRender" attribute contains a list of Ids of components defined for re-= rendering. + If you have <h:commandButton>= ; or = + <h:commandLink> inside the form, they work as &= lt;a4j:commandButton>. = + + Example: ... @@ -81,7 +86,13 @@ <h:commandLink> and can't be made Ajax ones with using e.g. <a4j:support> - . + . + + + With the help of "limitToList" attribute you can limit areas, which are updated after the r= esponses. = + If "limitToList"= is true, only the reRender attribute is taken in account. = + Therefore, if you use blocks of text wrapped with <a4j:outputPanel> and "ajaxRendered"=3D true= , blocks of text are ignored. +
Relevant resources links --===============4773266783910793150==--