Author: prabhat.jha(a)jboss.com
Date: 2009-08-14 10:43:14 -0400 (Fri, 14 Aug 2009)
New Revision: 13765
Modified:
docs/enterprise/tags/Enterprise_Portal_Platform_4_3_GA_CP02/Reference_Guide/en-US/CMS_Portlet.xml
Log:
update jboss-service.xml for content path
Modified:
docs/enterprise/tags/Enterprise_Portal_Platform_4_3_GA_CP02/Reference_Guide/en-US/CMS_Portlet.xml
===================================================================
---
docs/enterprise/tags/Enterprise_Portal_Platform_4_3_GA_CP02/Reference_Guide/en-US/CMS_Portlet.xml 2009-08-14
14:14:35 UTC (rev 13764)
+++
docs/enterprise/tags/Enterprise_Portal_Platform_4_3_GA_CP02/Reference_Guide/en-US/CMS_Portlet.xml 2009-08-14
14:43:14 UTC (rev 13765)
@@ -103,7 +103,7 @@
Configuration of the service descriptor, allows for changing many of the
variables
associated with the service.</para>
<para>Here is the default configuration for the CMS repository found
under
-
<literal>portal-cms.sar/META-INF-INF/jboss-service.xml</literal>
+ <literal>portal-cms.sar/META-INF/jboss-service.xml</literal>
</para>
<programlisting><![CDATA[...
<attribute name="DoChecking">true</attribute>
@@ -149,24 +149,33 @@
By default, the content will be accessible to a url like this:
http://www.example.com/content/[...], if
you need or prefer to change "content" to something else you
will need to edit the following file:
<literal>portal-cms.sar/META-INF-INF/jboss-service.xml</literal>
- and change the value of Prefix to something else. Please note that you
cannot change it to "nothing", you
+ and change the value of Path to something else. Please note that you
cannot change it to "nothing", you
need to provide a value.
</para>
<programlisting><![CDATA[...
+<mbean
+code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+ name="portal:commandFactory=Delegate,path=content"
+ xmbean-dd=""
+ xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+ <xmbean/>
+ <attribute name="Path">/content</attribute>
+ <depends
+ optional-attribute-name="DelegatingFactory"
+
proxy-type="attribute">portal:commandFactory=Delegating</depends>
+ <depends
+ optional-attribute-name="DelegateFactory"
+
proxy-type="attribute">portal:commandFactory=CMSObject</depends>
+</mbean>
<mbean
- code="org.jboss.portal.core.cms.CMSObjectCommandFactory"
- name="portal:commandFactory=CMSObject"
- xmbean-dd=""
- xmbean-code="org.jboss.portal.common.system.JBossServiceModelMBean">
- <xmbean/>
- <attribute name="Prefix">content</attribute>
- <attribute
name="TargetWindowRef">default.default.CMSPortletWindow</attribute>
- <depends optional-attribute-name="Factory"
proxy-type="attribute">
- portal:commandFactory=Delegating
- </depends>
- <depends optional-attribute-name="CMSService"
proxy-type="attribute">
- portal:service=CMS
- </depends>
+ code="org.jboss.portal.core.cms.CMSObjectURLFactory"
+ name="portal:urlFactory=CMSObject"
+ xmbean-dd=""
+ xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+ <xmbean/>
+ <attribute name="Path">/content</attribute>
+ <depends optional-attribute-name="Factory"
+proxy-type="attribute">portal:urlFactory=Delegating</depends>
</mbean>
...]]>
</programlisting>