Author: mmcallis
Date: 2008-02-10 17:38:01 -0500 (Sun, 10 Feb 2008)
New Revision: 9925
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
Log:
5.2.1.4. Application Descriptors
changing itemizedlist to variabelist
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
22:20:27 UTC (rev 9924)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-02-10
22:38:01 UTC (rev 9925)
@@ -393,49 +393,57 @@
<literal>default.default</literal> page, and specify where it should appear
on that page.
</para>
<para>
-
- <itemizedlist>
- <listitem>
- <para>
-
<programlisting><![CDATA[<parent-ref>default.default</parent-ref>]]></programlisting>
- Tells the portal where this portlet should appear. In
this case,
- <literal>default.default</literal> specifies
that this portlet should appear in the
- portal instance named
<literal>default</literal> and the page named
- <literal>default</literal>.
- </para>
- </listitem>
- <listitem>
- <para>
-
<programlisting><![CDATA[<if-exists>overwrite</if-exists>]]></programlisting>
- Instructs the portal to overwrite or keep this object if
it already exists.
- Possible values are
<literal>overwrite</literal> or <literal>keep</literal>.
- <literal>overwrite</literal> will destroy
the existing object and create a new one
- based on the content of the deployment.
<literal>keep</literal> will maintain the
- existing object deployment or create a new one if it
does not yet exist.
- </para>
- </listitem>
- <listitem>
- <para>
-
<programlisting><![CDATA[<window-name>HelloWorldPortletWindow</window-name>]]></programlisting>
- Can be named anything.
- </para>
- </listitem>
- <listitem>
- <para>
-
<programlisting><![CDATA[<instance-ref>HelloWorldPortletInstance</instance-ref>]]></programlisting>
- The value of <literal>instance-ref</literal>
must match the value of one of the
+ <variablelist>
+ <varlistentry><term><screen><![CDATA[
+<parent-ref>default.default</parent-ref>]]>
+</screen></term>
+<listitem>
+ <para>
+ Tells the portal where this portlet should appear. In this case,
<computeroutput>default.default</computeroutput> specifies that this portlet
should appear in the portal instance named <literal>default</literal> and the
page named
+ <literal>default</literal>.
+ </para>
+</listitem>
+</varlistentry>
+<varlistentry><term><screen><![CDATA[
+<if-exists>overwrite</if-exists>]]>
+</screen></term>
+<listitem>
+ <para>
+ Instructs the portal to overwrite or keep this object if it already exists. Possible
values are <literal>overwrite</literal> or
<literal>keep</literal>. <literal>overwrite</literal> will destroy
the existing object and create a new one based on the content of the deployment.
<literal>keep</literal> will maintain the existing object deployment or create
a new one if it does not yet exist.
+ </para>
+</listitem>
+</varlistentry>
+<varlistentry><term><screen><![CDATA[
+<window-name>HelloWorldPortletWindow</window-name>]]>
+</screen></term>
+<listitem>
+ <para>
+ Can be named anything.
+ </para>
+</listitem>
+</varlistentry>
+<varlistentry><term><screen><![CDATA[
+<instance-ref>HelloWorldPortletInstance</instance-ref>]]>
+</screen></term>
+<listitem>
+ <para>
+ The value of <literal>instance-ref</literal> must match the value of one of
the
<literal>instance-id</literal> found in
<literal>portlet-instances.xml</literal>.
- </para>
- </listitem>
- <listitem>
- <para>
-
<programlisting><![CDATA[<region>center</region>
-<height>1</height>]]></programlisting>
- Specify the layout region and order this window will be
found on the portal page.
- </para>
- </listitem>
- </itemizedlist>
- </para>
+ </para>
+</listitem>
+</varlistentry>
+<varlistentry><term><screen><![CDATA[
+<region>center</region>
+<height>1</height>]]>
+</screen></term>
+<listitem>
+ <para>
+ Specify the layout region and order this window will be found on the portal page.
+ </para>
+</listitem>
+</varlistentry>
+</variablelist>
+</para>
<para>
To illustrate the relationship between the descriptors, we have provided
this simple diagram
Show replies by date