Small Cleanup.

Removed unused decorator.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660171 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ashish Vijaywargiya
2008-05-26 11:59:11 +00:00
parent 344ef63ebd
commit f40e783e9c
4 changed files with 9 additions and 86 deletions
@@ -615,7 +615,7 @@ under the License.
</request-map>
<request-map uri="globalHRSetting">
<security https="true" auth="true"/>
<response name="success" type="view" value="FindGlobalHRSettings"/>
<response name="success" type="view" value="EditSkillTypes"/>
</request-map>
<request-map uri="findTerminationTypes">
<security https="true" auth="true"/>
@@ -736,7 +736,6 @@ under the License.
<view-map name="EmplPositionView" type="screen" page="component://humanres/widget/EmplPositionScreens.xml#EmplPositionView"/>
<view-map name="FindPersonTrainings" type="screen" page="component://humanres/widget/PartyAbilityScreens.xml#FindPersonTrainings"/>
<view-map name="NewPersonTraining" type="screen" page="component://humanres/widget/PartyAbilityScreens.xml#NewPersonTraining"/>
<view-map name="FindGlobalHRSettings" type="screen" page="component://humanres/widget/EmploymentScreens.xml#ListGlobalHRSettings"/>
<view-map name="EditTerminationTypes" type="screen" page="component://humanres/widget/PartyAbilityScreens.xml#EditTerminationTypes"/>
<view-map name="EditPartySkills" type="screen" page="component://humanres/widget/EmploymentScreens.xml#EditPartySkills"/>
+1 -45
View File
@@ -151,7 +151,7 @@ under the License.
</widgets>
</section>
</screen>
<screen name="CommonPartyAbilityDecorator">
<screen name="CommonPerfReviewDecorator">
<section>
<actions>
<set field="perfReviewId" from-field="parameters.perfReviewId"/>
@@ -247,50 +247,6 @@ under the License.
</widgets>
</section>
</screen>
<screen name="CommonResponsibilityTypeDecorator">
<section>
<actions>
<set field="headerItem" value="ResponsibilityType"/>
<set field="responsibilityTypeId" from-field="parameters.responsibilityTypeId"/>
<entity-one entity-name="ResponsibilityType" value-name="responsibilityType"/>
</actions>
<widgets>
<decorator-screen name="main-decorator">
<decorator-section name="body">
<section>
<condition>
<if-has-permission permission="HUMANRES" action="_VIEW"/>
</condition>
<widgets>
<section>
<condition>
<not><if-empty field-name="responsibilityType"/></not>
</condition>
<widgets>
<container style="h1">
<label>${uiLabelMap.${titleProperty}} ${uiLabelMap.CommonFor} [${responsibilityTypeId}]</label>
</container>
<container style="button-bar">
<link target="EditResponsibilityType" text="${uiLabelMap.CommonNew} ${uiLabelMap.HumanResResponsibilityType}" style="buttontext"/>
</container>
</widgets>
<fail-widgets>
<container style="h1">
<label>${uiLabelMap.CommonNew} ${uiLabelMap.HumanResResponsibilityType}</label>
</container>
</fail-widgets>
</section>
<decorator-section-include name="body"/>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.HumanResViewPermissionError}</label>
</fail-widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="GlobalHRSettingsDecorator">
<section>
<actions>
@@ -485,38 +485,6 @@
</widgets>
</section>
</screen>
<screen name="ListGlobalHRSettings">
<section>
<actions>
<set field="titleProperty" value="PageTitleListSkillTypes"/>
<set field="headerItem" value="SkillType"/>
<set field="labelTitleProperty" value="PageTitleListSkillTypes"/>
</actions>
<widgets>
<decorator-screen name="GlobalHRSettingsDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.${labelTitleProperty}}">
<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>
</screenlet>
<screenlet title="${uiLabelMap.HumanResNewSkillType}">
<section>
<widgets>
<include-form name="AddSkillType" location="component://humanres/widget/forms/PartyAbilityForms.xml"/>
</widgets>
</section>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditPartySkills">
<section>
<actions>
@@ -27,7 +27,7 @@
<entity-one entity-name="PartyQual" value-name="partyQual"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
@@ -59,7 +59,7 @@
<set field="partyResumeCtx" from-field="parameters"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.HumanResFindPartyResume}">
<section>
@@ -93,7 +93,7 @@
<entity-one entity-name="PartyResume" value-name="partyResume" />
</actions>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
@@ -129,7 +129,7 @@
<entity-one entity-name="PerfReview" value-name="perfReview"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container style="screenlet">
<container style="screenlet-title-bar">
@@ -162,7 +162,7 @@
<set field="partySkillsCtx" from-field="parameters"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.HumanResFindPartySkill}">
<section>
@@ -196,7 +196,7 @@
<entity-one entity-name="PartySkill" value-name="partySkill"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.HumanResEditPartySkill}">
<section>
@@ -222,7 +222,7 @@
<set field="perfReviewId" from-field="parameters.perfReviewId"/>
</actions>
<widgets>
<decorator-screen name="CommonPartyAbilityDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-screen name="CommonPerfReviewDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.CommonList} ${uiLabelMap.HumanResEditPerfReviewItems}">
<section>