svn commit: r615322 [3/4] - in /ofbiz/trunk/applications/humanres: config/ widget/ widget/forms/

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

svn commit: r615322 [3/4] - in /ofbiz/trunk/applications/humanres: config/ widget/ widget/forms/

mrisaliti
Modified: ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml Fri Jan 25 12:12:10 2008
@@ -1,343 +1,360 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-    
-    http://www.apache.org/licenses/LICENSE-2.0
-    
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
-    <form name="ListEmployments" type="list" target="updateEmployment" paginate-target="findEmployment">
-        <actions>
-            <entity-condition entity-name="Employment"/>
-        </actions>
-        <auto-fields-service service-name="updateEmployment"/>
-        
-        <field name="roleTypeIdFrom" title="roleTypeIdFrom"><display/></field>
-        <field name="roleTypeIdTo" title="roleTypeIdTo"><display/></field>
-        <field name="partyIdFrom" title="partyIdFrom"><display/></field>
-        <field name="partyIdTo" title="partyIdTo"><display/></field>
-        <field name="fromDate" title="fromDate"><display/></field>
-        <field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}"><lookup target-form-name="LookupTerminationReasonId"/></field>
-        <field name="terminationTypeId" title="${uiLabelMap.HumanResTerminationTypeId}">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="terminationTypeId" entity-name="TerminationType">
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>        
-        <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
-        <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
-            <hyperlink target="deleteEmployment?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
-        </field>
-    </form>
-    <form name="EditEmployment" type="single" target="createEmployment" >
-        <auto-fields-service service-name="createEmployment"/>      
-        <field name="roleTypeIdFrom" title="roleTypeIdFrom" tooltip="${uiLabelMap.CommonRequired}">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="roleTypeIdTo" title="roleTypeIdTo" tooltip="${uiLabelMap.CommonRequired}">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>        
-        <field name="partyIdFrom" title="${uiLabelMap.HumanResPartyIdFrom}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
-        <field name="partyIdTo" title="${uiLabelMap.HumanResPartyIdTo}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
-        <field name="fromDate" title="${uiLabelMap.CommonDate}" tooltip="${uiLabelMap.CommonRequired}"/>
-        <field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}"><lookup target-form-name="LookupTerminationReason"/></field>
-        <field name="terminationTypeId" title="${uiLabelMap.HumanResTerminationTypeId}">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="terminationTypeId" entity-name="TerminationType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>      
-        <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
-    </form>
-    <form name="ListEmploymentApps" type="list" title="" paginate-target="findEmploymentApps">
-        <actions>
-            <entity-condition entity-name="EmploymentApp"><order-by field-name="applicationId"/></entity-condition>
-        </actions>
-        <auto-fields-service default-field-type="display" service-name="updateEmploymentApp"/>      
-        <field name="applicationId" title="${uiLabelMap.HumanResApplicationId}" widget-style="buttontext">
-            <hyperlink also-hidden="false" description="${applicationId}" target="EditEmploymentApp?applicationId=${applicationId}"/>
-        </field>
-        <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
-            <hyperlink target="deleteEmploymentApp?applicationId=${applicationId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
-        </field>  
-    </form>
-    <form name="EditEmploymentApp" type="single" target="updateEmploymentApp" title="" default-map-name="employmentApp">          
-        <alt-target use-when="employmentApp==null" target="createEmploymentApp"/>
-        <auto-fields-service service-name="createEmploymentApp"/>
-        <field use-when="employmentApp!=null" name="applicationId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>        
-        <field name="applicationId" use-when="employmentApp==null"><ignored/></field>
-        <field use-when="employmentApp==null&amp;&amp;applicationId!=null" name="applicationId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${applicationId}]"><text size="20" maxlength="20"/></field>
-        <field name="emplPositionId" use-when="employmentApp!=null" title="emplPositionId"><display/></field>
-        <field name="emplPositionId" use-when="employmentApp==null" title="emplPositionId"><lookup target-form-name="LookupEmplPosition"/></field>
-        <field name="applyingPartyId" use-when="employmentApp!=null" title="applyingPartyId"><display/></field>
-        <field name="applyingPartyId" use-when="employmentApp==null" title="applyingPartyId"><lookup target-form-name="LookupPartyName"/></field>
-        <field name="referredByPartyId" use-when="employmentApp!=null" title="referredByPartyId"><display/></field>
-        <field name="referredByPartyId" use-when="employmentApp==null" title="referredByPartyId"><lookup target-form-name="LookupPartyName"/></field>
-        <field name="employmentAppSourceTypeId" title="employmentAppSourceType Id">
-            <drop-down allow-empty="false">
-                <entity-options description="${employmentAppSourceTypeId}" key-field-name="employmentAppSourceTypeId" entity-name="EmploymentAppSourceType">
-                    <entity-order-by field-name="employmentAppSourceTypeId"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="submitButton" use-when="employmentApp==null" title="Create" widget-style="smallSubmit"><submit button-type="button"/></field>        
-        <field name="submitButton" use-when="employmentApp!=null" title="Update" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>                        
-    <form name="ListPayHistories" type="list" target="updatePayHistory" title="" paginate-target="findPayHistories">
-        <actions>
-            <entity-condition entity-name="PayHistory">
-                <condition-list combine="and">                    
-                    <condition-expr field-name="roleTypeIdFrom" operator="equals" env-name="parameters.roleTypeIdFrom"/>
-                    <condition-expr field-name="roleTypeIdTo" operator="equals" env-name="parameters.roleTypeIdTo"/>
-                    <condition-expr field-name="partyIdFrom" operator="equals" env-name="parameters.partyIdFrom"/>
-                    <condition-expr field-name="partyIdTo" operator="equals" env-name="parameters.partyIdTo"/>
-                    <condition-expr field-name="fromDate" operator="equals" env-name="parameters.fromDate"/>
-                </condition-list>
-            </entity-condition>            
-        </actions>
-        <auto-fields-service service-name="updatePayHistory"/>        
-        <field name="roleTypeIdFrom" title="roleTypeIdFrom"><display/></field>
-        <field name="roleTypeIdTo" title="roleTypeIdTo"><display/></field>
-        <field name="partyIdFrom" title="partyIdFrom"><display/></field>
-        <field name="partyIdTo" title="partyIdTo"><display/></field>
-        <field name="fromDate" title="fromDate"><display/></field>        
-        <field name="salaryStepSeqId" title="${uiLableMap.HumanResSalaryStepSeqId}"><lookup target-form-name="LookupSalaryStepSeq"/></field>
-        <field name="payGradeId" title="${uiLableMap.HumanResPayGradeID}"><lookup target-form-name="LookupPayGrade"/></field>              
-        <field name="periodTypeId" title="periodTypeId">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
-        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
-            <hyperlink target="deletePayHistory?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
-        </field>
-    </form>          
-    <form name="ListPartyBenefits" type="list" target="updatePartyBenefit" title="" paginate-target="findPartyBenefits">
-        <actions>
-            <entity-condition entity-name="PartyBenefit"/>
-        </actions>
-        <auto-fields-service service-name="updatePartyBenefit"/>        
-        <field name="roleTypeIdFrom" title="roleTypeIdFrom"><display/></field>
-        <field name="roleTypeIdTo" title="roleTypeIdTo"><display/></field>
-        <field name="partyIdFrom" title="partyIdFrom"><display/></field>
-        <field name="partyIdTo" title="partyIdTo"><display/></field>
-        <field name="benefitTypeId" title="benefitTypeId"><display/></field>
-        <field name="fromDate" title="fromDate"><display/></field>      
-        <field name="periodTypeId" title="periodTypeId">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>        
-        <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
-        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
-            <hyperlink target="deletePartyBenefit?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;fromDate=${fromDate}&amp;benefitTypeId=${benefitTypeId}" description="${uiLabelMap.CommonDelete}"/>
-        </field>            
-    </form>
-    <form name="EditPartyBenefit" type="single" target="createPartyBenefit" title="">
-        <auto-fields-service service-name="createPartyBenefit"/>                          
-        <field name="roleTypeIdFrom" title="roleTypeIdFrom"><hidden/></field>
-        <field name="roleTypeIdTo" title="roleTypeIdTo"><hidden/></field>
-        <field name="partyIdFrom" title="partyIdFrom"><hidden/></field>
-        <field name="partyIdTo" title="partyIdTo"><hidden/></field>  
-        <field name="fromDate" title="${uiLabelMap.CommonDate}"><hidden/></field>
-        <field name="benefitTypeId" title="benefitTypeId" tooltip="${uiLabelMap.CommonRequired}">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="benefitTypeId" entity-name="BenefitType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="fromDate" title="${uiLabelMap.CommonDate}" tooltip="${uiLabelMap.CommonRequired}"/>
-        <field name="periodTypeId" title="periodTypeId">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>        
-        <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
-    </form>
-    <form name="ListPayrollPreferences" type="list" title="findPayrollPreferences">
-        <actions>
-            <entity-condition entity-name="PayrollPreference"><order-by field-name="payrollPreferenceSeqId"/></entity-condition>
-        </actions>        
-        <auto-fields-service default-field-type="display" service-name="updatePayrollPreference"/>        
-        <field name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}" widget-style="buttontext">
-            <hyperlink also-hidden="false" description="${payrollPreferenceSeqId}" target="EditPayrollPreferences?payrollPreferenceSeqId=${payrollPreferenceSeqId}&amp;partyId=${partyId}&amp;roleTypeId=${roleTypeId}"/>
-        </field>
-        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
-            <hyperlink target="deletePayrollPreference?payrollPreferenceSeqId=${payrollPreferenceSeqId}&amp;partyId=${partyId}&amp;roleTypeId=${roleTypeId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
-        </field>
-    </form>
-    <form name="EditPayrollPreference" type="single" target="updatePayrollPreference" title="" default-map-name="payrollPreference">        
-        <alt-target use-when="payrollPreference==null" target="createPayrollPreference"/>
-        <auto-fields-service service-name="createPayrollPreference" />
-        <field use-when="payrollPreference!=null" name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
-        <field use-when="payrollPreference==null&amp;&amp;payrollPreferenceSeqId==null" name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}"><ignored/></field>
-        <field use-when="payrollPreference==null&amp;&amp;payrollPreferenceSeqId!=null" name="payrollPreferenceSeqId" tooltip="${uiLabelMap.CommonCannotBeFound}: [${payrollPreferenceSeqId}]"><display/></field>                      
-        <field name="partyId" title="partyId"><hidden/></field>
-        <field name="roleTypeId" title="roleTypeId"><hidden/></field>        
-        <field name="fromDate" title="fromDate"><hidden/></field>        
-        <field name="deductionTypeId" title="deductionType Id">
-            <drop-down allow-empty="false">
-                <entity-options description="${deductionTypeId}" key-field-name="deductionTypeId" entity-name="DeductionType">
-                    <entity-order-by field-name="deductionTypeId"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="paymentMethodTypeId" title="paymentMethodType Id">
-            <drop-down allow-empty="false">
-                <entity-options description="${paymentMethodTypeId}" key-field-name="paymentMethodTypeId" entity-name="PaymentMethodType">
-                    <entity-order-by field-name="paymentMethodTypeId"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="periodTypeId" title="periodType Id">
-            <drop-down allow-empty="false">
-                <entity-options description="${periodTypeId}" key-field-name="periodTypeId" entity-name="PeriodType">
-                    <entity-order-by field-name="periodTypeId"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="submitButton" use-when="payrollPreference==null" title="Create" widget-style="smallSubmit"><submit button-type="button"/></field>        
-        <field name="submitButton" use-when="payrollPreference!=null" title="Update" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListPayGrades" type="list" title="" paginate-target="findPayGrades">        
-        <actions>
-            <entity-condition entity-name="PayGrade"><order-by field-name="payGradeId"/></entity-condition>
-        </actions>
-        <auto-fields-service default-field-type="display" service-name="updatePayGrade"/>      
-        <field name="payGradeId" title="PayGrade Id" widget-style="buttontext">
-            <hyperlink also-hidden="false" description="${payGradeId}" target="EditPayGrade?payGradeId=${payGradeId}"/>
-        </field>
-        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
-            <hyperlink target="deletePayGrade?payGradeId=${payGradeId}" description="${uiLabelMap.CommonDelete}"/>
-        </field>          
-    </form>
-    <form name="EditPayGrade" type="single" target="updatePayGrade" title="">
-        <actions>
-            <entity-one entity-name="PayGrade" value-name="payGrade" />
-        </actions>
-        <alt-target use-when="payGrade==null" target="createPayGrade"/>
-        <auto-fields-service service-name="updatePayGrade" map-name="payGrade"/>
-        <field use-when="payGrade!=null" name="payGradeId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
-        <field name="payGradeId"  use-when="payGrade==null"><ignored/></field>
-        <!-- field name="payGradeId" use-when="payGrade==null&amp;payGradeId!=null" tooltip="${uiLabelMap.CommonCannotBeFound}:[${payGradeId}]"><text size="20" maxlength="20"/></field>-->
-        <field name="submitButton" use-when="payGrade==null" title="Create" widget-style="smallSubmit"><submit button-type="button"/></field>        
-        <field name="submitButton" use-when="payGrade!=null" title="Update" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListSalarySteps" type="list" title="" target="updateSalaryStep" paginate-target="findSalarySteps">
-        <actions>
-            <entity-condition entity-name="SalaryStep"><order-by field-name="salaryStepSeqId"/></entity-condition>
-        </actions>  
-        <auto-fields-service service-name="updateSalaryStep"/>      
-        <field name="salaryStepSeqId" title="${uiLabelMap.HumanResSalaryStepSeqId}"><display/></field>                  
-        <field name="payGradeId" title="${uiLabelMap.HumanResPayGradeId}"><display/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
-        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
-            <hyperlink target="deleteSalaryStep?salaryStepSeqId=${salaryStepSeqId}&amp;payGradeId=${payGradeId}" description="${uiLabelMap.CommonDelete}"/>
-        </field>
-    </form>
-    <form name="EditSalaryStep" type="single" target="createSalaryStep" title="">                
-        <auto-fields-service service-name="createSalaryStep"/>        
-        <field name="salaryStepSeqId"><ignored/></field>
-        <field name="payGradeId"><hidden/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListTerminationReasons" type="list" title="" paginate-target="findTerminationReasons">
-        <actions>
-            <entity-condition entity-name="TerminationReason"><order-by field-name="terminationReasonId"/></entity-condition>
-        </actions>
-        <auto-fields-service default-field-type="display" service-name="updateTerminationReason"/>        
-        <field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}" widget-style="buttontext">
-            <hyperlink also-hidden="false" description="${terminationReasonId}" target="EditTerminationReason?terminationReasonId=${terminationReasonId}"/>
-        </field>
-        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
-            <hyperlink target="deleteTerminationReason?terminationReasonId=${terminationReasonId}" description="${uiLabelMap.CommonDelete}"/>
-        </field>    
-    </form>
-    <form name="EditTerminationReason" type="single" target="updateTerminationReason" title="" default-map-name = "terminationReason">        
-        <alt-target use-when="terminationReason==null" target="createTerminationReason"/>
-        <auto-fields-service service-name="createTerminationReason"/>
-        <field use-when="terminationReason!=null" name="terminationReasonId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>        
-        <field use-when="terminationReason==null" name="terminationReasonId"><ignored/></field>
-        <field use-when="terminationReason==null&amp;&amp;terminationReasonId!=null" name="terminationReasonId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${terminationReasonId}]"><text size="20" maxlength="20"/></field>
-        <field name="submitButton" use-when="terminationReason==null" title="Create" widget-style="smallSubmit"><submit button-type="button"/></field>        
-        <field name="submitButton" use-when="terminationReason!=null" title="Update" widget-style="smallSubmit"><submit button-type="button"/></field>  
-    </form>  
-    <form name="ListUnemploymentClaims" type="list" title="" paginate-target="findUnemploymentClaims">
-         <actions>
-            <entity-condition entity-name="UnemploymentClaim"><order-by field-name="unemploymentClaimId"/></entity-condition>
-        </actions>
-        <auto-fields-service default-field-type="display" service-name="updateUnemploymentClaim"/>        
-        <field name="unemploymentClaimId" title="unemploymentClaimId" widget-style="buttontext">
-            <hyperlink also-hidden="false" description="${unemploymentClaimId}" target="EditUnemploymentClaim?unemploymentClaimId=${unemploymentClaimId}"/>
-        </field>
-        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
-            <hyperlink target="deleteUnemploymentClaim?unemploymentClaimId=${unemploymentClaimId}" description="${uiLabelMap.CommonDelete}"/>
-        </field>
-    </form>                                      
-    <form name="EditUnemploymentClaim" type="single" target="updateUnemploymentClaim" title="${uiLableMap.HumanResEditUnemploymentClaim}" default-map-name="unemploymentClaim">
-        <alt-target use-when="unemploymentClaim==null" target="createUnemploymentClaim"/>
-        <auto-fields-service service-name="createUnemploymentClaim"/>
-        <field use-when="unemploymentClaim!=null" name="unemploymentClaimId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
-        <field use-when="unemploymentClaim==null" name="unemploymentClaimId"><ignored/></field>        
-        <field use-when="unemploymentClaim==null&amp;&amp;unemploymentClaimId!=null" name="unemploymentClaimId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${unemploymentClaimId}]"><text size="20" maxlength="20"/></field>
-        <field name="statusId" title="status Id">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem">
-                    <entity-constraint name="statusTypeId" operator="equals" value="POSITION_STATUS"/>
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="roleTypeIdFrom" title="roleTypeIdFrom">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <field name="roleTypeIdTo" title="roleTypeIdTo">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">                    
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>        
-        <field name="partyIdFrom" title="${uiLabelMap.HumanResPartyIdFrom}" use-when="unemploymentClaim==null" ><lookup target-form-name="LookupPartyName"/></field>
-        <field name="partyIdTo" title="${uiLabelMap.HumanResPartyIdTo}" use-when="unemploymentClaim==null" ><lookup target-form-name="LookupPartyName"/></field>        
-        <field name="submitButton" use-when="unemploymentClaim==null" title="Create" widget-style="smallSubmit"><submit button-type="button"/></field>        
-        <field name="submitButton" use-when="unemploymentClaim!=null" title="Update" widget-style="smallSubmit"><submit button-type="button"/></field>  
-    </form>        
-</forms>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
+    <form name="ListEmployments" type="list" target="updateEmployment" paginate-target="findEmployment"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="Employment"/>
+        </actions>
+        <auto-fields-service service-name="updateEmployment"/>
+        
+        <field name="roleTypeIdFrom"><display/></field>
+        <field name="roleTypeIdTo"><display/></field>
+        <field name="partyIdFrom"><display/></field>
+        <field name="partyIdTo"><display/></field>
+        <field name="fromDate"><display/></field>
+        <field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}"><lookup target-form-name="LookupTerminationReasonId"/></field>
+        <field name="terminationTypeId" title="${uiLabelMap.HumanResTerminationTypeId}">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="terminationTypeId" entity-name="TerminationType">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>        
+        <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
+        <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
+            <hyperlink target="deleteEmployment?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+        </field>
+    </form>
+    <form name="EditEmployment" type="single" target="createEmployment"
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-service service-name="createEmployment"/>      
+        <field name="roleTypeIdFrom" tooltip="${uiLabelMap.CommonRequired}">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="roleTypeIdTo" tooltip="${uiLabelMap.CommonRequired}">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>        
+        <field name="partyIdFrom" title="${uiLabelMap.HumanResPartyIdFrom}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="partyIdTo" title="${uiLabelMap.HumanResPartyIdTo}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="fromDate" title="${uiLabelMap.CommonDate}" tooltip="${uiLabelMap.CommonRequired}"/>
+        <field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}"><lookup target-form-name="LookupTerminationReason"/></field>
+        <field name="terminationTypeId" title="${uiLabelMap.HumanResTerminationTypeId}">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="terminationTypeId" entity-name="TerminationType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>      
+        <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
+    </form>
+    <form name="ListEmploymentApps" type="list" title="" paginate-target="findEmploymentApps"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="EmploymentApp"><order-by field-name="applicationId"/></entity-condition>
+        </actions>
+        <auto-fields-service default-field-type="display" service-name="updateEmploymentApp"/>      
+        <field name="applicationId" title="${uiLabelMap.HumanResApplicationId}" widget-style="buttontext">
+            <hyperlink also-hidden="false" description="${applicationId}" target="EditEmploymentApp?applicationId=${applicationId}"/>
+        </field>
+        <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
+            <hyperlink target="deleteEmploymentApp?applicationId=${applicationId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+        </field>  
+    </form>
+    <form name="EditEmploymentApp" type="single" target="updateEmploymentApp" title="" default-map-name="employmentApp"
+        header-row-style="header-row" default-table-style="basic-table">
+        <alt-target use-when="employmentApp==null" target="createEmploymentApp"/>
+        <auto-fields-service service-name="createEmploymentApp"/>
+        <field use-when="employmentApp!=null" name="applicationId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>        
+        <field name="applicationId" use-when="employmentApp==null"><ignored/></field>
+        <field use-when="employmentApp==null&amp;&amp;applicationId!=null" name="applicationId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${applicationId}]"><text size="20" maxlength="20"/></field>
+        <field name="emplPositionId" use-when="employmentApp!=null"><display/></field>
+        <field name="emplPositionId" use-when="employmentApp==null"><lookup target-form-name="LookupEmplPosition"/></field>
+        <field name="applyingPartyId" use-when="employmentApp!=null"><display/></field>
+        <field name="applyingPartyId" use-when="employmentApp==null"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="referredByPartyId" use-when="employmentApp!=null"><display/></field>
+        <field name="referredByPartyId" use-when="employmentApp==null"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="employmentAppSourceTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${employmentAppSourceTypeId}" key-field-name="employmentAppSourceTypeId" entity-name="EmploymentAppSourceType">
+                    <entity-order-by field-name="employmentAppSourceTypeId"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="submitButton" use-when="employmentApp==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>        
+        <field name="submitButton" use-when="employmentApp!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>                        
+    <form name="ListPayHistories" type="list" target="updatePayHistory" title="" paginate-target="findPayHistories"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="PayHistory">
+                <condition-list combine="and">                    
+                    <condition-expr field-name="roleTypeIdFrom" operator="equals" env-name="parameters.roleTypeIdFrom"/>
+                    <condition-expr field-name="roleTypeIdTo" operator="equals" env-name="parameters.roleTypeIdTo"/>
+                    <condition-expr field-name="partyIdFrom" operator="equals" env-name="parameters.partyIdFrom"/>
+                    <condition-expr field-name="partyIdTo" operator="equals" env-name="parameters.partyIdTo"/>
+                    <condition-expr field-name="fromDate" operator="equals" env-name="parameters.fromDate"/>
+                </condition-list>
+            </entity-condition>            
+        </actions>
+        <auto-fields-service service-name="updatePayHistory"/>        
+        <field name="roleTypeIdFrom"><display/></field>
+        <field name="roleTypeIdTo"><display/></field>
+        <field name="partyIdFrom"><display/></field>
+        <field name="partyIdTo"><display/></field>
+        <field name="fromDate"><display/></field>        
+        <field name="salaryStepSeqId" title="${uiLableMap.HumanResSalaryStepSeqId}"><lookup target-form-name="LookupSalaryStepSeq"/></field>
+        <field name="payGradeId" title="${uiLableMap.HumanResPayGradeID}"><lookup target-form-name="LookupPayGrade"/></field>              
+        <field name="periodTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
+        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
+            <hyperlink target="deletePayHistory?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+        </field>
+    </form>          
+    <form name="ListPartyBenefits" type="list" target="updatePartyBenefit" title="" paginate-target="findPartyBenefits"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="PartyBenefit"/>
+        </actions>
+        <auto-fields-service service-name="updatePartyBenefit"/>        
+        <field name="roleTypeIdFrom"><display/></field>
+        <field name="roleTypeIdTo"><display/></field>
+        <field name="partyIdFrom"><display/></field>
+        <field name="partyIdTo"><display/></field>
+        <field name="benefitTypeId"><display/></field>
+        <field name="fromDate"><display/></field>      
+        <field name="periodTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>        
+        <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
+        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
+            <hyperlink target="deletePartyBenefit?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;fromDate=${fromDate}&amp;benefitTypeId=${benefitTypeId}" description="${uiLabelMap.CommonDelete}"/>
+        </field>            
+    </form>
+    <form name="EditPartyBenefit" type="single" target="createPartyBenefit" title=""
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-service service-name="createPartyBenefit"/>                          
+        <field name="roleTypeIdFrom"><hidden/></field>
+        <field name="roleTypeIdTo"><hidden/></field>
+        <field name="partyIdFrom"><hidden/></field>
+        <field name="partyIdTo"><hidden/></field>  
+        <field name="fromDate"><hidden/></field>
+        <field name="benefitTypeId" tooltip="${uiLabelMap.CommonRequired}">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="benefitTypeId" entity-name="BenefitType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="fromDate" tooltip="${uiLabelMap.CommonRequired}"/>
+        <field name="periodTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>        
+        <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
+    </form>
+    <form name="ListPayrollPreferences" type="list" title="findPayrollPreferences"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="PayrollPreference"><order-by field-name="payrollPreferenceSeqId"/></entity-condition>
+        </actions>        
+        <auto-fields-service default-field-type="display" service-name="updatePayrollPreference"/>        
+        <field name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}" widget-style="buttontext">
+            <hyperlink also-hidden="false" description="${payrollPreferenceSeqId}" target="EditPayrollPreferences?payrollPreferenceSeqId=${payrollPreferenceSeqId}&amp;partyId=${partyId}&amp;roleTypeId=${roleTypeId}"/>
+        </field>
+        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
+            <hyperlink target="deletePayrollPreference?payrollPreferenceSeqId=${payrollPreferenceSeqId}&amp;partyId=${partyId}&amp;roleTypeId=${roleTypeId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+        </field>
+    </form>
+    <form name="EditPayrollPreference" type="single" target="updatePayrollPreference" title="" default-map-name="payrollPreference"
+        header-row-style="header-row" default-table-style="basic-table">
+        <alt-target use-when="payrollPreference==null" target="createPayrollPreference"/>
+        <auto-fields-service service-name="createPayrollPreference" />
+        <field use-when="payrollPreference!=null" name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
+        <field use-when="payrollPreference==null&amp;&amp;payrollPreferenceSeqId==null" name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}"><ignored/></field>
+        <field use-when="payrollPreference==null&amp;&amp;payrollPreferenceSeqId!=null" name="payrollPreferenceSeqId" tooltip="${uiLabelMap.CommonCannotBeFound}: [${payrollPreferenceSeqId}]"><display/></field>                      
+        <field name="partyId"><hidden/></field>
+        <field name="roleTypeId"><hidden/></field>        
+        <field name="fromDate"><hidden/></field>        
+        <field name="deductionTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${deductionTypeId}" key-field-name="deductionTypeId" entity-name="DeductionType">
+                    <entity-order-by field-name="deductionTypeId"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="paymentMethodTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${paymentMethodTypeId}" key-field-name="paymentMethodTypeId" entity-name="PaymentMethodType">
+                    <entity-order-by field-name="paymentMethodTypeId"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="periodTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${periodTypeId}" key-field-name="periodTypeId" entity-name="PeriodType">
+                    <entity-order-by field-name="periodTypeId"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="submitButton" use-when="payrollPreference==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>        
+        <field name="submitButton" use-when="payrollPreference!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListPayGrades" type="list" title="" paginate-target="findPayGrades"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="PayGrade"><order-by field-name="payGradeId"/></entity-condition>
+        </actions>
+        <auto-fields-service default-field-type="display" service-name="updatePayGrade"/>      
+        <field name="payGradeId" widget-style="buttontext">
+            <hyperlink also-hidden="false" description="${payGradeId}" target="EditPayGrade?payGradeId=${payGradeId}"/>
+        </field>
+        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
+            <hyperlink target="deletePayGrade?payGradeId=${payGradeId}" description="${uiLabelMap.CommonDelete}"/>
+        </field>          
+    </form>
+    <form name="EditPayGrade" type="single" target="updatePayGrade" title=""
+        header-row-style="header-row" default-table-style="basic-table">
+        <actions>
+            <entity-one entity-name="PayGrade" value-name="payGrade" />
+        </actions>
+        <alt-target use-when="payGrade==null" target="createPayGrade"/>
+        <auto-fields-service service-name="updatePayGrade" map-name="payGrade"/>
+        <field use-when="payGrade!=null" name="payGradeId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
+        <field name="payGradeId"  use-when="payGrade==null"><ignored/></field>
+        <!-- field name="payGradeId" use-when="payGrade==null&amp;payGradeId!=null" tooltip="${uiLabelMap.CommonCannotBeFound}:[${payGradeId}]"><text size="20" maxlength="20"/></field>-->
+        <field name="submitButton" use-when="payGrade==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>        
+        <field name="submitButton" use-when="payGrade!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListSalarySteps" type="list" title="" target="updateSalaryStep" paginate-target="findSalarySteps"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="SalaryStep"><order-by field-name="salaryStepSeqId"/></entity-condition>
+        </actions>  
+        <auto-fields-service service-name="updateSalaryStep"/>      
+        <field name="salaryStepSeqId" title="${uiLabelMap.HumanResSalaryStepSeqId}"><display/></field>                  
+        <field name="payGradeId" title="${uiLabelMap.HumanResPayGradeID}"><display/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
+            <hyperlink target="deleteSalaryStep?salaryStepSeqId=${salaryStepSeqId}&amp;payGradeId=${payGradeId}" description="${uiLabelMap.CommonDelete}"/>
+        </field>
+    </form>
+    <form name="EditSalaryStep" type="single" target="createSalaryStep" title=""
+        header-row-style="header-row" default-table-style="basic-table">    
+        <auto-fields-service service-name="createSalaryStep"/>        
+        <field name="salaryStepSeqId"><ignored/></field>
+        <field name="payGradeId"><hidden/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListTerminationReasons" type="list" title="" paginate-target="findTerminationReasons"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="TerminationReason"><order-by field-name="terminationReasonId"/></entity-condition>
+        </actions>
+        <auto-fields-service default-field-type="display" service-name="updateTerminationReason"/>        
+        <field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}" widget-style="buttontext">
+            <hyperlink also-hidden="false" description="${terminationReasonId}" target="EditTerminationReason?terminationReasonId=${terminationReasonId}"/>
+        </field>
+        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
+            <hyperlink target="deleteTerminationReason?terminationReasonId=${terminationReasonId}" description="${uiLabelMap.CommonDelete}"/>
+        </field>    
+    </form>
+    <form name="EditTerminationReason" type="single" target="updateTerminationReason" title="" default-map-name = "terminationReason"
+        header-row-style="header-row" default-table-style="basic-table">
+        <alt-target use-when="terminationReason==null" target="createTerminationReason"/>
+        <auto-fields-service service-name="createTerminationReason"/>
+        <field use-when="terminationReason!=null" name="terminationReasonId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>        
+        <field use-when="terminationReason==null" name="terminationReasonId"><ignored/></field>
+        <field use-when="terminationReason==null&amp;&amp;terminationReasonId!=null" name="terminationReasonId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${terminationReasonId}]"><text size="20" maxlength="20"/></field>
+        <field name="submitButton" use-when="terminationReason==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>        
+        <field name="submitButton" use-when="terminationReason!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>  
+    </form>  
+    <form name="ListUnemploymentClaims" type="list" title="" paginate-target="findUnemploymentClaims"
+         odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+         <actions>
+            <entity-condition entity-name="UnemploymentClaim"><order-by field-name="unemploymentClaimId"/></entity-condition>
+        </actions>
+        <auto-fields-service default-field-type="display" service-name="updateUnemploymentClaim"/>        
+        <field name="unemploymentClaimId" widget-style="buttontext">
+            <hyperlink also-hidden="false" description="${unemploymentClaimId}" target="EditUnemploymentClaim?unemploymentClaimId=${unemploymentClaimId}"/>
+        </field>
+        <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
+            <hyperlink target="deleteUnemploymentClaim?unemploymentClaimId=${unemploymentClaimId}" description="${uiLabelMap.CommonDelete}"/>
+        </field>
+    </form>                                      
+    <form name="EditUnemploymentClaim" type="single" target="updateUnemploymentClaim" title="${uiLableMap.HumanResEditUnemploymentClaim}" default-map-name="unemploymentClaim"
+        header-row-style="header-row" default-table-style="basic-table">
+        <alt-target use-when="unemploymentClaim==null" target="createUnemploymentClaim"/>
+        <auto-fields-service service-name="createUnemploymentClaim"/>
+        <field use-when="unemploymentClaim!=null" name="unemploymentClaimId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
+        <field use-when="unemploymentClaim==null" name="unemploymentClaimId"><ignored/></field>        
+        <field use-when="unemploymentClaim==null&amp;&amp;unemploymentClaimId!=null" name="unemploymentClaimId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${unemploymentClaimId}]"><text size="20" maxlength="20"/></field>
+        <field name="statusId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem">
+                    <entity-constraint name="statusTypeId" operator="equals" value="POSITION_STATUS"/>
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="roleTypeIdFrom">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="roleTypeIdTo">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">                    
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>        
+        <field name="partyIdFrom" title="${uiLabelMap.HumanResPartyIdFrom}" use-when="unemploymentClaim==null" ><lookup target-form-name="LookupPartyName"/></field>
+        <field name="partyIdTo" title="${uiLabelMap.HumanResPartyIdTo}" use-when="unemploymentClaim==null" ><lookup target-form-name="LookupPartyName"/></field>        
+        <field name="submitButton" use-when="unemploymentClaim==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>        
+        <field name="submitButton" use-when="unemploymentClaim!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>  
+    </form>        
+</forms>
\ No newline at end of file

Modified: ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml Fri Jan 25 12:12:10 2008
@@ -1,160 +1,172 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
-    <form name="LookupBudget" type="single" target="LookupBudget">
-        <auto-fields-entity entity-name="Budget" default-field-type="hidden"/>
-        <field name="budgetId" title="${uiLabelMap.HumanResBudgetID}"><text-find/></field>
-        <field name="budgetTypeId">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="budgetTypeId" entity-name="BudgetType"></entity-options>
-            </drop-down>
-        </field>
-        <field name="customTimePeriodId"><lookup target-form-name="LookupCustomTimePeriod"/></field>        
-        <field name="noConditionFind"><hidden value="Y"/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListBudgets" type="list" list-name="listIt" paginate-target="LookupBudget">
-        <actions>
-            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
-                <field-map field-name="inputFields" env-name="parameters"/>
-                <field-map field-name="entityName" value="Budget"/>
-            </service>
-        </actions>
-        <auto-fields-entity entity-name="Budget" default-field-type="display"/>
-        <field name="budgetId" widget-style="buttontext">
-            <hyperlink also-hidden="false" target-type="plain" description="${budgetId}" target="javascript:set_value('${budgetId}')"/>
-        </field>        
-    </form>
-    <form name="LookupBudgetItem" type="single" target="LookupBudgetItem">
-        <auto-fields-entity entity-name="BudgetItem" default-field-type="hidden"/>
-        <field name="budgetItemSeqId" title="${uiLabelMap.HumanResBudgetItemSeqId}"><text-find/></field>
-        <field name="budgetItemTypeId">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="budgetItemTypeId" entity-name="BudgetItemType"></entity-options>
-            </drop-down>
-        </field>
-        <field name="budgetId"><lookup target-form-name="LookupBudget"/></field>        
-        <field name="noConditionFind"><hidden value="Y"/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListBudgetItems" type="list" list-name="listIt" paginate-target="LookupBudgetItem">
-        <actions>
-            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
-                <field-map field-name="inputFields" env-name="parameters"/>
-                <field-map field-name="entityName" value="BudgetItem"/>
-            </service>
-        </actions>
-        <auto-fields-entity entity-name="BudgetItem" default-field-type="display"/>        
-        <field name="budgetItemSeqId" widget-style="buttontext">
-            <hyperlink also-hidden="false" target-type="plain" description="${budgetItemSeqId}" target="javascript:set_value('${budgetItemSeqId}')"/>
-        </field>        
-    </form>
-    <form name="LookupEmplPosition" type="single" target="LookupEmplPosition">
-        <auto-fields-entity entity-name="EmplPosition" default-field-type="hidden"/>
-        <field name="emplPositionId" title="${uiLabelMap.HumanResEmplPositionId}"><text-find/></field>
-        <field name="statusId">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem"></entity-options>
-            </drop-down>
-        </field>
-        <field name="emplPositionTypeId">
-            <drop-down allow-empty="false">
-                <entity-options description="${description}" key-field-name="emplPositionTypeId" entity-name="EmplPositionType"></entity-options>
-            </drop-down>
-        </field>
-        <field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
-        <field name="budgetId"><lookup target-form-name="LookupBudget"/></field>
-        <field name="budgetItemSeqId"><lookup target-form-name="LookupBudgetItem"/></field>
-        <field name="noConditionFind"><hidden value="Y"/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListEmplPositions" type="list" list-name="listIt" paginate-target="LookupEmplPosition">
-        <actions>
-            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
-                <field-map field-name="inputFields" env-name="parameters"/>
-                <field-map field-name="entityName" value="EmplPosition"/>
-            </service>
-        </actions>        
-        <field name="emplPositionId" widget-style="buttontext">
-            <hyperlink also-hidden="false" target-type="plain" description="${emplPositionId}" target="javascript:set_value('${emplPositionId}')"/>
-        </field>
-        <field name="statusId"><display/></field>
-        <field name="partyId"><display/></field>
-        <field name="budgetId"><display/></field>
-        <field name="budgetItemSeqId"><display/></field>
-        <field name="emplPositionTypeId"><display/></field>
-    </form>
-    <form name="LookupTerminationReason" type="single" target="LookupTerminationReason">
-        <auto-fields-entity entity-name="TerminationReason" default-field-type="hidden"/>
-        <field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}"><text-find/></field>                
-        <field name="noConditionFind"><hidden value="Y"/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListTerminationReasons" type="list" list-name="listIt" paginate-target="LookupEmplPosition">
-        <actions>
-            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
-                <field-map field-name="inputFields" env-name="parameters"/>
-                <field-map field-name="entityName" value="TerminationReason"/>
-            </service>
-        </actions>
-        <field name="terminationReasonId" widget-style="buttontext">
-            <hyperlink also-hidden="false" target-type="plain" description="${terminationReasonId}" target="javascript:set_value('${terminationReasonId}')"/>
-        </field>        
-        <field name="description"><display/></field>        
-    </form>
-    <form name="LookupSalaryStep" type="single" target="LookupSalaryStep">
-        <auto-fields-entity entity-name="SalaryStep" default-field-type="hidden"/>
-        <field name="salaryStepSeqId" title="${uiLabelMap.HumanResLookupSalaryStepSeqId}"><text-find/></field>                
-        <field name="noConditionFind"><hidden value="Y"/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListSalarySteps" type="list" list-name="listIt" paginate-target="LookupSalaryStep">
-        <actions>
-            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
-                <field-map field-name="inputFields" env-name="parameters"/>
-                <field-map field-name="entityName" value="SalaryStep"/>
-            </service>
-        </actions>
-        <field name="salaryStepId" widget-style="buttontext">
-            <hyperlink also-hidden="false" target-type="plain" description="${salaryStepId}" target="javascript:set_value('${salaryStepId}')"/>
-        </field>        
-        <field name="description"><display/></field>        
-    </form>
-    <form name="LookupPayGrade" type="single" target="LookupPayGrade">
-        <auto-fields-entity entity-name="SalaryStep" default-field-type="hidden"/>
-        <field name="payGradeId" title="${uiLabelMap.HumanResLookupPayGradeId}"><text-find/></field>                
-        <field name="noConditionFind"><hidden value="Y"/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
-    </form>
-    <form name="ListPayGrades" type="list" list-name="listIt" paginate-target="LookupPayGrade">
-        <actions>
-            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
-                <field-map field-name="inputFields" env-name="parameters"/>
-                <field-map field-name="entityName" value="PayGrade"/>
-            </service>
-        </actions>
-        <field name="payGradeId" widget-style="buttontext">
-            <hyperlink also-hidden="false" target-type="plain" description="${payGradeId}" target="javascript:set_value('${payGradeId}')"/>
-        </field>        
-        <field name="description"><display/></field>        
-    </form>    
-</forms>        
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
+    <form name="LookupBudget" type="single" target="LookupBudget"
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-entity entity-name="Budget" default-field-type="hidden"/>
+        <field name="budgetId" title="${uiLabelMap.HumanResBudgetID}"><text-find/></field>
+        <field name="budgetTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="budgetTypeId" entity-name="BudgetType"></entity-options>
+            </drop-down>
+        </field>
+        <field name="customTimePeriodId"><lookup target-form-name="LookupCustomTimePeriod"/></field>        
+        <field name="noConditionFind"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListBudgets" type="list" list-name="listIt" paginate-target="LookupBudget"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+                <field-map field-name="inputFields" env-name="parameters"/>
+                <field-map field-name="entityName" value="Budget"/>
+            </service>
+        </actions>
+        <auto-fields-entity entity-name="Budget" default-field-type="display"/>
+        <field name="budgetId" widget-style="buttontext">
+            <hyperlink also-hidden="false" target-type="plain" description="${budgetId}" target="javascript:set_value('${budgetId}')"/>
+        </field>        
+    </form>
+    <form name="LookupBudgetItem" type="single" target="LookupBudgetItem"
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-entity entity-name="BudgetItem" default-field-type="hidden"/>
+        <field name="budgetItemSeqId" title="${uiLabelMap.HumanResBudgetItemSeqId}"><text-find/></field>
+        <field name="budgetItemTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="budgetItemTypeId" entity-name="BudgetItemType"></entity-options>
+            </drop-down>
+        </field>
+        <field name="budgetId"><lookup target-form-name="LookupBudget"/></field>        
+        <field name="noConditionFind"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListBudgetItems" type="list" list-name="listIt" paginate-target="LookupBudgetItem"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+                <field-map field-name="inputFields" env-name="parameters"/>
+                <field-map field-name="entityName" value="BudgetItem"/>
+            </service>
+        </actions>
+        <auto-fields-entity entity-name="BudgetItem" default-field-type="display"/>        
+        <field name="budgetItemSeqId" widget-style="buttontext">
+            <hyperlink also-hidden="false" target-type="plain" description="${budgetItemSeqId}" target="javascript:set_value('${budgetItemSeqId}')"/>
+        </field>        
+    </form>
+    <form name="LookupEmplPosition" type="single" target="LookupEmplPosition"
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-entity entity-name="EmplPosition" default-field-type="hidden"/>
+        <field name="emplPositionId" title="${uiLabelMap.HumanResEmplPositionId}"><text-find/></field>
+        <field name="statusId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem"></entity-options>
+            </drop-down>
+        </field>
+        <field name="emplPositionTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" key-field-name="emplPositionTypeId" entity-name="EmplPositionType"></entity-options>
+            </drop-down>
+        </field>
+        <field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="budgetId"><lookup target-form-name="LookupBudget"/></field>
+        <field name="budgetItemSeqId"><lookup target-form-name="LookupBudgetItem"/></field>
+        <field name="noConditionFind"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListEmplPositions" type="list" list-name="listIt" paginate-target="LookupEmplPosition"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+                <field-map field-name="inputFields" env-name="parameters"/>
+                <field-map field-name="entityName" value="EmplPosition"/>
+            </service>
+        </actions>        
+        <field name="emplPositionId" widget-style="buttontext">
+            <hyperlink also-hidden="false" target-type="plain" description="${emplPositionId}" target="javascript:set_value('${emplPositionId}')"/>
+        </field>
+        <field name="statusId"><display/></field>
+        <field name="partyId"><display/></field>
+        <field name="budgetId"><display/></field>
+        <field name="budgetItemSeqId"><display/></field>
+        <field name="emplPositionTypeId"><display/></field>
+    </form>
+    <form name="LookupTerminationReason" type="single" target="LookupTerminationReason"
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-entity entity-name="TerminationReason" default-field-type="hidden"/>
+        <field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}"><text-find/></field>                
+        <field name="noConditionFind"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListTerminationReasons" type="list" list-name="listIt" paginate-target="LookupEmplPosition"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+                <field-map field-name="inputFields" env-name="parameters"/>
+                <field-map field-name="entityName" value="TerminationReason"/>
+            </service>
+        </actions>
+        <field name="terminationReasonId" widget-style="buttontext">
+            <hyperlink also-hidden="false" target-type="plain" description="${terminationReasonId}" target="javascript:set_value('${terminationReasonId}')"/>
+        </field>        
+        <field name="description"><display/></field>        
+    </form>
+    <form name="LookupSalaryStep" type="single" target="LookupSalaryStep"
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-entity entity-name="SalaryStep" default-field-type="hidden"/>
+        <field name="salaryStepSeqId" title="${uiLabelMap.HumanResLookupSalaryStepSeqId}"><text-find/></field>                
+        <field name="noConditionFind"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListSalarySteps" type="list" list-name="listIt" paginate-target="LookupSalaryStep"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+                <field-map field-name="inputFields" env-name="parameters"/>
+                <field-map field-name="entityName" value="SalaryStep"/>
+            </service>
+        </actions>
+        <field name="salaryStepId" widget-style="buttontext">
+            <hyperlink also-hidden="false" target-type="plain" description="${salaryStepId}" target="javascript:set_value('${salaryStepId}')"/>
+        </field>        
+        <field name="description"><display/></field>        
+    </form>
+    <form name="LookupPayGrade" type="single" target="LookupPayGrade"
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-entity entity-name="SalaryStep" default-field-type="hidden"/>
+        <field name="payGradeId" title="${uiLabelMap.HumanResLookupPayGradeId}"><text-find/></field>                
+        <field name="noConditionFind"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListPayGrades" type="list" list-name="listIt" paginate-target="LookupPayGrade"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+                <field-map field-name="inputFields" env-name="parameters"/>
+                <field-map field-name="entityName" value="PayGrade"/>
+            </service>
+        </actions>
+        <field name="payGradeId" widget-style="buttontext">
+            <hyperlink also-hidden="false" target-type="plain" description="${payGradeId}" target="javascript:set_value('${payGradeId}')"/>
+        </field>        
+        <field name="description"><display/></field>        
+    </form>    
+</forms>
\ No newline at end of file