You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2008/01/25 21:12:11 UTC

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

Author: mrisaliti
Date: Fri Jan 25 12:12:10 2008
New Revision: 615322

URL: http://svn.apache.org/viewvc?rev=615322&view=rev
Log:
All the human resources forms (ftl/widgets screen) has now the same look and feel (Part of issue OFBIZ-1595)

Modified:
    ofbiz/trunk/applications/humanres/config/HumanResUiLabels.properties
    ofbiz/trunk/applications/humanres/config/HumanResUiLabels_it.properties
    ofbiz/trunk/applications/humanres/widget/CommonScreens.xml
    ofbiz/trunk/applications/humanres/widget/EmplPositionScreens.xml
    ofbiz/trunk/applications/humanres/widget/EmploymentScreens.xml
    ofbiz/trunk/applications/humanres/widget/LookupScreens.xml
    ofbiz/trunk/applications/humanres/widget/Menus.xml
    ofbiz/trunk/applications/humanres/widget/PartyAbilityScreens.xml
    ofbiz/trunk/applications/humanres/widget/forms/EmplPositionForms.xml
    ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml
    ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml
    ofbiz/trunk/applications/humanres/widget/forms/PartyAbilityForms.xml

Modified: ofbiz/trunk/applications/humanres/config/HumanResUiLabels.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/config/HumanResUiLabels.properties?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/config/HumanResUiLabels.properties (original)
+++ ofbiz/trunk/applications/humanres/config/HumanResUiLabels.properties Fri Jan 25 12:12:10 2008
@@ -167,3 +167,38 @@
 FormFieldTitle_referredByPartyId=Referred By Party Id
 FormFieldTitle_applicationDate=Application Date
 FormFieldTitle_applicationId=Application Id
+FormFieldTitle_statusId=Status Id
+FormFieldTitle_budgetId=Budget Id
+FormFieldTitle_budgetItemSeqId=Budget Item Seq Id
+FormFieldTitle_benefitTypeId=Benefit Type Id
+FormFieldTitle_periodTypeId=Period Type Id
+FormFieldTitle_cost=Cost
+FormFieldTitle_actualEmployerPaidPercent=Actual Employer Paid Percent
+FormFieldTitle_availableTime=Available Time
+FormFieldTitle_managerPartyId=Manager Party Id
+FormFieldTitle_managerRoleTypeId=Manager Role Type Id
+FormFieldTitle_paymentId=Payment Id
+FormFieldTitle_payHistoryRoleTypeIdFrom=Pay History Role Type Id From
+FormFieldTitle_payHistoryRoleTypeIdTo=Pay History Role Type Id To
+FormFieldTitle_payHistoryPartyIdFrom=Pay History Party Id From
+FormFieldTitle_payHistoryPartyIdTo=Pay History Party Id To
+FormFieldTitle_payHistoryFromDate=Pay History From Date
+FormFieldTitle_deductionTypeId=Deduction Type Id
+FormFieldTitle_paymentMethodTypeId=Payment Method Type Id
+FormFieldTitle_employeePartyId=Employee Party Id
+FormFieldTitle_employeeRoleTypeId=Employee Role Type Id
+FormFieldTitle_perfReviewId=Perf Review Id
+FormFieldTitle_partyId=Party Id
+FormFieldTitle_percentage=Percentage
+FormFieldTitle_flatAmount=Flat Amount
+FormFieldTitle_routingNumber=Routing Number
+FormFieldTitle_accountNumber=Account Number
+FormFieldTitle_bankName=Bank Name
+FormFieldTitle_amount=Amount
+FormFieldTitle_payGradeId=Pay Grade Id
+FormFieldTitle_payGradeName=Pay Grade Name
+FormFieldTitle_dateModified=Date Modified
+FormFieldTitle_yearsExperience=Years Experience
+FormFieldTitle_rating=Rating
+FormFieldTitle_skillLevel=Skill Level
+FormFieldTitle_startedUsingDate=Started Using Date
\ No newline at end of file

Modified: ofbiz/trunk/applications/humanres/config/HumanResUiLabels_it.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/config/HumanResUiLabels_it.properties?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/config/HumanResUiLabels_it.properties (original)
+++ ofbiz/trunk/applications/humanres/config/HumanResUiLabels_it.properties Fri Jan 25 12:12:10 2008
@@ -83,6 +83,7 @@
 HumanResManagerApplication=Applicazione Gestione Risorse Umane
 HumanResNewEmployment=Nuovo Impiegato
 HumanResNewEmplPosition=Nuova Posizione Impiegato
+HumanResNewEmplPositionFulfillment=Nuova Posizione Impiegato Adempimento
 HumanResNewEmplPositionResponsibility=Nuova Posizione Responsabilit\u00e0 Impiegato
 HumanResNewEmplPositionReportingStruct=Nuova Posizione Impiegato Struttura Stampa
 HumanResNewPartyBenefit=Nuovo Benefit Soggetto
@@ -100,6 +101,7 @@
 HumanResNewPayHistory=Nuovo Storia Paghe
 HumanResNewPayrollPreferences=Nuove Preferenze Paghe
 HumanResNewSalaryStep=Nuovo Passo Salario
+HumanResNewSkillType=Nuovo Tipo Abilit\u00e0
 HumanResNewTerminationReason=Nuova Motivazione Licenziamento
 HumanResNewUnemploymentClaim=Nuovo Reclamo Disoccupazione
 HumanResPartyBenifit=Benifit Soggetto
@@ -114,6 +116,8 @@
 HumanResPayrollPreferenceSeqId=Sequenza Preferenze Paghe
 HumanResResponsibilityTypeId=Tipo Responsabilit\u00e0
 HumanResSalaryStepSeqId=Sequenza Passo Salario
+HumanResSkillType=Tipo Abilità
+HumanResSkillTypeId=Codice Tipo Abilità
 HumanResTerminationReason=Motivazione Licenziamento
 HumanResTerminationReasonId=Codice Motivazione Licenziamento
 HumanResTerminationTypeId=Tipo Licenziamento
@@ -121,10 +125,12 @@
 HumanResUnemploymentClaim=Reclamo Disoccupazione
 PageTitleEditEmplPosition=Aggiorna Posizione Impiegato
 PageTitleEditPartyReview=Aggiorna Rassegna Prestazioni
-PageTitleEditPartyReviewItem==Aggiorna Riga Rassegna Prestazioni
+PageTitleEditPartyReviewItem=Aggiorna Riga Rassegna Prestazioni
+PageTitleEditSkillType=Aggiorna Tipo Abilit\u00e0
 PageTitleEditValidResponsibility=Aggiorna Validit\u00e0 Responsibilit\u00e0
 PageTitleListPartyReview=Lista Rassegna Prestazioni
 PageTitleListPartyReviewItems=Lista Riga Rassegna Prestazioni
+PageTitleListSkillTypes=Lista Tipi Abilit\u00e0
 PageTitleListEmplPosition=Lista Posizione Impiegato
 PageTitleListEmplPositionFulfillments=Lista Posizione Impiegato Adempimenti
 PageTitleListEmplPositionResponsibilities=Lista Posizione Responsabilit\u00e0 Impiegato
@@ -159,4 +165,39 @@
 FormFieldTitle_applyingPartyId=Soggetto Applicato
 FormFieldTitle_referredByPartyId=Riferito Dal Soggetto
 FormFieldTitle_applicationDate=Data Applicazione
-FormFieldTitle_applicationId=Numero Applicazione
\ No newline at end of file
+FormFieldTitle_applicationId=Numero Applicazione
+FormFieldTitle_statusId=Stato
+FormFieldTitle_budgetId=Codice Budget
+FormFieldTitle_budgetItemSeqId=Numero Seq. Riga Budget
+FormFieldTitle_benefitTypeId=Codice Tipo Benefit
+FormFieldTitle_periodTypeId=Codice Tipo Periodo
+FormFieldTitle_cost=Costo
+FormFieldTitle_actualEmployerPaidPercent=Percentuale Pagata Attualmente all\'Impiegato
+FormFieldTitle_availableTime=Tempo Disponibile
+FormFieldTitle_managerPartyId=Manager
+FormFieldTitle_managerRoleTypeId=Tipo Ruolo Manager
+FormFieldTitle_paymentId=Pagamento
+FormFieldTitle_payHistoryRoleTypeIdFrom=Storia Tipo Ruolo Pagamento Da
+FormFieldTitle_payHistoryRoleTypeIdTo=Storia Tipo Ruolo Pagamento A
+FormFieldTitle_payHistoryPartyIdFrom=Storia Soggetto Pagamento Da
+FormFieldTitle_payHistoryPartyIdTo=Storia Soggetto Pagamento A
+FormFieldTitle_payHistoryFromDate=Storia Data Pagamento Da
+FormFieldTitle_deductionTypeId=Tipo Deduzione
+FormFieldTitle_paymentMethodTypeId=Tipo Metodo di Pagamento
+FormFieldTitle_employeePartyId=Soggetto Impiegato
+FormFieldTitle_employeeRoleTypeId=Tipo Ruolo Impiegato
+FormFieldTitle_perfReviewId=Rassegna Prestazioni
+FormFieldTitle_partyId=Soggetto
+FormFieldTitle_percentage=Percentuale
+FormFieldTitle_flatAmount=Importo Fisso
+FormFieldTitle_routingNumber=Numero Routing
+FormFieldTitle_accountNumber=Numero Conto
+FormFieldTitle_bankName=Nome Banca
+FormFieldTitle_amount=Importo
+FormFieldTitle_payGradeId=Grado Paga
+FormFieldTitle_payGradeName=Nome Grado Paga
+FormFieldTitle_dateModified=Data Modifica
+FormFieldTitle_yearsExperience=Anni di Esperienza
+FormFieldTitle_rating=Tasso
+FormFieldTitle_skillLevel=Livello Abilit\u00e0
+FormFieldTitle_startedUsingDate=Data di Inizio Usata
\ No newline at end of file

Modified: ofbiz/trunk/applications/humanres/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/CommonScreens.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/CommonScreens.xml Fri Jan 25 12:12:10 2008
@@ -26,8 +26,8 @@
                 <property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>                
                 <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
                 <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
-                <set field="layoutSettings.companyName" from-field="uiLabelMap.HumanresCompanyName" global="true"/>
-                <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.HumanresCompanySubtitle" global="true"/>
+                <set field="layoutSettings.companyName" from-field="uiLabelMap.HumanResCompanyName" global="true"/>
+                <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.HumanResCompanySubtitle" global="true"/>
                 <!-- layoutSettings.headerImageUrl can be used to specify an application specific logo; if not set,
                      then the global layoutSettings.commonHeaderImageUrl (specified in GlobalDecorator) will be used. -->
                 <!--<set field="layoutSettings.headerImageUrl" value="/images/ofbiz_logo.jpg" global="true"/>-->

Modified: ofbiz/trunk/applications/humanres/widget/EmplPositionScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/EmplPositionScreens.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/EmplPositionScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/EmplPositionScreens.xml Fri Jan 25 12:12:10 2008
@@ -1,193 +1,286 @@
-<?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.
--->
-
-<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
-    <screen name="ListEmplPositions">
-        <section>
-            <actions>
-                <set field="titleProperty" value="PageTitleListEmplPosition"/>
-                <set field="headerItem" value="EmplPosition"/>
-            </actions>
-            
-            <widgets>
-                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link target="EditEmplPosition" text="${uiLabelMap.HumanResNewEmplPosition}" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>                        
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResListEmplPosition}</label>
-                            </container>                            
-                        </container>                        
-                        <include-form name="ListEmplPositions" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>
-    <screen name="EditEmplPosition">
-        <section>                        
-            <actions>
-                <set field="titleProperty" value="PageTitleEditEmplPosition"/>
-                <set field="tabButtonItem" value="EditEmplPositionFulfillment"/>
-                <set field="emplPositionId" from-field="parameters.emplPositionId"/>
-                <entity-one entity-name="EmplPosition" value-name="emplPosition" />
-            </actions>            
-            <widgets>
-                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">                                                                                       
-                        <container>
-                            <link target="EditEmplPosition" text="${uiLabelMap.HumanResNewEmplPosition}" style="buttontext" />
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditEmplPosition}</label>
-                            </container>                                    
-                            <include-form name="EditEmplPosition" location="component://humanres/widget/forms/EmplPositionForms.xml" />
-                        </container>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>            
-        </section>
-    </screen>
-    <screen name="EditEmplPositionFulfillments">
-        <section>
-            <actions>
-                <set field="titleProperty" value="PageTitleListEmplPositionFulfillments"/>
-                <set field="tabButtonItem" value="EditEmplPositionFulfillment"/>                
-                <set field="emplPositionId" from-field="parameters.emplPositionId"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                             <link target="EditEmplPositionFulfillments" text="${uiLabelMap.HumanResNewEmplPositionFulfillment}" style="buttontext"/>
-                        </container>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditEmplPositionFulfillment}</label>
-                            </container>
-                            <include-form name="ListEmplPositionFulfillments" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
-                            <include-form name="EditEmplPositionFulfillment" location="component://humanres/widget/forms/EmplPositionForms.xml"/>    
-                        </container>                        
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>
-    <screen name="EditEmplPositionResponsibilities">
-        <section>
-            <actions>
-                <set field="titleProperty" value="PageTitleListEmplPositionResponsibilities"/>
-                <set field="tabButtonItem" value="EditEmplPositionResponsibility"/>                
-                <set field="emplPositionId" from-field="parameters.emplPositionId"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                             <link target="EditEmplPositionResponsibility" text="${uiLabelMap.HumanResNewEmplPositionResponsibility}" style="buttontext"/>
-                        </container>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditEmplPositionResponsibility}</label>
-                            </container>
-                            <include-form name="ListEmplPositionResponsibilities" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
-                            <include-form name="EditEmplPositionResponsibility" location="component://humanres/widget/forms/EmplPositionForms.xml"/>   
-                        </container>                        
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>
-    <screen name="EditEmplPositionReportingStructs">
-        <section>
-            <actions>
-                <set field="titleProperty" value="PageTitleListEmplPositionReportingStructs"/>
-                <set field="tabButtonItem" value="EditEmplPositionReportingStruct"/>                
-                <set field="emplPositionId" from-field="parameters.emplPositionId"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                             <link target="EditEmplPositionReportingStruct" text="${uiLabelMap.HumanResNewEmplPositionReportingStruct}" style="buttontext"/>
-                        </container>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditEmplPositionReportingStruct}</label>
-                            </container>
-                            <include-form name="ListEmplPositionReportingStructs" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
-                            <include-form name="EditEmplPositionReportingStruct" location="component://humanres/widget/forms/EmplPositionForms.xml"/>  
-                        </container>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>    
-    <screen name="ListValidResponsibilities">
-        <section>
-            <actions>
-                <set field="titleProperty" value="PageTitleListValidResponsibilities"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                             <link target="EditValidResponsibility" text="${uiLabelMap.HumanResNewValidResponsibility}" style="buttontext"/>
-                        </container>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResListValidResponsibility}</label>
-                            </container>
-                            <include-form name="ListValidResponsibilities" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
-                        </container>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>
-    <screen name="EditValidResponsibility">
-        <section>
-            <actions>
-                <set field="titleProperty" value="PageTitleEditValidResponsibility"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                             <link target="EditValidResponsibility" text="${uiLabelMap.HumanResNewValidResponsibility}" style="buttontext"/>
-                        </container>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditValidResponsibility}</label>
-                            </container>
-                            <include-form name="EditValidResponsibility" location="component://humanres/widget/forms/EmplPositionForms.xml"/>  
-                        </container>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>    
-</screens>
+<?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.
+-->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
+    <screen name="ListEmplPositions">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleListEmplPosition"/>
+                <set field="headerItem" value="EmplPosition"/>
+            </actions>
+            
+            <widgets>
+                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListEmplPosition}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link target="EditEmplPosition" text="${uiLabelMap.HumanResNewEmplPosition}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListEmplPositions" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>
+    <screen name="EditEmplPosition">
+        <section>                        
+            <actions>
+                <set field="titleProperty" value="PageTitleEditEmplPosition"/>
+                <set field="tabButtonItem" value="EditEmplPositionFulfillment"/>
+                <set field="emplPositionId" from-field="parameters.emplPositionId"/>
+                <entity-one entity-name="EmplPosition" value-name="emplPosition" />
+            </actions>            
+            <widgets>
+                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">                                                                                       
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditEmplPosition}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link target="EditEmplPosition" text="${uiLabelMap.HumanResNewEmplPosition}" style="buttontext" />
+                                        </container>
+                                        <include-form name="EditEmplPosition" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>            
+        </section>
+    </screen>
+    <screen name="EditEmplPositionFulfillments">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleListEmplPositionFulfillments"/>
+                <set field="tabButtonItem" value="EditEmplPositionFulfillment"/>                
+                <set field="emplPositionId" from-field="parameters.emplPositionId"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.PageTitleListEmplPositionFulfillments}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                             <link target="EditEmplPositionFulfillments" text="${uiLabelMap.HumanResNewEmplPositionFulfillment}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListEmplPositionFulfillments" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditEmplPositionFulfillment}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <include-form name="EditEmplPositionFulfillment" location="component://humanres/widget/forms/EmplPositionForms.xml"/>    
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>             
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>
+    <screen name="EditEmplPositionResponsibilities">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleListEmplPositionResponsibilities"/>
+                <set field="tabButtonItem" value="EditEmplPositionResponsibility"/>                
+                <set field="emplPositionId" from-field="parameters.emplPositionId"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.PageTitleListEmplPositionResponsibilities}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                             <link target="EditEmplPositionResponsibility" text="${uiLabelMap.HumanResNewEmplPositionResponsibility}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListEmplPositionResponsibilities" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditEmplPositionResponsibility}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <include-form name="EditEmplPositionResponsibility" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>                  
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>
+    <screen name="EditEmplPositionReportingStructs">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleListEmplPositionReportingStructs"/>
+                <set field="tabButtonItem" value="EditEmplPositionReportingStruct"/>                
+                <set field="emplPositionId" from-field="parameters.emplPositionId"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmplPositionDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.PageTitleListEmplPositionReportingStructs}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                             <link target="EditEmplPositionReportingStruct" text="${uiLabelMap.HumanResNewEmplPositionReportingStruct}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListEmplPositionReportingStructs" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditEmplPositionReportingStruct}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <include-form name="EditEmplPositionReportingStruct" location="component://humanres/widget/forms/EmplPositionForms.xml"/>  
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>    
+    <screen name="ListValidResponsibilities">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleListValidResponsibilities"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListValidResponsibility}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                             <link target="EditValidResponsibility" text="${uiLabelMap.HumanResNewValidResponsibility}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListValidResponsibilities" location="component://humanres/widget/forms/EmplPositionForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>
+    <screen name="EditValidResponsibility">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleEditValidResponsibility"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditValidResponsibility}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                             <link target="EditValidResponsibility" text="${uiLabelMap.HumanResNewValidResponsibility}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="EditValidResponsibility" location="component://humanres/widget/forms/EmplPositionForms.xml"/>  
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>    
+</screens>
\ No newline at end of file

Modified: ofbiz/trunk/applications/humanres/widget/EmploymentScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/EmploymentScreens.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/EmploymentScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/EmploymentScreens.xml Fri Jan 25 12:12:10 2008
@@ -1,379 +1,529 @@
-<?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.
--->
-
-<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
-    <screen name="ListEmployments">
-        <section>
-            <actions>
-                <set field="headerItem" value="Employment"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link text="${uiLabelMap.HumanResNewEmployment}" target="EditEmployment" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResListEmployments}</label>
-                            </container>                            
-                        </container>
-                        <include-form name="ListEmployments" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>    
-    <screen name="EditEmployment">
-        <section>
-            <actions>
-                <set field="headerItem" value="Employment"/>
-                <set field="roleTypeIdFrom" from-field="parameters.roleTypeIdFrom"/>
-                <set field="roleTypeIdTo" from-field="parameters.roleTypeIdTo"/>
-                <set field="partyIdFrom" from-field="parameters.partyIdFrom"/>
-                <set field="partyIdTo" from-field="parameters.partyIdTo"/>
-                <set field="fromDate" from-field="parameters.fromDate"/>                                                
-                <entity-one entity-name="Employment" value-name="employment"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link text="${uiLabelMap.HumanResNewEmployment}" target="EditEmployment" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditEmployment}</label>
-                            </container>                            
-                        </container>
-                        <include-form name="EditEmployment" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>
-    <screen name="ListEmploymentApps">
-        <section>
-            <actions>
-                <set field="headerItem" value="EmploymentApp"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link text="${uiLabelMap.HumanResNewEmploymentApp}" target="EditEmploymentApp" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResListEmploymentApps}</label>
-                            </container>
-                        </container>
-                        <include-form name="ListEmploymentApps" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>    
-    <screen name="EditEmploymentApp">
-        <section>
-            <actions>
-                <set field="headerItem" value="EmploymentApp"/>
-                <set field="applicationId" from-field="parameters.applicationId"/>
-                <entity-one entity-name="EmploymentApp" value-name="employmentApp"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link text="${uiLabelMap.HumanResNewEmploymentApp}" target="EditEmploymentApp" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditEmploymentApp}</label>
-                            </container>
-                        </container>
-                        <include-form name="EditEmploymentApp" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>    
-    <screen name="ListPayHistories">
-        <section>
-            <actions>
-                <set field="headerItem" value="Employment"/>                
-                <set field="tabButtonItem" value="EditPayHistory"/>                
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <!-- link text="${uiLabelMap.HumanResNewPayHistory}" target="EditPayHistory" style="buttontext"/> -->
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResListPayHistories}</label>
-                            </container>
-                        </container>
-                        <include-form name="ListPayHistories" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                        <label>&lt;br/&gt;</label>                        
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>    
-    <screen name="EditPartyBenefits">
-        <section>
-            <actions>
-                <set field="headerItem" value="Employment"/>
-                <set field="tabButtonItem" value="EditPartyBenefit"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link text="${uiLabelMap.HumanResNewPartyBenefit}" target="EditPartyBenefit" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditPartyBenefit}</label>
-                            </container>
-                        </container>
-                        <include-form name="ListPartyBenefits" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                        <include-form name="EditPartyBenefit" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>    
-    <screen name="EditPayrollPreferences">
-        <section>
-            <actions>
-                <set field="headerItem" value="Employment"/>
-                <set field="tabButtonItem" value="EditPayrollPreference"/>
-                <set field="payrollPreferenceSeqId" from-field="parameters.payrollPreferenceSeqId"/>
-                <set field="partyId" from-field="parameters.partyIdTo"/>
-                <set field="roleTypeId" from-field="parameters.roleTypeIdTo"/>                
-                <entity-one entity-name="PayrollPreference" value-name="payrollPreference" />
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link text="${uiLabelMap.HumanResNewPayrollPreferences}" target="EditPayrollPreference" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditPayrollPreference}</label>
-                            </container>
-                        </container>
-                        <include-form name="ListPayrollPreferences" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                        <include-form name="EditPayrollPreference" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>    
-    <screen name="ListPayGrades">
-        <section>
-            <actions>
-                <set field="headerItem" value="PayGrade"/>
-                <set field="tabButtonItem" value="EditSalaryStep"/>
-                <set field="payGradeId" from-field="parameters.payGradeId" />                
-            </actions> 
-            <widgets>
-                <decorator-screen name="CommonPayGradeDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link target="EditPayGrade" text="${uiLabelMap.HumanResNewPayGrade}" style="buttontext"/>
-                        </container>                       
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResListPayGrade}</label>
-                            </container>
-                        </container>                        
-                        <include-form name="ListPayGrades" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>
-    <screen name="EditPayGrade">
-        <section>            
-            <actions>
-                <set field="headerItem" value="PayGrade"/>
-                <set field="tabButtonItem" value="EditSalaryStep"/>
-                <set field="payGradeId" from-field="parameters.payGradeId"/>
-                <entity-one entity-name="PayGrade" value-name="payGrade"/>
-            </actions>            
-            <widgets>
-                <decorator-screen name="CommonPayGradeDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <section>                            
-                            <widgets>                                
-                                <label>&lt;br/&gt;</label>
-                                <container>
-                                    <link target="EditPayGrade" text="${uiLabelMap.HumanResNewPayGrade}" style="buttontext" />
-                                </container>
-                                <container style="boxoutside">
-                                    <container style="screenlet-header">
-                                        <label style="boxhead">${uiLabelMap.HumanResEditPayGrade}</label>
-                                    </container>
-                                    <include-form name="EditPayGrade" location="component://humanres/widget/forms/EmploymentForms.xml" />
-                                </container>    
-                            </widgets>                            
-                        </section>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>                              
-        </section>
-    </screen>    
-    <screen name="EditSalarySteps">
-        <section>
-            <actions>
-                <set field="headerItem" value="PayGrade"/>
-                <set field="tabButtonItem" value="EditSalaryStep"/>                
-                <set field="payGradeId" from-field="parameters.payGradeId"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonPayGradeDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">                        
-                        <container>
-                             <link target="EditSalaryStep" text="${uiLabelMap.HumanResNewSalaryStep}" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditSalaryStep}</label>
-                            </container>
-                            <include-form name="ListSalarySteps" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                            <include-form name="EditSalaryStep" location="component://humanres/widget/forms/EmploymentForms.xml"/>    
-                        </container>                        
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>
-    <screen name="ListTerminationReasons">
-        <section>
-            <actions>
-                <set field="headerItem" value="TerminationReason"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link target="EditTerminationReason" text="${uiLabelMap.HumanResNewTerminationReason}" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResListTerminationReasons}</label>
-                            </container>                            
-                        </container>
-                        <include-form name="ListTerminationReasons" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>
-    <screen name="EditTerminationReason">
-        <section>            
-            <actions>
-                <set field="headerItem" value="TerminationReason"/>
-                <set field="terminationReasonId" from-field="parameters.terminationReasonId" />
-                <entity-one entity-name="TerminationReason" value-name="terminationReason" />
-            </actions>            
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">                        
-                        <container>
-                            <link target="EditTerminationReason" text="${uiLabelMap.HumanResNewTerminationReason}" style="buttontext" />
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditTerminationReason}</label>
-                            </container>
-                            <include-form name="EditTerminationReason" location="component://humanres/widget/forms/EmploymentForms.xml" />
-                        </container>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>                              
-        </section>
-    </screen>    
-    <screen name="ListUnemploymentClaims">
-        <section>
-            <actions>
-                <set field="headerItem" value="UnemploymentClaim"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <container>
-                            <link target="EditUnemploymentClaim" text="${uiLabelMap.HumanResNewUnemploymentClaim}" style="buttontext"/>
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResListUnemploymentClaim}</label>
-                            </container>                            
-                        </container>
-                        <include-form name="ListUnemploymentClaims" location="component://humanres/widget/forms/EmploymentForms.xml"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section> 
-    </screen>
-    <screen name="EditUnemploymentClaim">
-        <section>            
-            <actions>
-                <set field="headerItem" value="UnemploymentClaim"/>
-                <set field="unemploymentClaimId" from-field="parameters.unemploymentClaimId" />
-                <entity-one entity-name="UnemploymentClaim" value-name="unemploymentClaim" />
-            </actions>            
-            <widgets>
-                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">                        
-                        <container>
-                            <link target="EditUnemploymentClaim" text="${uiLabelMap.HumanResNewUnemploymentClaim}" style="buttontext" />
-                        </container>
-                        <label>&lt;br/&gt;</label>
-                        <container style="boxoutside">
-                            <container style="screenlet-header">
-                                <label style="boxhead">${uiLabelMap.HumanResEditUnemploymentClaim}</label>
-                            </container>
-                        </container>
-                        <include-form name="EditUnemploymentClaim" location="component://humanres/widget/forms/EmploymentForms.xml" />
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>                              
-        </section>
-    </screen>    
-</screens>
+<?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.
+-->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
+    <screen name="ListEmployments">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResListEmployments"/>
+                <set field="headerItem" value="Employment"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListEmployments}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link text="${uiLabelMap.HumanResNewEmployment}" target="EditEmployment" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListEmployments" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>    
+    <screen name="EditEmployment">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResEditEmployment"/>
+                <set field="headerItem" value="Employment"/>
+                <set field="roleTypeIdFrom" from-field="parameters.roleTypeIdFrom"/>
+                <set field="roleTypeIdTo" from-field="parameters.roleTypeIdTo"/>
+                <set field="partyIdFrom" from-field="parameters.partyIdFrom"/>
+                <set field="partyIdTo" from-field="parameters.partyIdTo"/>
+                <set field="fromDate" from-field="parameters.fromDate"/>                                                
+                <entity-one entity-name="Employment" value-name="employment"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListEmployments}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link text="${uiLabelMap.HumanResNewEmployment}" target="EditEmployment" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListEmployments" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditEmployment}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link text="${uiLabelMap.HumanResNewEmployment}" target="EditEmployment" style="buttontext"/>
+                                        </container>
+                                        <include-form name="EditEmployment" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>                        
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="ListEmploymentApps">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResListEmploymentApps"/>
+                <set field="headerItem" value="EmploymentApp"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListEmploymentApps}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link text="${uiLabelMap.HumanResNewEmploymentApp}" target="EditEmploymentApp" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListEmploymentApps" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>    
+    <screen name="EditEmploymentApp">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResEditEmploymentApp"/>
+                <set field="headerItem" value="EmploymentApp"/>
+                <set field="applicationId" from-field="parameters.applicationId"/>
+                <entity-one entity-name="EmploymentApp" value-name="employmentApp"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditEmploymentApp}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link text="${uiLabelMap.HumanResNewEmploymentApp}" target="EditEmploymentApp" style="buttontext"/>
+                                        </container>
+                                        <include-form name="EditEmploymentApp" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>                        
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>    
+    <screen name="ListPayHistories">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResListPayHistories"/>
+                <set field="headerItem" value="Employment"/>                
+                <set field="tabButtonItem" value="EditPayHistory"/>                
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListPayHistories}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link text="${uiLabelMap.HumanResNewEmploymentApp}" target="EditEmploymentApp" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListPayHistories" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>                        
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>    
+    <screen name="EditPartyBenefits">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResListPartyBenefits"/>
+                <set field="headerItem" value="Employment"/>
+                <set field="tabButtonItem" value="EditPartyBenefit"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListPartyBenefits}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link text="${uiLabelMap.HumanResNewPartyBenefit}" target="EditPartyBenefit" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListPartyBenefits" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditPartyBenefit}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <include-form name="EditPartyBenefit" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>    
+    <screen name="EditPayrollPreferences">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResListPayrollPreferences"/>
+                <set field="headerItem" value="Employment"/>
+                <set field="tabButtonItem" value="EditPayrollPreference"/>
+                <set field="payrollPreferenceSeqId" from-field="parameters.payrollPreferenceSeqId"/>
+                <set field="partyId" from-field="parameters.partyIdTo"/>
+                <set field="roleTypeId" from-field="parameters.roleTypeIdTo"/>                
+                <entity-one entity-name="PayrollPreference" value-name="payrollPreference" />
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListPayrollPreferences}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link text="${uiLabelMap.HumanResNewPayrollPreferences}" target="EditPayrollPreference" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListPayrollPreferences" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditPayrollPreference}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <include-form name="EditPayrollPreference" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>    
+    <screen name="ListPayGrades">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResListPayGrade"/>
+                <set field="headerItem" value="PayGrade"/>
+                <set field="tabButtonItem" value="EditSalaryStep"/>
+                <set field="payGradeId" from-field="parameters.payGradeId" />                
+            </actions> 
+            <widgets>
+                <decorator-screen name="CommonPayGradeDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListPayGrade}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link target="EditPayGrade" text="${uiLabelMap.HumanResNewPayGrade}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListPayGrades" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>
+    <screen name="EditPayGrade">
+        <section>            
+            <actions>
+                <set field="titleProperty" value="HumanResEditPayGrade"/>
+                <set field="headerItem" value="PayGrade"/>
+                <set field="tabButtonItem" value="EditSalaryStep"/>
+                <set field="payGradeId" from-field="parameters.payGradeId"/>
+                <entity-one entity-name="PayGrade" value-name="payGrade"/>
+            </actions>            
+            <widgets>
+                <decorator-screen name="CommonPayGradeDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditPayGrade}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link target="EditPayGrade" text="${uiLabelMap.HumanResNewPayGrade}" style="buttontext" />
+                                        </container>
+                                        <include-form name="EditPayGrade" location="component://humanres/widget/forms/EmploymentForms.xml" />
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>                              
+        </section>
+    </screen>    
+    <screen name="EditSalarySteps">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResEditSalaryStep"/>
+                <set field="headerItem" value="PayGrade"/>
+                <set field="tabButtonItem" value="EditSalaryStep"/>                
+                <set field="payGradeId" from-field="parameters.payGradeId"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonPayGradeDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">                        
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditSalaryStep}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                             <link target="EditSalaryStep" text="${uiLabelMap.HumanResNewSalaryStep}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListSalarySteps" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                        <include-form name="EditSalaryStep" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>                  
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>
+    <screen name="ListTerminationReasons">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResListTerminationReasons"/>
+                <set field="headerItem" value="TerminationReason"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListTerminationReasons}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link target="EditTerminationReason" text="${uiLabelMap.HumanResNewTerminationReason}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListTerminationReasons" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>
+    <screen name="EditTerminationReason">
+        <section>            
+            <actions>
+                <set field="titleProperty" value="HumanResEditTerminationReason"/>
+                <set field="headerItem" value="TerminationReason"/>
+                <set field="terminationReasonId" from-field="parameters.terminationReasonId" />
+                <entity-one entity-name="TerminationReason" value-name="terminationReason" />
+            </actions>            
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">                        
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditTerminationReason}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link target="EditTerminationReason" text="${uiLabelMap.HumanResNewTerminationReason}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="EditTerminationReason" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>                              
+        </section>
+    </screen>    
+    <screen name="ListUnemploymentClaims">
+        <section>
+            <actions>
+                <set field="titleProperty" value="HumanResListUnemploymentClaim"/>
+                <set field="headerItem" value="UnemploymentClaim"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResListUnemploymentClaim}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link target="EditUnemploymentClaim" text="${uiLabelMap.HumanResNewUnemploymentClaim}" style="buttontext"/>
+                                        </container>
+                                        <include-form name="ListUnemploymentClaims" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section> 
+    </screen>
+    <screen name="EditUnemploymentClaim">
+        <section>            
+            <actions>
+                <set field="titleProperty" value="HumanResEditUnemploymentClaim"/>
+                <set field="headerItem" value="UnemploymentClaim"/>
+                <set field="unemploymentClaimId" from-field="parameters.unemploymentClaimId" />
+                <entity-one entity-name="UnemploymentClaim" value-name="unemploymentClaim" />
+            </actions>            
+            <widgets>
+                <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">                        
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="head4">
+                                    <label text="${uiLabelMap.HumanResEditUnemploymentClaim}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <container>
+                                            <link target="EditUnemploymentClaim" text="${uiLabelMap.HumanResNewUnemploymentClaim}" style="buttontext" />
+                                        </container>
+                                        <include-form name="EditUnemploymentClaim" location="component://humanres/widget/forms/EmploymentForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>                              
+        </section>
+    </screen>    
+</screens>
\ No newline at end of file