|
Author: buscob
Date: Sun Sep 19 07:15:24 2010 New Revision: 998604 URL: http://svn.apache.org/viewvc?rev=998604&view=rev Log: Used "EXAMPLE" PortalPage as demo in example application instead of the "PartyProfile" PortalPage that is defined out of the framework Modified: ofbiz/trunk/framework/example/data/ExamplePortalSeedData.xml ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml Modified: ofbiz/trunk/framework/example/data/ExamplePortalSeedData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/data/ExamplePortalSeedData.xml?rev=998604&r1=998603&r2=998604&view=diff ============================================================================== --- ofbiz/trunk/framework/example/data/ExamplePortalSeedData.xml (original) +++ ofbiz/trunk/framework/example/data/ExamplePortalSeedData.xml Sun Sep 19 07:15:24 2010 @@ -21,11 +21,16 @@ under the License. <entity-engine-xml> <!-- PortalPortlet Seed Data: system pages --> <PortalPage portalPageId="EXAMPLE" sequenceNum="0" portalPageName="Example Portal Page" description="The default example OFBiz portal page" ownerUserLoginId="_NA_"/> - <PortalPageColumn portalPageId="EXAMPLE" columnSeqId="00001" columnWidthPercentage="50"/> + <PortalPageColumn portalPageId="EXAMPLE" columnSeqId="00001" columnWidthPixels="400"/> <PortalPageColumn portalPageId="EXAMPLE" columnSeqId="00002"/><!-- no width in pixels or percent, use the rest of the space available --> - <PortalPagePortlet portalPageId="EXAMPLE" portalPortletId="EXAMPLE_1" portletSeqId="00001" columnSeqId="00001" sequenceNum="0"/> <PortalPagePortlet portalPageId="EXAMPLE" portalPortletId="EXAMPLE_3" portletSeqId="00001" columnSeqId="00002" sequenceNum="1"/> + <PortalPagePortlet portalPageId="EXAMPLE" portalPortletId="showContent" portletSeqId="00001" columnSeqId="00001"/> + <PortletAttribute portalPageId="EXAMPLE" portalPortletId="showContent" portletSeqId="00001" attrName="contentId" attrValue="HELP_BIRT"/> + <PortalPagePortlet portalPageId="EXAMPLE" portalPortletId="showContent" portletSeqId="00002" columnSeqId="00002"/> + <PortletAttribute portalPageId="EXAMPLE" portalPortletId="showContent" portletSeqId="00002" attrName="contentId" attrValue="SETUP_firstCatalog"/> + <PortalPagePortlet portalPageId="EXAMPLE" portalPortletId="showContent" portletSeqId="00003" columnSeqId="00002"/> + <PortletAttribute portalPageId="EXAMPLE" portalPortletId="showContent" portletSeqId="00003" attrName="contentId" attrValue="HELP_ACCOUNTING"/> <PortalPage portalPageId="EXAMPLE1" sequenceNum="100" parentPortalPageId="EXAMPLE" portalPageName="Example Portal Page 1" description="Portal page 1" ownerUserLoginId="_NA_"/> <PortalPageColumn portalPageId="EXAMPLE1" columnSeqId="00001"/> Modified: ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml?rev=998604&r1=998603&r2=998604&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleScreens.xml Sun Sep 19 07:15:24 2010 @@ -474,7 +474,7 @@ under the License. <widgets> <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-portal-page id="PartyProfile" edit-mode="${parameters.editmode}"/> + <include-portal-page id="EXAMPLE" edit-mode="${parameters.editmode}"/> </decorator-section> </decorator-screen> </widgets> |
| Free forum by Nabble | Edit this page |
