From richfaces-svn-commits at lists.jboss.org Wed Aug 19 08:00:53 2009 Content-Type: multipart/mixed; boundary="===============4628804836956619052==" 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: r15215 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included. Date: Wed, 19 Aug 2009 08:00:53 -0400 Message-ID: <200908191200.n7JC0rm7026602@svn01.web.mwc.hst.phx2.redhat.com> --===============4628804836956619052== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2009-08-19 08:00:52 -0400 (Wed, 19 Aug 2009) New Revision: 15215 Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ric= h_dataDefinitionList.xml Log: https://jira.jboss.org/jira/browse/RF-7685 - updated the component 'Details= of usage' section; Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/inclu= ded/rich_dataDefinitionList.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 --- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ri= ch_dataDefinitionList.xml 2009-08-19 10:56:14 UTC (rev 15214) +++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ri= ch_dataDefinitionList.xml 2009-08-19 12:00:52 UTC (rev 15215) @@ -93,34 +93,17 @@ "title" is used for a popup title. = - The - <rich:dataDefinitionList> - component could be partially updated with Ajax. The <= emphasis> - "ajaxKeys" - attribute allows to define row keys that are updated = after an Ajax request, you need to pass an array with key (lines) of the li= st that you want to be updated after the Ajax request is executed. - Here is an example: - = - - Example: - - ... -<rich:dataDefinitionList value=3D"#{dataTableScrollerBean.allCars}" var= =3D"car" ajaxKeys=3D"#{listBean.list}" = - binding=3D"#{listBean.dataList}" id=3D"list"> - ... -</rich:dataDefinitionList> -... -<a4j:commandButton action=3D"#{listBean.action}" reRender=3D"list" valu= e=3D"Submit"/> -... - - = - In the example the - "reRender" - attribute contains value of - "id" - attribute for - <rich:dataDefinitionList> - component. As a result the component is updated after= an Ajax request. - = + The + <rich:dataDefinitionList> + component could be partially updated with Ajax. The + "ajaxKeys" + attribute points to an Object (java.util.Set) that should = contain row keys to be updated after an Ajax request. See an example of usa= ge the = + + "ajaxKeys" + attribute for the + <rich:dataList> + component in the RichFacs Cookbook artic= le. + =
Reference Data --===============4628804836956619052==--