From richfaces-svn-commits at lists.jboss.org Thu Nov 29 12:40:03 2007 Content-Type: multipart/mixed; boundary="===============6519027282423678161==" 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: r4358 - trunk/docs/userguide/en/src/main/docbook/included. Date: Thu, 29 Nov 2007 12:40:01 -0500 Message-ID: --===============6519027282423678161== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vkorluzhenko Date: 2007-11-29 12:40:01 -0500 (Thu, 29 Nov 2007) New Revision: 4358 Modified: trunk/docs/userguide/en/src/main/docbook/included/poll.desc.xml trunk/docs/userguide/en/src/main/docbook/included/poll.xml trunk/docs/userguide/en/src/main/docbook/included/push.xml Log: http://jira.jboss.com/jira/browse/RF-657 - improved description Modified: trunk/docs/userguide/en/src/main/docbook/included/poll.desc.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/poll.desc.xml 2007-11= -29 17:39:25 UTC (rev 4357) +++ trunk/docs/userguide/en/src/main/docbook/included/poll.desc.xml 2007-11= -29 17:40:01 UTC (rev 4358) @@ -1,6 +1,6 @@ -
+
Description The <a4j:poll> Modified: trunk/docs/userguide/en/src/main/docbook/included/poll.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/poll.xml 2007-11-29 1= 7:39:25 UTC (rev 4357) +++ trunk/docs/userguide/en/src/main/docbook/included/poll.xml 2007-11-29 1= 7:40:01 UTC (rev 4358) @@ -63,18 +63,18 @@ Key attributes and ways of usage The <a4j:poll> - componet is used for periodical polling of a server. In = order to use the component + componet is used for periodical polling of server data. = In order to use the component it's necessary to set an update interval. The "interval" - attribute defines a polling interval in milliseconds bee= tween the previous + attribute defines an interval in milliseconds beetween t= he previous response and the next request. The total period beetween two request= s generated by the <a4j:poll> component is a sum of an "interval" - attribute value and a server response time. Default valu= e for + attribute value and server response time. Default value = for "interval" - attribute is set to 1000 milliseconds (1 second). See an= example of definition in + attribute is set to "1000" milliseconds (1 sec= ond). See an example of definition in the "Creating on a page" sectio= n. The "timeout" @@ -95,7 +95,7 @@ attribute. You can use an EL-expression for "enabled" attribute to point to a bean property. An example of usa= ge of all mentioned above attributes is pl= aced below: + linkend=3D"attributes">mentioned above attributes is placed= below: = Example: @@ -132,20 +132,16 @@ "reRender" attribute for <a4j:poll> - contains value of own Id. Hence, it renders itself for a= pplying the current value + contains value of its own Id. Hence, it renders itself f= or applying the current value of "enabled" attribute. + = + Note: The form around the + <a4j:poll> + component is required. = - +< If "0" a connection is permanent. Also you can set different value for p= arameter 'timeout'.> Code for registration of listener: @@ -83,14 +137,14 @@ Thus, component 'push' uses asynchronous model instead of polls. -
- = + +
Relevant resources links - - Here - you can see the example of <a4j:push> usage and sources f= or the given example. = - -
= - \ No newline at end of file + + Here + you can see the example of + <a4j:push> + usage and sources for the given example. +
+ --===============6519027282423678161==--