Author: mmcallis
Date: 2008-02-10 18:55:18 -0500 (Sun, 10 Feb 2008)
New Revision: 9929
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
Log:
5.2.1.4. Application Descriptors
move paragraph, minor spelling corrections
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-02-10
23:26:50 UTC (rev 9928)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-02-10
23:55:18 UTC (rev 9929)
@@ -338,7 +338,13 @@
</variablelist>
</para>
<para>
- The following is an example of the
<filename>HelloWorldPortlet/WEB-INF/portlet-instances.xml</filename> file:
+ <para>
+ The <filename>HelloWorldPortlet/WEB-INF/portlet-instances.xml</filename>
file is a JBoss Portal specific descriptor, that allows you to create instances of
portlets. The
+ <literal><portlet-ref></literal> value must match the
<literal><portlet-name></literal> value
+ given in the <filename>HelloWorldPortlet/WEB-INF/portlet.xml</filename>
file. The <literal><instance-id></literal>
+ value can be named anything, but it must match the
<literal><instance-ref></literal> values given
+ in the <literal>*-object.xml</literal> files, which in this example, would
be <filename>HelloWorldPortlet/WEB-INF/helloworld-object.xml</filename>.
+</para>The following is an example of the
<filename>HelloWorldPortlet/WEB-INF/portlet-instances.xml</filename> file:
</para>
<para>
<screen><![CDATA[
@@ -357,16 +363,9 @@
</screen>
</para>
<para>
- This is a JBoss Portal specific descriptor, that allows you to create instances of
portlets. The
- <literal><portlet-ref></literal> value must match the
<literal><portlet-name></literal> value
- given in the <filename>HelloWorldPortlet/WEB-INF/portlet.xml</filename>
file. The <literal><instance-id></literal>
- value can be named anything, but it must match the
<literal>instance-ref</literal> values given
- in the <literal>*-object.xml</literal> files, which in this example, would
be <filename>HelloWorldPortlet/WEB-INF/helloworld-object.xml</filename>, as
shown below.
-</para>
-<para>
The <literal>*-object.xml</literal> files are JBoss Portal specific
descriptors that allow users to
define the structure of their portal instances, as well as create and configure their
windows and
- pages. In this example:
+ pages. In the following example:
</para>
<para>
<itemizedlist>
@@ -377,23 +376,23 @@
</listitem>
<listitem>
<para>
- it is specified that it will display the markup generated by the
<literal>HelloWorldPortletInstance</literal> portlet instance.
+ specifies that it will display the markup generated by the
<literal>HelloWorldPortletInstance</literal> portlet instance.
</para>
</listitem>
<listitem>
<para>
- the window is assinged to the <literal>default.default</literal> page.
+ the window is assigned to the <literal>default.default</literal> page.
</para>
</listitem>
<listitem>
<para>
- specify where the window will appear on the page, by the
<computeroutput><region></computeroutput> element.
+ specifies where the window will appear on the page, by the
<computeroutput><region></computeroutput> element.
</para>
</listitem>
</itemizedlist>
</para>
<para>
- The following is an example <filename>HelloWorldPortlet/WEB-INF</filename>
file:
+ The following is an example
<filename>HelloWorldPortlet/WEB-INF/helloworld-object.xml</filename> file:
</para>
<para>
<screen><![CDATA[<?xml version="1.0"
encoding="UTF-8"?>