Author: mmcallis
Date: 2008-07-09 23:32:55 -0400 (Wed, 09 Jul 2008)
New Revision: 11396
Modified:
docs/branches/JBoss_Portal_Branch_2_7/referenceGuide/en/modules/tutorials.xml
Log:
moving command out of screen to avoid mangling
Modified: docs/branches/JBoss_Portal_Branch_2_7/referenceGuide/en/modules/tutorials.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_7/referenceGuide/en/modules/tutorials.xml 2008-07-10
03:23:44 UTC (rev 11395)
+++
docs/branches/JBoss_Portal_Branch_2_7/referenceGuide/en/modules/tutorials.xml 2008-07-10
03:32:55 UTC (rev 11396)
@@ -1552,14 +1552,13 @@
</portlet>
</portlet-app>]]>
</programlisting>
- </para>
<para>
<variablelist>
<varlistentry>
<term>
- <screen><![CDATA[
+ <programlisting><![CDATA[
<portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>]]>
- </screen>
+</programlisting>
</term>
<listitem>
<para>
@@ -1578,12 +1577,12 @@
</varlistentry>
<varlistentry>
<term>
- <screen><![CDATA[
+ <programlisting><![CDATA[
<init-param>
<name>com.sun.faces.portlet.INIT_VIEW</name>
<value>/WEB-INF/jsp/index.jsp</value>
</init-param>]]>
- </screen>
+</programlisting>
</term>
<listitem>
<para>
@@ -1594,11 +1593,11 @@
</varlistentry>
<varlistentry>
<term>
- <screen><![CDATA[
+ <programlisting><![CDATA[
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
-</supports>]]></screen>
+</supports>]]></programlisting>
</term>
<listitem>
<para>
@@ -1633,8 +1632,7 @@
<filename>HelloWorldJSFSunRIPortlet/WEB-INF/faces-config.xml</filename>
file:
</para>
- <para>
- <screen><![CDATA[
+ <programlisting role="XML"><![CDATA[
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
@@ -1654,8 +1652,7 @@
</navigation-case>
</navigation-rule>
</faces-config>]]>
- </screen>
- </para>
+ </programlisting>
<para>
Without the
<filename>faces-config.xml</filename>
@@ -1678,8 +1675,7 @@
<filename>HelloWorldJSFSunRIPortlet/WEB-INF/web.xml</filename>
file:
</para>
- <para>
- <screen><![CDATA[
+ <programlisting role="XML"><![CDATA[
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
@@ -1701,8 +1697,7 @@
</servlet-mapping>
</web-app>]]>
- </screen>
- </para>
+ </programlisting>
<para>
For Sun JSF RI portlets, the
<computeroutput>Faces Servlet</computeroutput>
@@ -1906,17 +1901,9 @@
</filename>
directory into the JBoss AS or JBoss EAP
<filename>deploy/</filename>
- directory. On Linux, run the following command to re-deploy the
- HelloWorldJSFSunRIPortlet:
+ directory. On Linux, run the <command>touch $JBOSS_HOME/server/
<replaceable>configuration</replaceable>/deploy/helloworldjsfsunriportlet.war/WEB-INF/web.xml</command>
command to re-deploy the HelloWorldJSFSunRIPortlet.
</para>
<para>
- <screen>
- touch $JBOSS_HOME/server/
- <replaceable>configuration</replaceable>
- /deploy/helloworldjsfsunriportlet.war/WEB-INF/web.xml
- </screen>
- </para>
- <para>
Re-deploying the HelloWorldJSFSunRIPortlet produces output to the JBoss
AS
or JBoss EAP console, similar to the following:
</para>
Show replies by date