svn commit: r686164 - in /ofbiz/trunk/specialpurpose: mypage/widget/CommonScreens.xml projectmgr/webapp/projectmgr/WEB-INF/controller.xml projectmgr/widget/forms/RequestForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r686164 - in /ofbiz/trunk/specialpurpose: mypage/widget/CommonScreens.xml projectmgr/webapp/projectmgr/WEB-INF/controller.xml projectmgr/widget/forms/RequestForms.xml

hansbak-2
Author: hansbak
Date: Fri Aug 15 00:10:35 2008
New Revision: 686164

URL: http://svn.apache.org/viewvc?rev=686164&view=rev
Log:
small corrections and enhancements

Modified:
    ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml
    ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml
    ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml

Modified: ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml?rev=686164&r1=686163&r2=686164&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml Fri Aug 15 00:10:35 2008
@@ -279,7 +279,7 @@
     <screen name="mainCustomer">
         <section>
             <actions>
-                <entity-and list-name="custRequests" entity-name="WorkEffortCustRequestView">
+                <entity-and list-name="custRequests" entity-name="CustRequest">
                     <field-map field-name="fromPartyId" env-name="userLogin.partyId"/>
                     <order-by field-name="createdDate"/>
                 </entity-and>

Modified: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml?rev=686164&r1=686163&r2=686164&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml Fri Aug 15 00:10:35 2008
@@ -571,7 +571,13 @@
         <security https="true" auth="true"/>
         <event type="service" invoke="createCustRequest"/>
         <response name="success" type="request-redirect-noparam" value="requestlist"/>
-    <response name="error" type="view" value="EditRequest"/>
+        <response name="error" type="view" value="EditRequest"/>
+    </request-map>
+    <request-map uri="updaterequest">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateCustRequest"/>
+        <response name="success" type="request-redirect-noparam" value="requestlist"/>
+        <response name="error" type="view" value="EditRequest"/>
     </request-map>
     <request-map uri="viewprofile">
         <security https="true" auth="true"/>

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml?rev=686164&r1=686163&r2=686164&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml Fri Aug 15 00:10:35 2008
@@ -73,7 +73,7 @@
         <field name="statusId"><display-entity entity-name="StatusItem" description="${description}"/></field>
         <field name="fromPartyId">
             <display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}" key-field-name="partyId">
-                <sub-hyperlink target="/partymgr/control/viewprofile?partyId=${fromPartyId}" target-type="inter-app" description="[${fromPartyId}]"/>
+                <sub-hyperlink target="viewprofile?partyId=${fromPartyId}" description="[${fromPartyId}]"/>
             </display-entity>
         </field>
         <field name="custRequestName"><display/></field>
@@ -102,7 +102,7 @@
             </entity-one>
         </row-actions>
         <field name="partyId" widget-style="buttontext">
-            <hyperlink description="${partyId}" target-type="inter-app" target="/partymgr/control/viewprofile?partyId=${partyId}"/>
+            <hyperlink description="${partyId}" target="viewprofile?partyId=${partyId}"/>
         </field>
         <field name="RequestTaker"><display description="${person.personalTitle} ${person.firstName} ${person.middleName} ${person.lastName}"/></field>
     </form>
@@ -134,7 +134,7 @@
         <field name="createdDate"><display type="date"/></field>
         <field name="fromPartyId">
             <display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}" key-field-name="partyId">
-                <sub-hyperlink target="/partymgr/control/viewprofile?partyId=${fromPartyId}" target-type="inter-app" description="[${fromPartyId}]"/>
+                <sub-hyperlink target="viewprofile?partyId=${fromPartyId}" description="[${fromPartyId}]"/>
             </display-entity>
         </field>
         <field name="statusId">