First version of the myportal component as a replacement of the MyPage component as announced in issue OFBIZ-2052 now using the new portal functions. Introduced with this version is that the system pages (userLogin=_NA_) are never changed, but automatically a new page is created for the logged in user when he modifies the system page. The deletion function now returns to the system page design

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728389 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hans Bakker
2008-12-21 04:40:27 +00:00
parent a1efddafbe
commit 63c50ecec4
39 changed files with 4075 additions and 61 deletions
@@ -152,18 +152,25 @@ under the License.
<screen name="DisplayExamplePage">
<section>
<actions>
<set field="portalPageId" from-field="parameters.portalPageId" default-value="DEFAULT"/>
<set field="portalPageId" from-field="parameters.portalPageId"/>
<set field="originalPortalPageId" from-field="parameters.originalPortalPageId"/>
<set field="headerItem" from-field="portalPageId"/>
<entity-one entity-name="PortalPage" value-name="currentPortalPage"/>
<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-condition entity-name="PortalPagePortletView" list-name="portalPagePortletViewList">
<condition-expr field-name="portalPageId" env-name="portalPageId"/>
<order-by field-name="sequenceNum"/>
</entity-condition>
<!--My Profile From Party-->
<set field="titleProperty" value="PageTitleViewPartyProfile"/>
<set field="tabButtonItem" value="viewprofile"/>
<set field="labelTitleProperty" value="PartyTaxAuthInfos"/>
<set field="parameters.partyId" from-field="userLogin.userLoginId"/>
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/GetUserLoginPrimaryEmail.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">