Author: cluts
Date: 2008-11-28 06:25:08 -0500 (Fri, 28 Nov 2008)
New Revision: 11429
Added:
trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/queue.xml
Log:
RF-4664 - component description, the "Creating on a page" and "Creating the
Component Dynamically Using Java" sections with the necessary information have been
added.
Added: trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml
(rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml 2008-11-28 11:25:08
UTC (rev 11429)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter>
+ <section>
+ <sectioninfo>
+ <keywordset>
+ <keyword>a4j:queue</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Description</title>
+ <para>The <emphasis
role="bold"><property><a4j:queue></property></emphasis>
component creates queues that other components can reference and use.</para>
+ </section>
+</chapter>
\ No newline at end of file
Added: trunk/docs/userguide/en/src/main/docbook/included/queue.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/queue.xml
(rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/queue.xml 2008-11-28 11:25:08 UTC
(rev 11429)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter>
+ <chapterinfo>
+ <keywordset>
+ <keyword>a4j:queue</keyword>
+ </keywordset>
+ </chapterinfo>
+ <table>
+ <title>Component identification parameters </title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Value</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>component-family</entry>
+ <entry>org.ajax4jsf.Queue</entry>
+ </row>
+ <row>
+ <entry>component-class</entry>
+ <entry>org.ajax4jsf.component.html.HtmlQueue</entry>
+ </row>
+ <row>
+ <entry>renderer-type</entry>
+ <entry>org.ajax4jsf.QueueRenderer</entry>
+ </row>
+ <row>
+ <entry>tag-class</entry>
+ <entry>org.ajax4jsf.taglib.html.jsp.QueueTag</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <section>
+ <title>Creating on a page</title>
+ <para>Here is the simplest way for a component creation on a
page.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[<h:form>
+ <a4j:queue name="fooQueue" ... />
+</h:form>
+]]></programlisting>
+ </section>
+ <section>
+ <title>Creating the Component Dynamically Using Java</title>
+ <para>
+ <emphasis role="bold">
+ Example:
+ </emphasis>
+ </para>
+ <programlisting role="JAVA"><![CDATA[import
org.ajax4jsf.component.html.HtmlQueue;
+...
+HtmlQueue myQueue = new HtmlQueue();
+...]]></programlisting>
+ </section>
+
+ <section>
+ <title>Key attributes and ways of usage</title>
+
+ </section>
+
+ <section>
+ <title>Relevant resources links</title>
+ <para>
+ <ulink
+
url="http://livedemo.exadel.com/richfaces-demo/richfaces/queue.jsf?c...
+ >Here</ulink> you can see the example of <emphasis
+ role="bold">
+ <property><a4j:queue></property>
+ </emphasis> usage and sources for the given example. </para>
+ </section>
+</chapter>
\ No newline at end of file