Author: hansbak
Date: Mon Dec 22 18:49:52 2008 New Revision: 728855 URL: http://svn.apache.org/viewvc?rev=728855&view=rev Log: some corrections on commit 728634 Modified: ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl ofbiz/trunk/framework/common/webcommon/portal/portalPage.ftl ofbiz/trunk/framework/common/widget/PortalPageForms.xml Modified: ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl?rev=728855&r1=728854&r2=728855&view=diff ============================================================================== --- ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl (original) +++ ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl Mon Dec 22 18:49:52 2008 @@ -27,7 +27,7 @@ <div class="screenlet-title-bar"> <ul> <li class="h3">Available portlets</li> - <li><a href="<@ofbizUrl>dashboard?portalPageId=${parameters.portalPageId}&configurePortalPage=true&mainPortalPageId=${parameters.mainPortalPageId}</@ofbizUrl>">${uiLabelMap.CommonCancel}</a></li> + <li><a href="<@ofbizUrl>dashboard?portalPageId=${parameters.portalPageId}&configurePortalPage=true&originalPortalPageId=${parameters.originalPortalPageId}&mainPortalPageId=${parameters.mainPortalPageId}</@ofbizUrl>">${uiLabelMap.CommonCancel}</a></li> </ul> <br class="clear"/> </div> Modified: ofbiz/trunk/framework/common/webcommon/portal/portalPage.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/portal/portalPage.ftl?rev=728855&r1=728854&r2=728855&view=diff ============================================================================== --- ofbiz/trunk/framework/common/webcommon/portal/portalPage.ftl (original) +++ ofbiz/trunk/framework/common/webcommon/portal/portalPage.ftl Mon Dec 22 18:49:52 2008 @@ -71,7 +71,7 @@ <#if (!portlet.columnSeqId?has_content && portalPageColumn_index == 0) || (portlet.columnSeqId?if_exists == portalPageColumn.columnSeqId)> <#if portlet.screenName?has_content> <#if configurePortalPage?has_content> - <#assign portletUrlLink = "portalPageId="+currentPortalPage.portalPageId+"&portalPortletId="+portlet.portalPortletId+"&portletSeqId="+portlet.portletSeqId+"&configurePortalPage=true&originalPortalPageId="+parameters.originalPortalPageId/> + <#assign portletUrlLink = "portalPageId="+currentPortalPage.portalPageId+"&portalPortletId="+portlet.portalPortletId+"&portletSeqId="+portlet.portletSeqId+"&configurePortalPage=true&originalPortalPageId="+parameters.originalPortalPageId+"&mainPortalPageId="+parameters.mainPortalPageId/> <div class="portlet-config"> <div class="portlet-config-title-bar"> Modified: ofbiz/trunk/framework/common/widget/PortalPageForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/PortalPageForms.xml?rev=728855&r1=728854&r2=728855&view=diff ============================================================================== --- ofbiz/trunk/framework/common/widget/PortalPageForms.xml (original) +++ ofbiz/trunk/framework/common/widget/PortalPageForms.xml Mon Dec 22 18:49:52 2008 @@ -55,10 +55,11 @@ </field> </form> - <form name="NewPortalPage" type="single" target="createPortalPage" title="" default-map-name="PortalPagemap"> + <form name="NewPortalPage" type="single" target="createPortalPage?mainPortalPageId=${parameters.mainPortalPageId}" title="" default-map-name="PortalPagemap"> <actions> <set from-field="userLogin.userLoginId" field="ownerUserLoginId"/> <set field="originalPortalPageId" from-field="parameters.originalPortalPageId"/> + <set field="mainPortalPageId" from-field="parameters.mainPortalPageId"/> </actions> <auto-fields-service service-name="createPortalPage"/> <field name="ownerUserLoginId"> |
Free forum by Nabble | Edit this page |