[richfaces-svn-commits] JBoss Rich Faces SVN: r14667 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Sat Jun 20 09:14:39 EDT 2009
Author: atsebro
Date: 2009-06-20 09:14:39 -0400 (Sat, 20 Jun 2009)
New Revision: 14667
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/form.desc.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/form.xml
Log:
RF-7406: a4j:form component description review:
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/form.desc.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/form.desc.xml 2009-06-20 13:14:16 UTC (rev 14666)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/form.desc.xml 2009-06-20 13:14:39 UTC (rev 14667)
@@ -8,8 +8,8 @@
</keywordset>
</sectioninfo>
<title>Description</title>
- <para>The <emphasis role="bold">
- <property><a4j:form></property>
- </emphasis> component is very similar to the same component from the JSF HTML library, the only slight difference is in generation of links inside and possibility of Ajax by-default submission.</para>
+ <para>
+ The <emphasis role="bold"><property><a4j:form></property></emphasis> component is very similar to JSF <emphasis role="bold"><property><h:form></property></emphasis> the only difference is in generation of links inside and possibility of default Ajax submission.
+ </para>
</section>
</chapter>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/form.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/form.xml 2009-06-20 13:14:16 UTC (rev 14666)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/form.xml 2009-06-20 13:14:39 UTC (rev 14667)
@@ -36,7 +36,7 @@
</table>
<section>
- <title>Creating on a page</title>
+ <title>Creating the Component with a Page Tag</title>
<para>Component definition on a page is similar to definition of the original
component from JSF HTML library. </para>
<para>
@@ -61,8 +61,9 @@
...]]></programlisting>
</section>
<section>
- <title>Key attributes and ways of usage</title>
- <para>The difference with the original component is that all hidden fields
+ <title>Details of usahe</title>
+ <para>
+ The difference with the original component is that all hidden fields
required for command links are always rendered and it doesn't depend
on links rendering on the initial page. It solves the problem with
invalid links that weren't rendered on a page immediately, but after
@@ -97,44 +98,23 @@
...
</a4j:form>
]]></programlisting>
- <para>This example shows that in order to make <emphasis role="bold">
- <property><t:datascroller></property>
- </emphasis> submissions to be Ajax ones it's required only to
- place this <emphasis role="bold">
- <property><t:datascroller></property>
- </emphasis> into <emphasis role="bold">
- <property><a4j:form></property>
- </emphasis>. In the other case it is necessary to redefine renders for
- its child links elements that are defined as <emphasis role="bold">
- <property><h:commandLink></property>
- </emphasis> and can't be made Ajax ones with using e.g. <emphasis
- role="bold">
- <property><a4j:support></property>
- </emphasis>. </para>
- <para> With the help of <emphasis>
- <property>"limitToList"</property>
- </emphasis> attribute you can limit areas, which are updated after the
- responses. If <emphasis>
- <property>"limitToList"</property>
- </emphasis> is true, only the reRender attribute is taken in account.
- Therefore, if you use blocks of text wrapped with <emphasis
- role="bold">
- <property><a4j:outputPanel></property>
- </emphasis> and <code>ajaxRendered= "true"</code>,
- blocks of text are ignored. </para>
- <para> Information about the <emphasis>
- <property>"process"</property>
- </emphasis> attribute usage you can find in the
- <link linkend="process"> "Decide what to process" </link> guide section. </para>
+ <para>
+ This example shows that in order to make <emphasis role="bold"><property><t:datascroller></property></emphasis> submissions to be Ajax ones it's required only to place this <emphasis role="bold"><property><t:datascroller></property></emphasis> into <emphasis role="bold"><property><a4j:form></property></emphasis>.
+ In the other case it is necessary to redefine renders for its child links elements that are defined as <emphasis role="bold"><property><h:commandLink></property></emphasis> and can't be made Ajax ones with using e.g. <emphasis role="bold"><property><a4j:support></property></emphasis>.
+ </para>
+ <para>
+ With the help of <emphasis><property>"limitToList"</property></emphasis> attribute you can limit areas, which are updated after the responses.
+ If <emphasis><property>"limitToList"</property></emphasis> is true, only the reRender attribute is taken in account.
+ Therefore, if you use blocks of text wrapped with <emphasis role="bold"><property><a4j:outputPanel></property></emphasis> and <code>ajaxRendered= "true"</code>, blocks of text are ignored.
+ </para>
+ <para>
+ Information about the <emphasis><property>"process"</property></emphasis> attribute usage you can find in the "<link linkend="process">Decide what to process</link>" guide section.
+ </para>
</section>
<section>
<title>Relevant resources links</title>
<para>
- <ulink
- url="http://livedemo.exadel.com/richfaces-demo/richfaces/form.jsf?c=form"
- >On the component LiveDemo page</ulink> you can see the example of <emphasis
- role="bold">
- <property><a4j:form></property>
- </emphasis> usage and sources for the given example. </para>
+ Vizit <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/form.jsf?c=form">AjaxForm</ulink> at RichFaces Livedemo for examples of component usage and their sources.
+ a</para>
</section>
</chapter>
More information about the richfaces-svn-commits
mailing list