Author: mmcallis
Date: 2008-05-09 20:34:51 -0400 (Fri, 09 May 2008)
New Revision: 10766
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
Log:
6.4.2. Defining a new Portal Instance
- minor revisions to my previous 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-05-10
00:06:15 UTC (rev 10765)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-05-10
00:34:51 UTC (rev 10766)
@@ -1703,7 +1703,7 @@
</listitem>
<listitem>
<para>
- To expand the WAR file, which will give you access to the XML descriptors, change
into the <filename>HelloWorldPortalPage/</filename> directory, and run the
<command>ant explode</command> command.
+ To expand the WAR file, which gives you access to the XML descriptors, change into
the <filename>HelloWorldPortalPage/</filename> directory, and run the
<command>ant explode</command> command.
</para>
</listitem>
<listitem>
@@ -1930,7 +1930,7 @@
<sect2 id="desc_example_portal">
<title>Defining a new Portal Instance</title>
<para>
- The sample application descriptor in this section creates a new portal instance,
<computeroutput>HelloPortal</computeroutput>, that contains two pages. To
illustrate this example, download the <ulink
url="http://anonsvn.jboss.org/repos/portletswap/portlets/2_4/bundles...
portlet. To use the HelloWorldPortal portlet:
+ The sample application descriptor in this section creates a new portal instance,
<computeroutput>HelloPortal</computeroutput>, that contains two pages. To
illustrate this example, download the <ulink
url="http://anonsvn.jboss.org/repos/portletswap/portlets/2_4/bundles...
portlet. To use the HelloWorldPortal portlet:
</para>
<para>
<orderedlist>
@@ -1946,12 +1946,12 @@
</listitem>
<listitem>
<para>
- To expand the WAR file, which will give you access to the XML descriptors, change
into the <filename>HelloWorldPortal/</filename> directory, and run the
<command>ant explode</command> command.
+ To expand the WAR file, which gives you access to the XML descriptors, change into
the <filename>HelloWorldPortal/</filename> directory, and run the
<command>ant explode</command> command.
</para>
</listitem>
<listitem>
<para>
- If you did not expand the <filename>helloworldportal.war</filename>
file, copy the <filename>helloworldportal.war</filename> file into the correct
JBoss AS or JBoss EAP <filename>deploy/</filename> directory. If you expanded
the <filename>helloworldportal.war</filename> file, copy the
<filename>HelloWorldPortal/output/lib/exploded/helloworldportal.war</filename>
directory into the correct JBoss AS or JBoss EAP <filename>deploy/</filename>
directory. For example, if you are using the
<computeroutput>default</computeroutput> JBoss AS profile, copy the WAR file
or the expanded directory into the
<filename>$JBOSS_HOME/server/default/deploy/</filename> directory.
+ If you did not expand the <filename>helloworldportal.war</filename>
file, copy the <filename>helloworldportal.war</filename> file into the correct
JBoss AS or JBoss EAP <filename>deploy/</filename> directory. If you expanded
the <filename>helloworldportal.war</filename> file, copy the
<filename>HelloWorldPortal/output/lib/exploded/helloworldportal.war/</filename>
directory into the correct JBoss AS or JBoss EAP <filename>deploy/</filename>
directory. For example, if you are using the
<computeroutput>default</computeroutput> JBoss AS profile, copy the WAR file
or the expanded directory into the
<filename>$JBOSS_HOME/server/default/deploy/</filename> directory.
</para>
</listitem>
</orderedlist>
@@ -2047,13 +2047,13 @@
</screen>
</para>
<para>
- When deployed, this example registers a new portal instance,
<computeroutput>HelloPortal</computeroutput>, that contains two pages. To view
the default page in the <computeroutput>HelloPortal</computeroutput> instance,
navigate to <ulink url="http://localhost:8080/portal/portal/HelloPortal"
/>, and to <ulink
url="http://localhost:8080/portal/portal/HelloPortal/foobar" /> for the
second page.
+ When deployed, this example registers a new portal instance,
<computeroutput>HelloPortal</computeroutput>, that contains two pages. To view
the default page in the <computeroutput>HelloPortal</computeroutput> instance,
navigate to <ulink url="http://localhost:8080/portal/portal/HelloPortal"
/>, and for the second page, <ulink
url="http://localhost:8080/portal/portal/HelloPortal/foobar" />.
</para>
<para>
<note>
<title>Portal Instance <computerouput>default</computerouput>
Page</title>
<para>
- To be accessible via a Web browser, you must define a page named
<computerouput>default</computerouput> for any portal instance.
+ To be accessible via a Web browser, you must define a page named
<computeroutput>default</computeroutput> for any portal instance.
</para>
</note>
</para>