From portal-commits at lists.jboss.org Thu Feb 7 00:22:15 2008 Content-Type: multipart/mixed; boundary="===============1045072684957916125==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r9825 - docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules. Date: Thu, 07 Feb 2008 00:22:15 -0500 Message-ID: --===============1045072684957916125== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mmcallis Date: 2008-02-07 00:22:15 -0500 (Thu, 07 Feb 2008) New Revision: 9825 Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/migratio= n.xml Log: revising 4.1.2.2. CMS Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/m= igration.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/migrati= on.xml 2008-02-07 05:21:26 UTC (rev 9824) +++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/migrati= on.xml 2008-02-07 05:22:15 UTC (rev 9825) @@ -134,15 +134,10 @@ CMS - This is probably the less trival part to do directly in dat= abase. In JBP 2.6 version the way that CMS - content is being displayed changed significantly. Please re= fer to - Content Integration and CMS Portlet - chapters for more information. Basically currently there is= no need to have more than one instance of - CMSPortlet and the portlet window disp= lays CMS content not by referring to that portlet instance - but by having proper content-type defi= ned. In "default-object.xml - you will find following configuration: - - and . Currently th= ere is no need to have more than one instance of the CMSPortlet. The portlet window displays CMS content, not by referring to tha= t portlet instance, but by having the proper content-type defined. The following configuration is in the jboss-portal.s= ar/conf/data/default-object.xml file: + + + CMSWindow @@ -151,53 +146,54 @@ center 0 - - ]]> - - +]]> + + - Open JBP_OBJECT_NODE tab= le in your database schema. By looking at - PATH column you will eas= ily find any occurances of CMS in your portal - deployment + The following example uses the MySQL Query Browser. Open the JBP_OBJECT_NODE table in your database schema. = Look at the PATH column to identify any = occurrences of CMS in your JBoss Portal deployment. Identify any row referr= ing to CMSPortletWindow, and remember the number in PARENT_KEY column. The PARENT_KEY number is needed in the following steps: + + - For any row you will identify as referring to CMS= PortletWindow in your system remember - the number in PK column.= It will be needed in next steps + Go to the JBP_WINDOW table and fi= nd a row with the same + PARENT_KEY value from the JBP_OBJECT_NODE table. In such a row, replace <= emphasis>CMSPortletInstance with a path to your CMS resource. Fo= r example, by default, JBoss Portal displays /default/index.html<= /filename>. - Go to JBP_WINDOW tab= le and find row with the same - PK value like the one fr= om - JBP_OBJECT_NODE table. I= n such row replace - "CMSPortletInstance" with a path to yo= ur CMS resource. For example by default - portal is displaying "/default/index.html". - - Go to JBP_PORTAL_OBJECT_PROPS table and add a row containing: + Go to the JBP_PORTAL_OBJECT_PRO= PS table and add a row containing: - The number you remembered in "OBJECT_KEY" column. - - - "portal.windowContentType" in "<= emphasis>NAME" column. - - - "cms" in "jbp_VALUE" column. - - - + + The PARENT_KEY number remembered = from the OBJECT_KEY column. + + + + + portal.windowContentType in the NAME<= /emphasis> column. + + + + + cms in the jbp_VALUE colum= n. + + + + - Remember that you can also change portlet window content= type and configure path to CMS resource - using AdminPortlet + + Portlet Content Type and Path to the CMS Resource + + You can change the portlet window content type and configure the path = to the CMS resource + using the AdminPortlet. + + - - - - +