Author: mmcallis
Date: 2008-03-31 01:53:27 -0400 (Mon, 31 Mar 2008)
New Revision: 10426
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
Log:
6.2.2. The portlet-instances.xml Descriptor
- minor revisions
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
05:07:09 UTC (rev 10425)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-03-31
05:53:27 UTC (rev 10426)
@@ -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 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:
+ 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>NewsPortlet</computeroutput>, both using different
parameters. One instance draws feeds from Red Hat announcements, and the other from
McDonalds announcements:
</para>
<para>
<screen><![CDATA[
@@ -1164,7 +1164,7 @@
<programlisting><![CDATA[<deployment><instance>...</instance></deployment>]]></programlisting>
</para>
<para>
- 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.
+ 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> element 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>
Show replies by date