mypage component: make the delete commevent link return to the proper screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674735 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -129,6 +129,18 @@
|
||||
<response name="success" type="view" value="main"/>
|
||||
<response name="error" type="view" value="main"/>
|
||||
</request-map>
|
||||
<request-map uri="deletePartyCommunicationEventMy">
|
||||
<security https="true" auth="true"/>
|
||||
<event type="service" invoke="deleteCommunicationEvent"/>
|
||||
<response name="success" type="view" value="myCommunications"/>
|
||||
<response name="error" type="view" value="myCommunications"/>
|
||||
</request-map>
|
||||
<request-map uri="deletePartyCommunicationEventOthers">
|
||||
<security https="true" auth="true"/>
|
||||
<event type="service" invoke="deleteCommunicationEvent"/>
|
||||
<response name="success" type="view" value="otherCommunications"/>
|
||||
<response name="error" type="view" value="otherCommunications"/>
|
||||
</request-map>
|
||||
|
||||
<!-- PREFERENCES -->
|
||||
<request-map uri="preferences">
|
||||
|
||||
@@ -89,4 +89,16 @@ under the License.
|
||||
<field name="myTimesheet"><check/></field>
|
||||
<field name="updateButton"><submit/></field>
|
||||
</form>
|
||||
|
||||
<form name="ListPartyCommEvents" extends="ListPartyCommEvents" extends-resource="component://party/webapp/partymgr/communication/CommForms.xml" >
|
||||
<field use-when="headerItem.equals("main")" name="removeLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
|
||||
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deletePartyCommunicationEvent?partyId=${partyId}&communicationEventId=${communicationEventId}"/>
|
||||
</field>
|
||||
<field use-when="headerItem.equals("myCommunications")" name="removeLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
|
||||
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deletePartyCommunicationEventMy?partyId=${partyId}&communicationEventId=${communicationEventId}"/>
|
||||
</field>
|
||||
<field use-when="headerItem.equals("otherCommunications")" name="removeLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
|
||||
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deletePartyCommunicationEventOthers?partyId=${partyId}&communicationEventId=${communicationEventId}"/>
|
||||
</field>
|
||||
</form>
|
||||
</forms>
|
||||
@@ -196,7 +196,7 @@ under the License.
|
||||
<include-menu name="MyCommunicationsMenu"
|
||||
location="component://mypage/widget/MyPageMenus.xml" />
|
||||
<include-form name="ListPartyCommEvents"
|
||||
location="component://party/webapp/partymgr/communication/CommForms.xml" />
|
||||
location="component://mypage/widget/MyPageForms.xml" />
|
||||
</screenlet>
|
||||
</widgets>
|
||||
</section>
|
||||
@@ -225,7 +225,7 @@ under the License.
|
||||
<include-menu name="MyCommunicationsMenu"
|
||||
location="component://mypage/widget/MyPageMenus.xml" />
|
||||
<include-form name="ListPartyCommEvents"
|
||||
location="component://party/webapp/partymgr/communication/CommForms.xml" />
|
||||
location="component://mypage/widget/MyPageForms.xml" />
|
||||
</screenlet>
|
||||
</widgets>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user