Author: mmcallis
Date: 2008-03-31 01:07:09 -0400 (Mon, 31 Mar 2008)
New Revision: 10425
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
Log:
6.2.2. The portlet-instances.xml Descriptor
spelling corrections, minor content addition
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-03-31
04:59:59 UTC (rev 10424)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-03-31
05:07:09 UTC (rev 10425)
@@ -1093,7 +1093,7 @@
<sect2 id="desc_instancesxml">
<title>The <filename>portlet-instances.xml</filename>
Descriptor</title>
<para>
- The <filename>portlet-instances.xml</filename> Descriptor is JBoss Portal
specific, and allows developers to instantiate one-or-many instances of one-or-many
portlets. The benifit of this allows one portlet to be instantiated several times, with
different prefence parameters. The following example instiantiates two separate instances
of the <computeroutput>NewsPorlet</computeroutput>, both using different
parameters. One instance draws feeds for Red Hat annoucnments, and the other draws
McDonalds announcements:
+ The <filename>portlet-instances.xml</filename> descriptor is JBoss Portal
specific, and allows developers to instantiate one-or-many instances of one-or-many
portlets. The benefit of this allows one portlet to be instantiated several times, with
different preference parameters. The following example instantiates two separate instances
of the <computeroutput>NewsPorlet</computeroutput>, both using different
parameters. One instance draws feeds for Red Hat announcements, and the other draws
McDonalds announcements:
</para>
<para>
<screen><![CDATA[
@@ -1164,7 +1164,7 @@
<programlisting><![CDATA[<deployment><instance>...</instance></deployment>]]></programlisting>
</para>
<para>
- The <computeroutput><deployment></computeroutput>, and
the embedded <computeroutput><instance></computeroutput>
elements, specify a portlet instance. The
<computeroutput><deployment></computeroutput> element specifies
object deployments, such as portals, pages, windows, and so on.
+ The <computeroutput><deployment></computeroutput> element,
and the embedded <computeroutput><instance></computeroutput>
element, specify a portlet instance. The
<computeroutput><deployment></computeroutput> element specifies
object deployments, such as portals, pages, windows, and so on. The
<computeroutput><instance></computeroutput> is used to create
instances of portlets. The portlet will only be created and configured if the portlet is
present, and an instance with the same name does not already exist.
</para>
</listitem>
<listitem>
@@ -1188,7 +1188,7 @@
<programlisting><![CDATA[<preferences><preference>...</preference></preferences>]]></programlisting>
</para>
<para>
- The <computeroutput><preferences></computeroutput> element
configures an instance with a set of preferences, and is a container for the
<computeroutput><preference></computeroutput> element. The
<computeroutput><preference></computeroutput> element configures
an instance with a set of preferences. Prefences can be described as a
<emphasis>String</emphasis> type, or a key-value pair. The following specifies
preferences as a <emphasis>String[]</emphasis> type:
+ The <computeroutput><preferences></computeroutput> element
configures an instance with a set of preferences, and is a container for the
<computeroutput><preference></computeroutput> element. The
<computeroutput><preference></computeroutput> element configures
an instance with a set of preferences. Preferences can be described as a
<emphasis>String</emphasis> type, or a key-value pair. The following specifies
preferences as a <emphasis>String[]</emphasis> type:
</para>
<para>
<screen><![CDATA[
Show replies by date