Author: mmcallis
Date: 2008-07-13 22:07:23 -0400 (Sun, 13 Jul 2008)
New Revision: 11432
Modified:
docs/branches/JBoss_Portal_Branch_2_7/referenceGuide/en/modules/xmldescriptors.xml
Log:
minor fixes to XML Descriptors sections
Modified:
docs/branches/JBoss_Portal_Branch_2_7/referenceGuide/en/modules/xmldescriptors.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_7/referenceGuide/en/modules/xmldescriptors.xml 2008-07-14
01:58:29 UTC (rev 11431)
+++
docs/branches/JBoss_Portal_Branch_2_7/referenceGuide/en/modules/xmldescriptors.xml 2008-07-14
02:07:23 UTC (rev 11432)
@@ -729,32 +729,21 @@
<para>
The following items refer to elements found in the JBoss Portal App DTD,
<filename>$JBOSS_HOME/server/<replaceable>configuration</replaceable>/jboss-portal.sar/dtd/jboss-app_<replaceable>version_number</replaceable>.dtd</filename>:
</para>
- <para>
- <variablelist>
- <varlistentry><term><programlisting><![CDATA[
+<programlisting><![CDATA[
<Element <![CDATA[<!ELEMENT jboss-app (app-name?)>]]>
-</programlisting></term>
-<listitem>
- <para>
+</programlisting>
<programlisting><![CDATA[
<!DOCTYPE jboss-app PUBLIC
"-//JBoss Portal//DTD JBoss Web Application 2.6//EN"
"http://www.jboss.org/portal/dtd/jboss-app_2_6.dtd">]]>
</programlisting>
- </para>
- <para>
<programlisting><![CDATA[
<!ELEMENT app-name (#PCDATA)>]]>
</programlisting>
- </para>
<para>
When a web application is deployed, the context path under which it is deployed
is taken as the application name. The application name value in the
<computeroutput><app-name></computeroutput> element overrides
it. When a component references a portlet, it needs to reference the application too, and
if the portlet application WAR file is renamed,
the reference is no longer valid; therefore, the
<computeroutput><app-name></computeroutput> element is used to
have an application name that does not depend upon the context path, under which the
application is deployed.
-</para>
-</listitem>
-</varlistentry>
-</variablelist>
</para>
</sect2>
</sect1>
@@ -768,8 +757,7 @@
<para>
The <filename>*-object.xml</filename> descriptors define portal
instances, pages, windows, and the window layout. As well, themes and layouts for specific
portal instances, pages, and windows, can be defined. The following example defines a
portlet window being added to the <computeroutput>default</computeroutput>
page, in the <computeroutput>default</computeroutput> portal. For advanced
functionality using these descriptors, refer to <xref
linkend="desc_examples"/>:
</para>
- <para>
- <programlisting><![CDATA[
+ <programlisting role="XML"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE deployments PUBLIC
"-//JBoss Portal//DTD Portal Object 2.6//EN"
@@ -857,7 +845,6 @@
</para>
</listitem>
</itemizedlist>
- </para>
<para>The previous <filename>*-object.xml</filename> example makes
reference to items found in other descriptor files. The following diagram illustrates the
relationship between the <filename>portlet.xml</filename>,
<filename>portlet-instances.xml</filename>, and
<filename>*-object.xml</filename> descriptors:
</para>
<para>