Author: mmcallis
Date: 2008-03-26 02:32:02 -0400 (Wed, 26 Mar 2008)
New Revision: 10376
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
Log:
6.1.4. The JBoss Portal App DTD
revising (small) section
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-26
05:36:40 UTC (rev 10375)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-03-26
06:32:02 UTC (rev 10376)
@@ -936,26 +936,38 @@
</para>
</sect2>
<sect2>
- <title>JBoss App DTD</title>
+ <title>The JBoss Portal App DTD</title>
<para>
-<itemizedlist>
+ 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><screen><![CDATA[
+<Element <![CDATA[<!ELEMENT jboss-app (app-name?)>]]>
+</screen></term>
<listitem>
-<para>
-Element <![CDATA[<!ELEMENT jboss-app (app-name?)>]]>
-</para><para><programlisting><![CDATA[<!DOCTYPE jboss-app PUBLIC
+ <para>
+<screen><![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>
-</listitem><listitem>
-<para>
-Element <![CDATA[<!ELEMENT app-name (#PCDATA)>]]>
-</para><para><programlisting><![CDATA[When a web application is
deployed, the context path under wich it is deployed
-is taken as application name. The application name value in this descriptor is
-used to override it. When a component references a references a portlet, it needs to
-reference the application too and if the portlet application war file is renammed
-the reference is not valid anymore. Therefore this tag is used to have an application
-name that does not depend upon the context path under which the application is
deployed.]]></programlisting></para>
-</listitem></itemizedlist>
-
+ "http://www.jboss.org/portal/dtd/jboss-app_2_6.dtd">]]>
+</screen>
+ </para>
+ <para>
+<screen><![CDATA[
+<!ELEMENT app-name (#PCDATA)>]]>
+</screen>
+ </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 is
+ used to override 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>
Show replies by date