Author: mmcallis
Date: 2008-02-14 02:17:39 -0500 (Thu, 14 Feb 2008)
New Revision: 9966
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
Log:
minor revisions for:
5.2.2. An Example JSP Portlet
5.2.2.1. Introduction
5.2.2.2. Package Content
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-14
03:01:12 UTC (rev 9965)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-02-14
07:17:39 UTC (rev 9966)
@@ -141,7 +141,7 @@
<sect3>
<title>Introduction</title>
<para>
- This section details deploying your first portlet in JBoss Portal. Before
proceeding, download the <ulink
+ This section describes how to deploy a portlet in JBoss Portal. Before proceeding,
download the <ulink
url="http://anonsvn.jboss.org/repos/portletswap/portlets/2_6/bundles...
from <ulink
url="http://labs.jboss.com/portletswap/">JBoss
PortletSwap</ulink>.
</para>
</sect3>
@@ -264,7 +264,7 @@
</mediaobject>
</para>
<para>
- The following is an example of the
<filename>HelloWorldPortlet/WEB-INF/portlet.xml</filename> file. Note: in
order to create the <filename>WEB-INF</filename> and
<filename>META-INF</filename> directories, extract the
<filename>helloworldportlet.war</filename> file:
+ The following is an example of the
<filename>HelloWorldPortlet/WEB-INF/portlet.xml</filename> file:
</para>
<para>
<screen><![CDATA[
@@ -289,7 +289,7 @@
</screen>
</para>
<para>
- This file must adhere to its definition in the JSR-168 Portlet Specification. You may
define more than one portlet application in this file.
+ In order to create the <filename>WEB-INF</filename> and
<filename>META-INF</filename> directories, extract the
<filename>helloworldportlet.war</filename> file.This file must adhere to its
definition in the JSR-168 Portlet Specification. You may define more than one portlet
application in this file.
</para>
<para>
<variablelist>
@@ -597,12 +597,12 @@
</para>
<para>
<screen><![CDATA[
-INFO [TomcatDeployer] deploy, ctxPath=/helloworldportlet,
+INFO [TomcatDeployer] deploy, ctxPath=/helloworldportlet,
warUrl=.../tmp/deploy/tmp35219helloworldportlet-exp.war/]]>
</screen>
</para>
<para>
- To see the HelloWorldPortlet, navigate to <ulink
url="http://localhost:8080/portal/">http://localhost:8080/portal/</ulink>,
or, if the default JBoss Portal page is already open, refresh the page. The
HelloWorldPortlet is added to the default JBoss Portal page:
+ To see the HelloWorldPortlet, navigate to <ulink
url="http://localhost:8080/portal/">http://localhost:8080/portal/</ulink>,
or, if the default JBoss Portal page is already open, refresh the page. The
HelloWorldPortlet is added to the bottom of the default JBoss Portal page:
</para>
<para>
<mediaobject>
@@ -626,39 +626,34 @@
<screen><![CDATA[
INFO [TomcatDeployer] undeploy, ctxPath=/helloworldportlet,
warUrl=.../deploy/helloworldportlet.war/
-INFO [TomcatDeployer] deploy, ctxPath=/helloworldportlet,
+INFO [TomcatDeployer] deploy, ctxPath=/helloworldportlet,
warUrl=.../deploy/helloworldportlet.war/]]>
</screen>
</para>
</sect3>
</sect2>
<sect2>
- <title>A Simple JSP Portlet</title>
+ <title>An Example JSP Portlet</title>
<sect3>
<title>Introduction</title>
- <para>This section will introduce the reader to deploying a simple JSP
portlet in JBoss Portal. It requires
- you download the HelloWorldJSPPortlet from
PortletSwap.com, using this
- <ulink
url="http://anonsvn.jboss.org/repos/portletswap/portlets/2_4/bundles...
- link</ulink>.
+ <para>
+ This section describes how to deploy a JSP portlet in JBoss Portal. Before
proceeding, download the <ulink
url="http://anonsvn.jboss.org/repos/portletswap/portlets/2_4/bundles...
from <ulink
url="http://labs.jboss.com/portletswap/">JBoss
PortletSwap</ulink>. The HelloWorldJSPPortlet demonstrates how to use JSPs for view
rendering, and the portlet taglib for generating links.
</para>
- <para>
- This portlet will introduce you to using JSPs for view rendering and the
portlet taglib for generating
- links.
- </para>
</sect3>
<sect3>
- <title>Package content</title>
+ <title>Package Content</title>
<para>
- The application descriptors for this portlet are similar to the ones we
saw in
- <xref linkend="first_portlet_descriptors"/>. See the
<xref linkend="descriptors_portlet"/> chapter on
- descriptors for more details.
+ The application descriptors for the HelloWorldJSPPortlet portlet are similar to
those from the HelloWorldPortlet (<xref
linkend="first_portlet_descriptors"/>). See <xref
linkend="descriptors_portlet"/> for further details about application
descriptors.
+ </para>
+ <para>
+ The following is an example of the directory structure of the HelloWorldJSPPortlet
portlet. The HelloWorldJSPPortlet portlet contains the traditional portlet and JBoss
Portal specific application descriptors:
+ </para>
+ <para>
<mediaobject>
<imageobject>
<imagedata align="center"
fileref="images/tutorials/jsp_portlet/package.gif"
valign="middle"/>
</imageobject>
</mediaobject>
- As you can see in the figure above, the package content is what you'd
expect from a traditional web
- application augmented with the portlet- and JBoss Portal-specific
application descriptors.
</para>
</sect3>
<sect3>