Apply slightly modified patch from jira issue, fixed some typo (OFBIZ-9607) Thanks Suraj Khurana and Rohit Rai for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806326 13f79535-47bb-0310-9956-ffa450edef68
352 lines
21 KiB
XML
352 lines
21 KiB
XML
<?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"
|
|
xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
<screen name="LookupBudget">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupBudgetByName"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupBudget" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListBudgets" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupBudgetItem">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupBudgetItemByName"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupBudgetItem" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListBudgetItems" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupEmplPosition">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupEmplPositionByName"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
<set field="entityName" value="EmplPosition"/>
|
|
<set field="searchFields" value="[emplPositionId, partyId, emplPositionTypeId]"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupEmplPosition" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListEmplPositions" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupTerminationReason">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupTerminationReason"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupTerminationReason" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListTerminationReasons" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupSalaryStep">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupSalaryStepSeqId"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupSalaryStep" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListSalarySteps" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupPayGrade">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupPayGrade"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupPayGrade" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListPayGrades" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupPayRollPreference">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupPayRollPreference"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupPayRollPreference" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListPayRollPreferences" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupUnemploymentClaim">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupUnemploymentClaim"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupUnemploymentClaim" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListUnemploymentClaims" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="LookupAgreementEmploymentAppl">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupAgreementEmploymentAppl"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupAgreementEmploymentAppl" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListAgreementEmploymentAppls" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupPerfReview">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupPerfReview"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupPerfReview" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListPerfReviews" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupPartyResume">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupPartyResume"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupPartyResume" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListPartyResumes" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupEmploymentApp">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.HumanResLookupEmploymentApp"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupEmploymentApp" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListEmploymentApps" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupJobRequisition">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.LookupJobReq"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<include-form name="LookupJobRequisition" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
<include-form name="ListLookupJobRequisition" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!-- unused screen
|
|
<screen name="LookupJobInterview">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" value="${uiLabelMap.LookupJobInterview}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<include-form name="LookupJobInterview" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
<include-form name="ListLookupJobInterview" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
-->
|
|
<screen name="LookupTraining">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" from-field="uiLabelMap.LookupTraining"/>
|
|
<set field="queryString" from-field="result.queryString"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="search-options">
|
|
<include-form name="LookupTraining" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-form name="ListLookupTraining" location="component://humanres/widget/forms/LookupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|