Author: julien(a)jboss.com
Date: 2007-02-13 08:28:19 -0500 (Tue, 13 Feb 2007)
New Revision: 6247
Modified:
docs/trunk/referenceGuide/en/modules/cmsPortlet.xml
Log:
modified CMS doc in order to tell how to properly configure CMS content
Modified: docs/trunk/referenceGuide/en/modules/cmsPortlet.xml
===================================================================
--- docs/trunk/referenceGuide/en/modules/cmsPortlet.xml 2007-02-13 13:18:47 UTC (rev
6246)
+++ docs/trunk/referenceGuide/en/modules/cmsPortlet.xml 2007-02-13 13:28:19 UTC (rev
6247)
@@ -43,10 +43,41 @@
</orderedlist>
</section>
<section>
+ <title>CMS content</title>
+ <para>Since 2.6 displaying CMS content in the portal is done using the new
content integration
+ feature. Each window of the portal can be configured to display CMS content
directly instead of
+ having to configure the CMS portlet as it used to be.
+ </para>
+ <section>
+ <title>Configuring a window to display CMS content</title>
+ <para>Showing CMS content in a portal window can be done in the deployment
descriptor quite easily
+ <programlisting><![CDATA[
+<window>
+ <window-name>MyCMSWindow</window-name>
+ <content>
+ <content-type>cms</content-type>
+ <content-uri>/default/index.html</content-uri>
+ </content>
+ <region>center</region>
+ <height>1</height>
+</window>
+]]></programlisting>
+ At the first display of the window, the content is initialized with the content
uri value.
+ When the user clicks on a link that navigates to another CMS file, the CMS file
will be shown in the
+ same window.
+ </para>
+ </section>
+ </section>
+ <section>
<title>CMS Configuration</title>
<section>
- <title>Welcome page</title>
- <para>The CMS portlet default page is defined as a preference and can be
overriden like any
+ <title>Display CMS content</title>
+ <para>Since 2.6 displaying CMS content in the portal is done using the new
content integration
+ feature.
+
+
+ The portal is also able to map urls content to the CMS through a specific
window.
+ The CMS portlet default page is defined as a preference and can be overriden
like any
other preference up to the user's preference level. The default CMS
portlet displayed
when you install JBoss Portal for the first time is describe in the following
file:
<emphasis>jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml</emphasis>
Show replies by date