Author: vkorluzhenko
Date: 2007-12-13 09:56:43 -0500 (Thu, 13 Dec 2007)
New Revision: 4819
Modified:
branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml
Log:
http://jira.jboss.com/jira/browse/RF-396 - added links.
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml 2007-12-13
14:50:51 UTC (rev 4818)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml 2007-12-13
14:56:43 UTC (rev 4819)
@@ -1,32 +1,32 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
-
- <table>
- <title>Component identification parameters </title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Name</entry>
- <entry>Value</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>component-type</entry>
- <entry>org.ajax4jsf.Portlet</entry>
- </row>
- <row>
- <entry>component-family</entry>
- <entry>org.ajax4jsf.component.Portlet</entry>
- </row>
- <row>
- <entry>component-class</entry>
- <entry>org.ajax4jsf.component.html.HtmlPortlet</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
-
+
+ <table>
+ <title>Component identification parameters </title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Value</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>component-type</entry>
+ <entry>org.ajax4jsf.Portlet</entry>
+ </row>
+ <row>
+ <entry>component-family</entry>
+ <entry>org.ajax4jsf.component.Portlet</entry>
+ </row>
+ <row>
+ <entry>component-class</entry>
+ <entry>org.ajax4jsf.component.html.HtmlPortlet</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
<section>
<title>Creating on a page</title>
<programlisting role="XML"><![CDATA[
@@ -37,8 +37,8 @@
</f:view>
]]></programlisting>
</section>
-
- <section>
+
+ <section>
<title>Dynamical creation of a component from Java code</title>
<programlisting role="JAVA"><![CDATA[
import org.ajax4jsf.component.html.HtmlPortlet;
@@ -46,27 +46,35 @@
HtmlPortlet myPortlet = new HtmlPortlet();
...]]></programlisting>
</section>
-
+
<section>
<title>Key attributes and ways of usage</title>
- <para>
- Portal page can include some instances of the same portlet but clientId of elements
should be different for each window.
- In that case 'namespace' is used for each portlet. The <emphasis
role="bold"><property><a4j:portlet></property></emphasis>
- implemets NaimingContainer interface and adds namespace to all componets on a page.
- All portlet content should be wrapped by <emphasis
role="bold"><property><a4j:portlet></property></emphasis>
for resolving problems mentioned
- before.
- </para>
+ <para> Portal page can include some instances of the same portlet but clientId
of elements
+ should be different for each window. In that case 'namespace' is
used for
+ each portlet. The <emphasis role="bold">
+ <property><a4j:portlet></property>
+ </emphasis> implemets NaimingContainer interface and adds namespace to all
componets on a
+ page. All portlet content should be wrapped by <emphasis
role="bold">
+ <property><a4j:portlet></property>
+ </emphasis> for resolving problems mentioned before. </para>
</section>
<section>
<title>Relevant resources links</title>
<para><ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/portlet.jsf...
- >Here</ulink> you can see the example of <emphasis
role="bold"
- ><property><a4j:portlet></property></emphasis>
usage and sources for the given example. </para>
- <para>
- The aditional information about component usage you can find here:
- <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&...
Users Forum.
- </ulink>
- </para>
- </section>
-</chapter>
\ No newline at end of file
+ >Here</ulink> you can see the example of <emphasis
role="bold">
+ <property><a4j:portlet></property>
+ </emphasis> usage and sources for the given example. </para>
+ <para> The aditional information about component usage you can find here:
<ulink
+
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&...
+ >Ajax4Jsf Users Forum. </ulink>
+ </para>
+ <para>Portlet Sample could be checked out from JBoss SVN: <ulink
+
url="http://anonsvn.jboss.org/repos/ajax4jsf/trunk/samples/portal-ec...
+ application. </ulink>
+ </para>
+ <para>Usage instructions for this demo could be found at the corresponding:
<ulink
+
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&...
+ application. </ulink></para>
+ </section>
+</chapter>