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 [2/4] - in /ofbiz/trunk/applications/humanres: config/
widget/ widget/forms/
Modified: ofbiz/trunk/applications/humanres/widget/LookupScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/LookupScreens.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/LookupScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/LookupScreens.xml Fri Jan 25 12:12:10 2008
@@ -1,113 +1,191 @@
-<?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="LookupBudget">
- <section>
- <actions>
- <set field="title" value="${uiLabelMap.HumanResLookupBudgetByName}"/>
- </actions>
- <widgets>
- <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
- <decorator-section name="body">
- <include-form name="LookupBudget" location="component://humanres/widget/forms/LookupForms.xml"/>
- <include-form name="ListBudgets" location="component://humanres/widget/forms/LookupForms.xml"/>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="LookupBudgetItem">
- <section>
- <actions>
- <set field="title" value="${uiLabelMap.HumanResLookupBudgetItemByName}"/>
- </actions>
- <widgets>
- <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
- <decorator-section name="body">
- <include-form name="LookupBudgetItem" location="component://humanres/widget/forms/LookupForms.xml"/>
- <include-form name="ListBudgetItems" location="component://humanres/widget/forms/LookupForms.xml"/>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="LookupEmplPosition">
- <section>
- <actions>
- <set field="title" value="${uiLabelMap.HumanResLookupEmplPositionByName}"/>
- </actions>
- <widgets>
- <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
- <decorator-section name="body">
- <include-form name="LookupEmplPosition" location="component://humanres/widget/forms/LookupForms.xml"/>
- <include-form name="ListEmplPositions" location="component://humanres/widget/forms/LookupForms.xml"/>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="LookupTerminationReason">
- <section>
- <actions>
- <set field="title" value="${uiLabelMap.HumanResLookupTerminationReason}"/>
- </actions>
- <widgets>
- <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
- <decorator-section name="body">
- <include-form name="LookupTerminationReason" location="component://humanres/widget/forms/LookupForms.xml"/>
- <include-form name="ListTerminationReasons" location="component://humanres/widget/forms/LookupForms.xml"/>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="LookupSalaryStep">
- <section>
- <actions>
- <set field="title" value="${uiLabelMap.HumanResLookupTerminationReason}"/>
- </actions>
- <widgets>
- <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
- <decorator-section name="body">
- <include-form name="LookupSalaryStep" location="component://humanres/widget/forms/LookupForms.xml"/>
- <include-form name="ListSalarySteps" location="component://humanres/widget/forms/LookupForms.xml"/>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="LookupPayGrade">
- <section>
- <actions>
- <set field="title" value="${uiLabelMap.HumanResLookupPayGrade}"/>
- </actions>
- <widgets>
- <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
- <decorator-section name="body">
- <include-form name="LookupPayGrade" location="component://humanres/widget/forms/LookupForms.xml"/>
- <include-form name="ListPayGrades" location="component://humanres/widget/forms/LookupForms.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="LookupBudget">
+ <section>
+ <actions>
+ <set field="title" value="${uiLabelMap.HumanResLookupBudgetByName}"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResLookupBudgetByName}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="LookupBudget" location="component://humanres/widget/forms/LookupForms.xml"/>
+ <include-form name="ListBudgets" location="component://humanres/widget/forms/LookupForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="LookupBudgetItem">
+ <section>
+ <actions>
+ <set field="title" value="${uiLabelMap.HumanResLookupBudgetItemByName}"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResLookupBudgetItemByName}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="LookupBudgetItem" location="component://humanres/widget/forms/LookupForms.xml"/>
+ <include-form name="ListBudgetItems" location="component://humanres/widget/forms/LookupForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="LookupEmplPosition">
+ <section>
+ <actions>
+ <set field="title" value="${uiLabelMap.HumanResLookupEmplPositionByName}"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResLookupEmplPositionByName}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="LookupEmplPosition" location="component://humanres/widget/forms/LookupForms.xml"/>
+ <include-form name="ListEmplPositions" location="component://humanres/widget/forms/LookupForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="LookupTerminationReason">
+ <section>
+ <actions>
+ <set field="title" value="${uiLabelMap.HumanResLookupTerminationReason}"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResLookupTerminationReason}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="LookupTerminationReason" location="component://humanres/widget/forms/LookupForms.xml"/>
+ <include-form name="ListTerminationReasons" location="component://humanres/widget/forms/LookupForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="LookupSalaryStep">
+ <section>
+ <actions>
+ <set field="title" value="${uiLabelMap.HumanResLookupTerminationReason}"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResLookupTerminationReason}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="LookupSalaryStep" location="component://humanres/widget/forms/LookupForms.xml"/>
+ <include-form name="ListSalarySteps" location="component://humanres/widget/forms/LookupForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="LookupPayGrade">
+ <section>
+ <actions>
+ <set field="title" value="${uiLabelMap.HumanResLookupPayGrade}"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResLookupPayGrade}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="LookupPayGrade" location="component://humanres/widget/forms/LookupForms.xml"/>
+ <include-form name="ListPayGrades" location="component://humanres/widget/forms/LookupForms.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/Menus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/Menus.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/Menus.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/Menus.xml Fri Jan 25 12:12:10 2008
@@ -20,7 +20,8 @@
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
- <menu name="EmploymentBar" default-menu-item-name="EditPartyBenefit" type="simple">
+ <menu name="EmploymentBar" default-menu-item-name="EditPartyBenefit" default-selected-style="selected"
+ type="simple" menu-container-style="button-bar tab-bar">
<menu-item name="EditPartyBenefit" title="${uiLabelMap.HumanResEditPartyBenefit}">
<link target="EditPartyBenefits?roleTypeIdFrom=${roleTypeIdFrom}&roleTypeIdTo=${roleTypeIdTo}&partyIdFrom=${partyIdFrom}&partyIdTo=${partyIdTo}&fromDate=${fromDate}"/>
</menu-item>
@@ -35,7 +36,8 @@
<link target="ListPayHistories?roleTypeIdFrom=${roleTypeIdFrom}&roleTypeIdTo=${roleTypeIdTo}&partyIdFrom=${partyIdFrom}&partyIdTo=${partyIdTo}&fromDate=${fromDate}"/>
</menu-item>
</menu>
- <menu name="EmplPostionBar" default-menu-item-name="EditEmplPosition" type="simple">
+ <menu name="EmplPostionBar" default-menu-item-name="EditEmplPosition" default-selected-style="selected"
+ type="simple" menu-container-style="button-bar tab-bar">
<menu-item name="EditEmplPositionFulfillment" title="${uiLabelMap.HumanResEditEmplPositionFulfillment}">
<link target="EditEmplPositionFulfillments?emplPositionId=${emplPositionId}"/>
</menu-item>
@@ -46,7 +48,8 @@
<link target="EditEmplPositionReportingStructs?emplPositionId=${emplPositionId}"/>
</menu-item>
</menu>
- <menu name="PartyBar" default-menu-item-name="EditPerfReviewItems" type="simple">
+ <menu name="PartyBar" default-menu-item-name="EditPerfReviewItems" default-selected-style="selected"
+ type="simple" menu-container-style="button-bar tab-bar">
<menu-item name="EditPerfReviewItems" title="${uiLabelMap.HumanResEditPerfReviewItems}">
<link target="EditPerfReviewItems?perfReviewId=${perfReviewId}"/>
</menu-item>
@@ -57,11 +60,11 @@
<link target="EditPartyQuals?employeePartyId=${employeePartyId}"/>
</menu-item>
</menu>
- <menu name="SalaryBar" default-menu-item-name="EditSalaryStep" type="simple">
+ <menu name="SalaryBar" default-menu-item-name="EditSalaryStep" default-selected-style="selected"
+ type="simple" menu-container-style="button-bar tab-bar">
<menu-item name="EditSalaryStep" title="${uiLabelMap.HumanResEditSalaryStep}">
<link target="EditSalarySteps?payGradeId=${payGradeId}"/>
</menu-item>
</menu>
<menu name="SkillType" type="simple" id="app-navigation" default-selected-style="selected"/>
-
-</menus>
+</menus>
\ No newline at end of file
Modified: ofbiz/trunk/applications/humanres/widget/PartyAbilityScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/PartyAbilityScreens.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/PartyAbilityScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/PartyAbilityScreens.xml Fri Jan 25 12:12:10 2008
@@ -1,65 +1,80 @@
-<?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="EditPartyQuals">
- <section>
- <actions>
- <set field="headerItem" value="PartyReview"/>
- <set field="tabButtonItem" value="EditPartyQual"/>
- <set field="partyId" from-field="parameters.partyId"/>
- </actions>
- <widgets>
- <decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
- <container>
- <link target="EditPartyQual" text="${uiLabelMap.HumanResNewPartyQual}" style="buttontext"/>
- </container>
- <container style="boxoutside">
- <container style="screenlet-header">
- <label style="boxhead">${uiLabelMap.HumanResEditPartySkill}</label>
- </container>
- <include-form name="ListPartyQuals" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- <include-form name="EditPartyQual" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- </container>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
+<?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="EditPartyQuals">
+ <section>
+ <actions>
+ <set field="headerItem" value="PartyReview"/>
+ <set field="tabButtonItem" value="EditPartyQual"/>
+ <set field="partyId" from-field="parameters.partyId"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResEditPartySkill}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <container>
+ <link target="EditPartyQual" text="${uiLabelMap.HumanResNewPartyQual}" style="buttontext"/>
+ </container>
+ <include-form name="ListPartyQuals" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ <include-form name="EditPartyQual" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
<screen name="ListPartyResumes">
<section>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <container style="boxoutside">
- <container style="screenlet-header">
- <label style="boxhead">${uiLabelMap.HumanResListPartyResumes}</label>
- </container>
- </container>
- <label><br/></label>
- <container>
- <link target="EditPartyResume" text="${uiLabelMap.HumanResNewPartyResume}" style="buttontext"/>
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResListPartyResumes}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <container>
+ <link target="EditPartyResume" text="${uiLabelMap.HumanResNewPartyResume}" style="buttontext"/>
+ </container>
+ <include-form name="ListPartyResumes" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
</container>
- <include-form name="ListPartyResumes" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -67,157 +82,244 @@
</screen>
<screen name="ListPartySkills">
<section>
+ <actions>
+ <set field="titleProperty" value="HumanResListPartySkill"/>
+ <set field="headerItem" value="PartySkills"/>
+ </actions>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <container style="boxoutside">
- <container style="screenlet-header">
- <label style="boxhead">${uiLabelMap.HumanResListPartySkill}</label>
- </container>
- </container>
- <label><br/></label>
- <container>
- <link target="EditPartySkill" text="${uiLabelMap.HumanResNewPartySkill}" style="buttontext"/>
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResListPartySkill}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <container>
+ <link target="EditPartySkill" text="${uiLabelMap.HumanResNewPartySkill}" style="buttontext"/>
+ </container>
+ <include-form name="ListPartySkills" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="EditPartyResume">
+ <section>
+ <actions>
+ <set field="tabButtonItem" value="EditPartySkill"/>
+ <set field="partyId" from-field="parameters.partyId" />
+ <entity-one entity-name="PartyResume" value-name="partyResume" />
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <include-menu name="PartyBar" location="component://humanres/widget/Menus.xml"/>
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResEditPartyResume}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <container>
+ <link target="EditPartyResume" text="${uiLabelMap.HumanResNewPartyResume}" style="buttontext" />
+ </container>
+ <include-form name="EditEmplPosition" location="component://humanres/widget/forms/PartyAbilityForms.xml" />
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="EditPerfReviews">
+ <section>
+ <actions>
+ <set field="headerItem" value="Employment"/>
+ <set field="tabButtonItem" value="EditPerfReview"/>
+ <set field="titleProperty" value="PageTitleListPartyReview"/>
+ <set field="perfReviewId" from-field="parameters.perfReviewId"/>
+ <set field="employeePartyId" from-field="parameters.partyIdTo"/>
+ <set field="employeeRoleTypeId" from-field="parameters.roleTypeIdTo"/>
+ <entity-one entity-name="PerfReview" value-name="perfReview"/>
+ </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.PageTitleListPartyReview}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <container>
+ <link target="EditPerfReview" text="${uiLabelMap.HumanResNewPartyReview}" style="buttontext"/>
+ </container>
+ <include-form name="ListPerfReviews" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.PageTitleEditPartyReview}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="EditPerfReview" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
</container>
- <include-form name="ListPartySkills" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
- <screen name="EditPartyResume">
- <section>
- <actions>
- <set field="tabButtonItem" value="EditPartySkill"/>
- <set field="partyId" from-field="parameters.partyId" />
- <entity-one entity-name="PartyResume" value-name="partyResume" />
- </actions>
- <widgets>
- <decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
- <include-menu name="PartyBar" location="component://humanres/widget/Menus.xml"/>
- <container>
- <link target="EditPartyResume" text="${uiLabelMap.HumanResNewPartyResume}" style="buttontext" />
- </container>
- <label><br/></label>
- <container style="boxoutside">
- <container style="screenlet-header">
- <label style="boxhead">${uiLabelMap.HumanResEditPartyResume}</label>
- </container>
- <include-form name="EditEmplPosition" location="component://humanres/widget/forms/PartyAbilityForms.xml" />
- </container>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="EditPerfReviews">
- <section>
- <actions>
- <set field="headerItem" value="Employment"/>
- <set field="tabButtonItem" value="EditPerfReview"/>
- <set field="titleProperty" value="PageTitleEditPartyReview"/>
- <set field="perfReviewId" from-field="parameters.perfReviewId"/>
- <set field="employeePartyId" from-field="parameters.partyIdTo"/>
- <set field="employeeRoleTypeId" from-field="parameters.roleTypeIdTo"/>
- <entity-one entity-name="PerfReview" value-name="perfReview"/>
- </actions>
- <widgets>
- <decorator-screen name="CommonEmploymentDecorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
- <section>
- <widgets>
- <container>
- <link target="EditPerfReview" text="${uiLabelMap.HumanResNewPartyReview}" style="buttontext"/>
- </container>
- <label><br/></label>
- <container style="boxoutside">
- <container style="screenlet-header">
- <label style="boxhead">${uiLabelMap.HumanResNewPartyReview}</label>
- </container>
- <include-form name="ListPerfReviews" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- <include-form name="EditPerfReview" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- </container>
- </widgets>
- </section>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="EditPartySkills">
- <section>
- <actions>
- <set field="headerItem" value="PartyReview"/>
- <set field="tabButtonItem" value="EditPartySkill"/>
+ <screen name="EditPartySkills">
+ <section>
+ <actions>
+ <set field="titleProperty" value="HumanResEditPartySkill"/>
+ <set field="headerItem" value="PartySkills"/>
<set field="partyId" from-field="parameters.employeePartyId"/>
- <entity-one entity-name="PartySkill" value-name="partySkill"/>
- </actions>
- <widgets>
- <decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
- <container>
- <link target="EditPartySkill" text="${uiLabelMap.HumanResNewPartySkill}" style="buttontext"/>
- </container>
- <container style="boxoutside">
- <container style="screenlet-header">
- <label style="boxhead">${uiLabelMap.HumanResEditPartySkill}</label>
- </container>
- <include-form name="ListPartySkills" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- <include-form name="EditPartySkill" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- </container>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="EditPerfReviewItems">
- <section>
- <actions>
- <set field="headerItem" value="PartyReview"/>
- <set field="titleProperty" value="PageTitleEditPartyReviewItem"/>
- <set field="tabButtonItem" value="EditPerfReview"/>
- <set field="perfReviewId" from-field="parameters.perfReviewId"/>
- </actions>
- <widgets>
- <decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
- <container><label style="head1">${uiLabelMap.HumanResNewPartyReview}</label></container>
- <container>
- <link target="EditPerfReviewItem" text="${uiLabelMap.HumanResNewPartyReviewItem}" style="buttontext"/>
- </container>
- <include-form name="ListPerfReviewItems" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- <include-form name="EditPerfReviewItem" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
- <screen name="EditSkillTypes">
- <section>
- <actions>
- <set field="headerItem" value="SkillType"/>
- <set field="titleProperty" value="PageTitleEditSkillType"/>
- <set field="skillTypeId" from-field="parameters.skillTypeId"/>
- <entity-one entity-name="SkillType" value-name="skillType" />
- </actions>
- <widgets>
- <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
- <container>
- <link target="EditSkillTypes" text="${uiLabelMap.HumanResNewSkillType}" style="buttontext" />
- </container>
- <label><br/></label>
- <container style="boxoutside">
- <container style="screenlet-header">
- <label style="boxhead">${uiLabelMap.PageTitleEditSkillType}</label>
- </container>
- <include-form name="ListSkillTypes" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
- <include-form name="EditSkillType" location="component://humanres/widget/forms/PartyAbilityForms.xml" />
- </container>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
-</screens>
+ <entity-one entity-name="PartySkill" value-name="partySkill"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResListPartySkill}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <container>
+ <link target="EditPartySkill" text="${uiLabelMap.HumanResNewPartySkill}" style="buttontext"/>
+ </container>
+ <include-form name="ListPartySkills" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResEditPartySkill}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="EditPartySkill" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="EditPerfReviewItems">
+ <section>
+ <actions>
+ <set field="headerItem" value="PartyReview"/>
+ <set field="titleProperty" value="PageTitleEditPartyReviewItem"/>
+ <set field="tabButtonItem" value="EditPerfReview"/>
+ <set field="perfReviewId" from-field="parameters.perfReviewId"/>
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.HumanResNewPartyReview}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <container>
+ <link target="EditPerfReviewItem" text="${uiLabelMap.HumanResNewPartyReviewItem}" style="buttontext"/>
+ </container>
+ <include-form name="ListPerfReviewItems" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ <include-form name="EditPerfReviewItem" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="EditSkillTypes">
+ <section>
+ <actions>
+ <set field="headerItem" value="SkillType"/>
+ <set field="titleProperty" value="PageTitleListSkillTypes"/>
+ <set field="skillTypeId" from-field="parameters.skillTypeId"/>
+ <entity-one entity-name="SkillType" value-name="skillType" />
+ </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.PageTitleListSkillTypes}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <container>
+ <link target="EditSkillTypes" text="${uiLabelMap.HumanResNewSkillType}" style="buttontext" />
+ </container>
+ <include-form name="ListSkillTypes" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
+ </widgets>
+ </section>
+ </container>
+ </container>
+ <container style="screenlet">
+ <container style="screenlet-title-bar">
+ <container style="head4">
+ <label text="${uiLabelMap.PageTitleEditSkillType}"/>
+ </container>
+ </container>
+ <container style="screenlet-body">
+ <section>
+ <widgets>
+ <include-form name="EditSkillType" location="component://humanres/widget/forms/PartyAbilityForms.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/forms/EmplPositionForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmplPositionForms.xml?rev=615322&r1=615321&r2=615322&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/EmplPositionForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/EmplPositionForms.xml Fri Jan 25 12:12:10 2008
@@ -1,175 +1,185 @@
-<?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="ListEmplPositions" type="list" title="" paginate-target="findEmplPositions">
- <actions>
- <entity-condition entity-name="EmplPosition"><order-by field-name="emplPositionId"/></entity-condition>
- </actions>
- <auto-fields-service service-name="updateEmplPosition" default-field-type="display"/>
- <field name="emplPositionId" title="${uiLabelMap.HumanResEmployeePositionId}" widget-style="linktext">
- <hyperlink also-hidden="false" description="${emplPositionId}" target="EditEmplPosition?emplPositionId=${emplPositionId}"/>
- </field>
- <field name="partyId" title="${uiLabelMap.PartyPartyId}">
- <display-entity description="${firstName} ${middleName} ${lastName} ${groupName}" entity-name="PartyNameView">
- <sub-hyperlink target="/partymgr/control/viewprofile?partyId=${partyId}" link-style="smallSubmit" target-type="inter-app" description="${partyId}"/>
- </display-entity>
- </field>
- <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
- <hyperlink target="deleteEmplPosition?emplPositionId=${emplPositionId}&partyId=${partyId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
- </field>
- </form>
- <form name="EditEmplPosition" type="single" target="updateEmplPosition" title="" default-map-name="emplPosition">
- <alt-target use-when="emplPosition==null" target="createEmplPosition"/>
- <auto-fields-service service-name="createEmplPosition"/>
- <field use-when="emplPosition!=null" name="emplPositionId" title="${uiLabelMap.HumanResEmplPositionId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
- <field use-when="emplPosition==null&&emplPositionId==null" name="emplPositionId" title="${uiLabelMap.HumanResEmplPositionId}"><ignored/></field>
- <field use-when="emplPosition==null&&emplPositionId!=null" name="emplPositionId" title="${uiLabelMap.HumanResEmplPositionId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${emplPositionId}]"><display/></field>
- <field name="partyId" use-when="emplPosition==null" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
- <field name="partyId" use-when="emplPosition!=null" title="${uiLabelMap.PartyPartyId}"><display/></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="budgetId" use-when="emplPosition!=null" title="budgetId"><display/></field>
- <field name="budgetId" use-when="emplPosition==null" title="budgetId"><lookup target-form-name="LookupBudget"/></field>
- <field name="budgetItemSeqId" use-when="emplPosition!=null" title="budgetItemSeqId"><display/></field>
- <field name="budgetItemSeqId" use-when="emplPosition==null" title="budgetItemSeqId"><lookup target-form-name="LookupBudgetItem"/></field>
- <field name="emplPositionTypeId" use-when="emplPosition!=null" title="${uiLabelMap.HumanResEmployeePositionTypeId}"><display/></field>
- <field name="estimatedFromDate" use-when="emplPosition!=null" title="${uiLabelMap.HumanResEstimatedFromDate}"><display/></field>
- <field name="emplPositionTypeId" use-when="emplPosition==null" title="${uiLabelMap.HumanResEmployeePositionTypeId}">
- <drop-down allow-empty="false">
- <entity-options description="${description}" key-field-name="emplPositionTypeId" entity-name="EmplPositionType">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="submitButton" use-when="emplPosition==null" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field>
- <field name="submitButton" use-when="emplPosition!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="ListEmplPositionFulfillments" type="list" target="updateEmplPositionFulfillment" title="" paginate-target="findEmplPositionFulfillments">
- <actions>
- <entity-condition entity-name="EmplPositionFulfillment"><order-by field-name="emplPositionId"/></entity-condition>
- </actions>
- <auto-fields-service service-name="updateEmplPositionFulfillment"/>
- <field name="partyId" title="${uiLabelMap.PartyPartyId}">
- <display-entity description="${firstName} ${middleName} ${lastName} ${groupName}" entity-name="PartyNameView">
- <sub-hyperlink target="/partymgr/control/viewprofile?partyId=${partyId}" link-style="smallSubmit" target-type="inter-app" description="${partyId}"/>
- </display-entity>
- </field>
- <field name="emplPositionId" title="${uiLabelMap.HumanResEmployeePositionId}"><display /></field>
- <field name="fromDate" title="${uiLabelMap.CommonDate}"><display/></field>
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/> </field>
- <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
- <hyperlink target="deleteEmplPositionFulfillment?emplPositionId=${emplPositionId}&partyId=${partyId}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
- </field>
- </form>
- <form name="EditEmplPositionFulfillment" type="single" target="createEmplPositionFulfillment" title="">
- <auto-fields-service service-name="createEmplPositionFulfillment"/>
- <field name="emplPositionId"><hidden /></field>
- <field name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
- <field name="fromDate" title="${uiLabelMap.CommonFromDate}" tooltip="${uiLabelMap.CommonRequired}"/>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
- </form>
-
- <form name="ListEmplPositionReportingStructs" type="list" target="updateEmplPositionReportingStruct" title="" paginate-target="findEmplPositionReportingStructs">
- <actions>
- <entity-condition entity-name="EmplPositionReportingStruct"/>
- </actions>
- <auto-fields-service service-name="updateEmplPositionReportingStruct"/>
- <field name="emplPositionIdReportingTo" title="${uiLabelMap.HumanResEmplPositionIdReportingTo}"><display /></field>
- <field name="emplPositionIdReportingFrom" title="${uiLabelMap.HumanResEmplPositionIdReportingFrom}"><display /></field>
- <field name="fromDate" title="fromDate"><display /></field>
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/> </field>
- <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
- <hyperlink target="deleteEmplPositionReportingStruct?emplPositionIdReportingTo=${emplPositionIdReportingTo}&emplPositionIdReportingFrom=${emplPositionIdReportingFrom}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
- </field>
- </form>
- <form name="EditEmplPositionReportingStruct" type="single" target="createEmplPositionReportingStruct" title="">
- <auto-fields-service service-name="createEmplPositionReportingStruct"/>
- <field name="emplPositionId"><hidden /></field>
- <field name="emplPositionIdReportingTo" title="${uiLabelMap.HumanResEmplPositionIdReportingTo}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupEmplPosition"/></field>
- <field name="emplPositionIdManagedBy" title="${uiLabelMap.HumanResEmplPositionIdManagedBy}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupEmplPosition"/></field>
- <field name="fromDate" title="${uiLabelMap.CommonDate}" tooltip="${uiLabelMap.CommonRequired}"/>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
- </form>
-
- <form name="ListEmplPositionResponsibilities" type="list" target="updateEmplPositionResponsibility" title="" paginate-target="findEmplPositionResponsibilities">
- <actions>
- <entity-condition entity-name="EmplPositionResponsibility"><order-by field-name="emplPositionId"/></entity-condition>
- </actions>
- <auto-fields-service service-name="updateEmplPositionResponsibility"/>
- <field name="emplPositionId" title="${uiLabelMap.HumanResEmployeePositionId}"><display /></field>
- <field name="responsibilityTypeId" title="${uiLabelMap.HumanResResponsibilityTypeId}"><display /></field>
- <field name="fromDate" title="fromDate"><display /></field>
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/> </field>
- <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
- <hyperlink target="deleteEmplPositionResponsibility?emplPositionId=${emplPositionId}&responsibilityTypeId=${responsibilityTypeId}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
- </field>
- </form>
- <form name="EditEmplPositionResponsibility" type="single" target="createEmplPositionResponsibility" title="">
- <auto-fields-service service-name="createEmplPositionResponsibility"/>
- <field name="emplPositionId"><hidden /></field>
- <field name="responsibilityTypeId" tooltip="${uiLabelMap.CommonRequired}">
- <drop-down allow-empty="false">
- <entity-options entity-name="ResponsibilityType" key-field-name="responsibilityTypeId" description=" ${description}">
- <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="ListValidResponsibilities" type="list" target="updateValidResponsibility" title="" paginate-target="findValidResponsibilities">
- <actions>
- <entity-condition entity-name="EmplPositionResponsibility"/>
- </actions>
- <auto-fields-service service-name="updateValidResponsibility"/>
- <field name="emplPositionTypeId" title="${uiLabelMap.HumanResEmplPositionTypeId}"><display /></field>
- <field name="responsibilityTypeId" title="${uiLabelMap.ResponsibilityTypeId}"><display /></field>
- <field name="fromDate" title="fromDates"><display /></field>
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/> </field>
- <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
- <hyperlink target="deleteValidResponsibility?emplPositionTypeId=${emplPositionId}&responsibilityTypeId=${responsibilityTypeId}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
- </field>
- </form>
- <form name="EditValidResponsibility" type="single" target="createValidResponsibility" title="">
- <auto-fields-service service-name="createValidResponsibility"/>
- <field name="emplPositionTypeId">
- <drop-down allow-empty="false">
- <entity-options entity-name="emplPositionType" key-field-name="emplPositionTypeId" description=" ${description}">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="responsibilityTypeId">
- <drop-down allow-empty="false">
- <entity-options entity-name="responsibilityType" key-field-name="responsibilityTypeId" description=" ${description}">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}"><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="ListEmplPositions" type="list" title="" paginate-target="findEmplPositions"
+ odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+ <actions>
+ <entity-condition entity-name="EmplPosition"><order-by field-name="emplPositionId"/></entity-condition>
+ </actions>
+ <auto-fields-service service-name="updateEmplPosition" default-field-type="display"/>
+ <field name="emplPositionId" title="${uiLabelMap.HumanResEmployeePositionId}" widget-style="linktext">
+ <hyperlink also-hidden="false" description="${emplPositionId}" target="EditEmplPosition?emplPositionId=${emplPositionId}"/>
+ </field>
+ <field name="partyId" title="${uiLabelMap.PartyPartyId}">
+ <display-entity description="${firstName} ${middleName} ${lastName} ${groupName}" entity-name="PartyNameView">
+ <sub-hyperlink target="/partymgr/control/viewprofile?partyId=${partyId}" link-style="smallSubmit" target-type="inter-app" description="${partyId}"/>
+ </display-entity>
+ </field>
+ <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
+ <hyperlink target="deleteEmplPosition?emplPositionId=${emplPositionId}&partyId=${partyId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+ </field>
+ </form>
+ <form name="EditEmplPosition" type="single" target="updateEmplPosition" title="" default-map-name="emplPosition"
+ header-row-style="header-row" default-table-style="basic-table">
+ <alt-target use-when="emplPosition==null" target="createEmplPosition"/>
+ <auto-fields-service service-name="createEmplPosition"/>
+ <field use-when="emplPosition!=null" name="emplPositionId" title="${uiLabelMap.HumanResEmplPositionId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
+ <field use-when="emplPosition==null&&emplPositionId==null" name="emplPositionId" title="${uiLabelMap.HumanResEmplPositionId}"><ignored/></field>
+ <field use-when="emplPosition==null&&emplPositionId!=null" name="emplPositionId" title="${uiLabelMap.HumanResEmplPositionId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${emplPositionId}]"><display/></field>
+ <field name="partyId" use-when="emplPosition==null" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
+ <field name="partyId" use-when="emplPosition!=null" title="${uiLabelMap.PartyPartyId}"><display/></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="budgetId" use-when="emplPosition!=null" title="budgetId"><display/></field>
+ <field name="budgetId" use-when="emplPosition==null" title="budgetId"><lookup target-form-name="LookupBudget"/></field>
+ <field name="budgetItemSeqId" use-when="emplPosition!=null" title="budgetItemSeqId"><display/></field>
+ <field name="budgetItemSeqId" use-when="emplPosition==null" title="budgetItemSeqId"><lookup target-form-name="LookupBudgetItem"/></field>
+ <field name="emplPositionTypeId" use-when="emplPosition!=null" title="${uiLabelMap.HumanResEmployeePositionTypeId}"><display/></field>
+ <field name="estimatedFromDate" use-when="emplPosition!=null" title="${uiLabelMap.HumanResEstimatedFromDate}"><display/></field>
+ <field name="emplPositionTypeId" use-when="emplPosition==null" title="${uiLabelMap.HumanResEmployeePositionTypeId}">
+ <drop-down allow-empty="false">
+ <entity-options description="${description}" key-field-name="emplPositionTypeId" entity-name="EmplPositionType">
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="submitButton" use-when="emplPosition==null" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field>
+ <field name="submitButton" use-when="emplPosition!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+ </form>
+ <form name="ListEmplPositionFulfillments" type="list" target="updateEmplPositionFulfillment" title="" paginate-target="findEmplPositionFulfillments"
+ odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+ <actions>
+ <entity-condition entity-name="EmplPositionFulfillment"><order-by field-name="emplPositionId"/></entity-condition>
+ </actions>
+ <auto-fields-service service-name="updateEmplPositionFulfillment"/>
+ <field name="partyId" title="${uiLabelMap.PartyPartyId}">
+ <display-entity description="${firstName} ${middleName} ${lastName} ${groupName}" entity-name="PartyNameView">
+ <sub-hyperlink target="/partymgr/control/viewprofile?partyId=${partyId}" link-style="smallSubmit" target-type="inter-app" description="${partyId}"/>
+ </display-entity>
+ </field>
+ <field name="emplPositionId" title="${uiLabelMap.HumanResEmployeePositionId}"><display /></field>
+ <field name="fromDate" title="${uiLabelMap.CommonDate}"><display/></field>
+ <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/> </field>
+ <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
+ <hyperlink target="deleteEmplPositionFulfillment?emplPositionId=${emplPositionId}&partyId=${partyId}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+ </field>
+ </form>
+ <form name="EditEmplPositionFulfillment" type="single" target="createEmplPositionFulfillment" title=""
+ header-row-style="header-row" default-table-style="basic-table">
+ <auto-fields-service service-name="createEmplPositionFulfillment"/>
+ <field name="emplPositionId"><hidden /></field>
+ <field name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
+ <field name="fromDate" title="${uiLabelMap.CommonFromDate}" tooltip="${uiLabelMap.CommonRequired}"/>
+ <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
+ </form>
+
+ <form name="ListEmplPositionReportingStructs" type="list" target="updateEmplPositionReportingStruct" title="" paginate-target="findEmplPositionReportingStructs"
+ odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+ <actions>
+ <entity-condition entity-name="EmplPositionReportingStruct"/>
+ </actions>
+ <auto-fields-service service-name="updateEmplPositionReportingStruct"/>
+ <field name="emplPositionIdReportingTo" title="${uiLabelMap.HumanResEmplPositionIdReportingTo}"><display /></field>
+ <field name="emplPositionIdReportingFrom" title="${uiLabelMap.HumanResEmplPositionIdReportingFrom}"><display /></field>
+ <field name="fromDate" title="fromDate"><display /></field>
+ <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/> </field>
+ <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
+ <hyperlink target="deleteEmplPositionReportingStruct?emplPositionIdReportingTo=${emplPositionIdReportingTo}&emplPositionIdReportingFrom=${emplPositionIdReportingFrom}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+ </field>
+ </form>
+ <form name="EditEmplPositionReportingStruct" type="single" target="createEmplPositionReportingStruct" title=""
+ header-row-style="header-row" default-table-style="basic-table">
+ <auto-fields-service service-name="createEmplPositionReportingStruct"/>
+ <field name="emplPositionId"><hidden /></field>
+ <field name="emplPositionIdReportingTo" title="${uiLabelMap.HumanResEmplPositionIdReportingTo}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupEmplPosition"/></field>
+ <field name="emplPositionIdManagedBy" title="${uiLabelMap.HumanResEmplPositionIdManagedBy}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupEmplPosition"/></field>
+ <field name="fromDate" title="${uiLabelMap.CommonDate}" tooltip="${uiLabelMap.CommonRequired}"/>
+ <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
+ </form>
+
+ <form name="ListEmplPositionResponsibilities" type="list" target="updateEmplPositionResponsibility" title="" paginate-target="findEmplPositionResponsibilities"
+ odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+ <actions>
+ <entity-condition entity-name="EmplPositionResponsibility"><order-by field-name="emplPositionId"/></entity-condition>
+ </actions>
+ <auto-fields-service service-name="updateEmplPositionResponsibility"/>
+ <field name="emplPositionId" title="${uiLabelMap.HumanResEmployeePositionId}"><display /></field>
+ <field name="responsibilityTypeId" title="${uiLabelMap.HumanResResponsibilityTypeId}"><display /></field>
+ <field name="fromDate"><display /></field>
+ <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/> </field>
+ <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
+ <hyperlink target="deleteEmplPositionResponsibility?emplPositionId=${emplPositionId}&responsibilityTypeId=${responsibilityTypeId}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+ </field>
+ </form>
+ <form name="EditEmplPositionResponsibility" type="single" target="createEmplPositionResponsibility" title=""
+ header-row-style="header-row" default-table-style="basic-table">
+ <auto-fields-service service-name="createEmplPositionResponsibility"/>
+ <field name="emplPositionId"><hidden /></field>
+ <field name="responsibilityTypeId" tooltip="${uiLabelMap.CommonRequired}">
+ <drop-down allow-empty="false">
+ <entity-options entity-name="ResponsibilityType" key-field-name="responsibilityTypeId" description=" ${description}">
+ <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="ListValidResponsibilities" type="list" target="updateValidResponsibility" title="" paginate-target="findValidResponsibilities"
+ odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+ <actions>
+ <entity-condition entity-name="EmplPositionResponsibility"/>
+ </actions>
+ <auto-fields-service service-name="updateValidResponsibility"/>
+ <field name="emplPositionTypeId" title="${uiLabelMap.HumanResEmplPositionTypeId}"><display /></field>
+ <field name="responsibilityTypeId" title="${uiLabelMap.ResponsibilityTypeId}"><display /></field>
+ <field name="fromDate" title="fromDates"><display /></field>
+ <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/> </field>
+ <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
+ <hyperlink target="deleteValidResponsibility?emplPositionTypeId=${emplPositionId}&responsibilityTypeId=${responsibilityTypeId}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
+ </field>
+ </form>
+ <form name="EditValidResponsibility" type="single" target="createValidResponsibility" title=""
+ header-row-style="header-row" default-table-style="basic-table">
+ <auto-fields-service service-name="createValidResponsibility"/>
+ <field name="emplPositionTypeId">
+ <drop-down allow-empty="false">
+ <entity-options entity-name="emplPositionType" key-field-name="emplPositionTypeId" description=" ${description}">
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="responsibilityTypeId">
+ <drop-down allow-empty="false">
+ <entity-options entity-name="responsibilityType" key-field-name="responsibilityTypeId" description=" ${description}">
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
+ </form>
+</forms>
\ No newline at end of file