You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/04/12 11:14:28 UTC

svn commit: r933157 - /ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml

Author: jleroux
Date: Mon Apr 12 09:14:27 2010
New Revision: 933157

URL: http://svn.apache.org/viewvc?rev=933157&view=rev
Log:
A patch from Bob Morley "Creating New Employment Application (non secure)" https://issues.apache.org/jira/browse/OFBIZ-2894 - OFBIZ-2894

Removes the query string parms from the form action. The applicationId was already in the form but the partyId had to be added.

Modified:
    ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml

Modified: ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml?rev=933157&r1=933156&r2=933157&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml Mon Apr 12 09:14:27 2010
@@ -104,13 +104,14 @@ under the License.
          <field name="searchButton" widget-style="smallSubmit"><submit button-type="button"/></field>
         <field name="searchButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
-    <form name="AddEmploymentApp" type="single" target="createEmploymentApp?applicationId=${applicationId}&amp;&amp;partyId=${referredByPartyId}" default-entity-name="EmploymentApp" paginate-target="FindEmploymentApps"
+    <form name="AddEmploymentApp" type="single" target="createEmploymentApp" default-entity-name="EmploymentApp" paginate-target="FindEmploymentApps"
         header-row-style="header-row" default-table-style="basic-table">
         <actions>
             <set field="insideEmployee" from-field="parameters.insideEmployee"/>
         </actions>
         <alt-target use-when="insideEmployee != null" target="createEmploymentAppExt"/>
         <auto-fields-service service-name="createEmploymentApp" default-field-type="hidden"/>
+        <field name="partyId"><hidden value="${referredByPartyId}" /></field>
         <field name="applicationId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupEmploymentApp"/></field>
         <field name="emplPositionId"><lookup target-form-name="LookupEmplPosition"/></field>
         <field name="statusId">