Author: mmcallis
Date: 2008-02-15 03:15:41 -0500 (Fri, 15 Feb 2008)
New Revision: 9989
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
Log:
revising 5.2.2. An example JSP Portlet
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-15
06:32:34 UTC (rev 9988)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-02-15
08:15:41 UTC (rev 9989)
@@ -534,7 +534,7 @@
</listitem>
<listitem>
<para>
- Run the <command>ant deploy</command> command. On Microsoft Windows,
the output will be similar to the following:
+ Change into <filename>HelloWorldPortlet/</filename> directory, and
run the <command>ant deploy</command> command. On Microsoft Windows, the
output will be similar to the following:
</para>
<para>
<mediaobject>
@@ -543,12 +543,12 @@
</imageobject>
</mediaobject>
</para>
- <para>
- Note: the directory names will be different for your system.
- </para>
</listitem>
</orderedlist>
</para>
+ <para>
+ Note: the directory names will be different for your system.
+ </para>
<para>
Expanding the <filename>helloworldportlet.war</filename> file allows
you to deploy the portlet as an expanded directory, which makes development easier. As
well, it gives you access to the XML descriptors, resource files, JSF, and JSP pages. To
expand the <filename>helloworldportlet.war</filename> file:
</para>
@@ -570,13 +570,13 @@
</imageobject>
</mediaobject>
</para>
- <para>
- Note: the directory names will be different for your system.
- </para>
</listitem>
</orderedlist>
</para>
<para>
+ Note: the directory names will be different for your system.
+ </para>
+ <para>
The <command>ant explode</command> command creates a directory
structure such as the following:
</para>
<para>
@@ -587,7 +587,7 @@
</mediaobject>
</para>
<para>
- The expanded war file and the XML descriptors are located in the
<filename>HelloWorldPortlet/output/lib/exploded/helloworldportlet.war/</filename>
directory.
+ The expanded war file and the XML descriptors are located in the
<filename>HelloWorldPortlet/output/lib/exploded/helloworldportlet.war/WEB-INF/</filename>
directory.
</para>
</sect3>
<sect3>
@@ -882,12 +882,12 @@
</listitem>
<listitem>
<para>
- If required, edit the
<filename>HelloWorldJSPPortlet/src/main/org/jboss/portlet/hello/HelloWorldJSPPortlet.java</filename>
file, and the XML descriptors in the
<filename>HelloWorldJSPPortlet/src/resources/helloworldjspportlet-war/WEB-INF</filename>
directory.
+ If required, edit the
<filename>HelloWorldJSPPortlet/src/main/org/jboss/portlet/hello/HelloWorldJSPPortlet.java</filename>
file, and the XML descriptors in the
<filename>HelloWorldJSPPortlet/src/resources/helloworldjspportlet-war/WEB-INF/</filename>
directory.
</para>
</listitem>
<listitem>
<para>
- Run the <command>ant deploy</command> command. On Linux, the output
will be similar to the following:
+ Change into <filename>HelloWorldJSPPortlet/</filename> directory,
and run the <command>ant deploy</command> command. On Linux, the output will
be similar to the following:
</para>
<para>
<mediaobject>
@@ -940,7 +940,7 @@
</mediaobject>
</para>
<para>
- The expanded war file and the XML descriptors are located in the
<filename>HelloWorldJSPPortlet/output/lib/exploded/helloworldjspportlet.war/</filename>
directory.
+ The expanded war file and the XML descriptors are located in the
<filename>HelloWorldJSPPortlet/output/lib/exploded/helloworldjspportlet.war/WEB-INF/</filename>
directory.
</para>
</sect3>
<sect3>
@@ -958,7 +958,7 @@
</screen>
</para>
<para>
- To see the HelloWorldJSPPortlet, navigate to
http://localhost:8080/portal/, or, if the
default JBoss Portal page is already open, refresh the page. The HelloWorldJSPPortlett is
added to the bottom of the default JBoss Portal page:
+ To see the HelloWorldJSPPortlet, navigate to <ulink
url="http://localhost:8080/portal/"></ulink>, or, if the default JBoss
Portal page is already open, refresh the page. The HelloWorldJSPPortlet is added to the
bottom of the default JBoss Portal page:
</para>
<para>
<mediaobject>
@@ -989,7 +989,7 @@
</sect3>
</sect2>
<sect2 id="sunri_42x">
- <title>A simple Sun's JSF Reference Implementation (RI) portlet on
JBoss AS 4.2</title>
+ <title>A Sun JSF Reference Implementation (RI) portlet</title>
<sect3>
<title>Introduction</title>
<para>This section will introduce the reader to deploying a simple JSF
portlet in JBoss Portal, using