update of portal pages with including column support and now using the 'normal' ofbiz interface

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@724618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hans Bakker
2008-12-09 06:17:35 +00:00
parent f7b4614553
commit 54a5a1094a
18 changed files with 306 additions and 71 deletions
@@ -148,5 +148,35 @@ under the License.
</widgets>
</section>
</screen>
<screen name="DisplayExamplePage">
<section>
<actions>
<set field="portalPageId" from-field="parameters.portalPageId" default-value="DEFAULT"/>
<set field="headerItem" from-field="portalPageId"/>
<entity-one entity-name="PortalPage" value-name="currentPortalPage"/>
<entity-condition entity-name="PortalPage" list-name="portalPageList">
<condition-expr field-name="ownerUserLoginId" env-name="userLogin.userLoginId"/>
</entity-condition>
<set field="portalPages[]" from-field="selectedPortalPage"/>
<entity-condition entity-name="PortalPageColumn" list-name="portalPageColumnList">
<condition-expr field-name="portalPageId" env-name="portalPageId"/>
<order-by field-name="columnSeqId"/>
</entity-condition>
<entity-condition entity-name="PortalPagePortletView" list-name="portalPagePortletViewList">
<condition-expr field-name="portalPageId" env-name="portalPageId"/>
<order-by field-name="sequenceNum"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://common/webcommon/portal/portalPage.ftl"/></html></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>