[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
238 lines
13 KiB
XML
238 lines
13 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.
|
|
-->
|
|
|
|
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
|
|
<menu name="HumanResAppBar" title="${uiLabelMap.HumanResManagerApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
|
<menu-item name="Employees" title="${uiLabelMap.HumanResEmployees}"><link target="findEmployees"/></menu-item>
|
|
<menu-item name="Employment" title="${uiLabelMap.HumanResEmployment}"><link target="FindEmployments"/></menu-item>
|
|
<menu-item name="EmplPosition" title="${uiLabelMap.HumanResEmployeePosition}"><link target="FindEmplPositions"/></menu-item>
|
|
<menu-item name="PerfReview" title="${uiLabelMap.HumanResPerfReview}"><link target="FindPerfReviews"/></menu-item>
|
|
<menu-item name="EmplSkills" title="${uiLabelMap.HumanResSkills}"><link target="FindPartySkills"/></menu-item>
|
|
<menu-item name="PartyQual" title="${uiLabelMap.HumanResPartyQualification}"><link target="FindPartyQuals"/></menu-item>
|
|
<menu-item name="Training" title="${uiLabelMap.HumanResTraining}"><link target="FindPersonTrainings"/></menu-item>
|
|
<menu-item name="EmploymentApp" title="${uiLabelMap.HumanResEmploymentApp}"><link target="FindEmploymentApps"/></menu-item>
|
|
<menu-item name="PartyResume" title="${uiLabelMap.HumanResPartyResume}"><link target="FindPartyResumes"/></menu-item>
|
|
<menu-item name="Leave" title="${uiLabelMap.HumanResEmplLeave}"><link target="FindEmplLeaves"/></menu-item>
|
|
<menu-item name="GlobalHRSettings" title="${uiLabelMap.HumanResGlobalHRSettings}" selected-style="selected"><link target="globalHRSettings"/></menu-item>
|
|
</menu>
|
|
<menu name="EmploymentBar" default-menu-item-name="EditPartyBenefit" default-selected-style="selected"
|
|
type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem">
|
|
<menu-item name="EditEmployment" title="${uiLabelMap.HumanResEmployment}">
|
|
<link target="EditEmployment" >
|
|
<parameter param-name="roleTypeIdFrom"/>
|
|
<parameter param-name="roleTypeIdTo"/>
|
|
<parameter param-name="partyIdFrom"/>
|
|
<parameter param-name="partyIdTo"/>
|
|
<parameter param-name="fromDate"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditPartyBenefit" title="${uiLabelMap.HumanResEditPartyBenefit}">
|
|
<link target="EditPartyBenefits" >
|
|
<parameter param-name="roleTypeIdFrom"/>
|
|
<parameter param-name="roleTypeIdTo"/>
|
|
<parameter param-name="partyIdFrom"/>
|
|
<parameter param-name="partyIdTo"/>
|
|
<parameter param-name="fromDate"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditPayrollPreference" title="${uiLabelMap.HumanResEditPayrollPreference}">
|
|
<link target="EditPayrollPreferences" >
|
|
<parameter param-name="roleTypeIdFrom"/>
|
|
<parameter param-name="roleTypeIdTo"/>
|
|
<parameter param-name="partyIdFrom"/>
|
|
<parameter param-name="partyIdTo"/>
|
|
<parameter param-name="fromDate"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditPayHistory" title="${uiLabelMap.HumanResEditPayHistory}">
|
|
<link target="ListPayHistories" >
|
|
<parameter param-name="roleTypeIdFrom"/>
|
|
<parameter param-name="roleTypeIdTo"/>
|
|
<parameter param-name="partyIdFrom"/>
|
|
<parameter param-name="partyIdTo"/>
|
|
<parameter param-name="fromDate"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditUnemploymentClaims" title="${uiLabelMap.HumanResEditUnemploymentClaim}">
|
|
<link target="EditUnemploymentClaims" >
|
|
<parameter param-name="roleTypeIdFrom"/>
|
|
<parameter param-name="roleTypeIdTo"/>
|
|
<parameter param-name="partyIdFrom"/>
|
|
<parameter param-name="partyIdTo"/>
|
|
<parameter param-name="fromDate"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditAgreementEmploymentAppls" title="${uiLabelMap.HumanResAgreementEmploymentAppl}">
|
|
<link target="EditAgreementEmploymentAppls">
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
<parameter param-name="roleTypeIdFrom"/>
|
|
<parameter param-name="roleTypeIdTo"/>
|
|
<parameter param-name="partyIdFrom"/>
|
|
<parameter param-name="partyIdTo"/>
|
|
<parameter param-name="fromDate"/>
|
|
</link>
|
|
</menu-item>
|
|
</menu>
|
|
<menu name="EmplPostionBar" default-menu-item-name="EmplPositionView" type="simple" menu-container-style="button-bar tab-bar" default-selected-style="selected" selected-menuitem-context-field-name="tabButtonItem">
|
|
<menu-item name="EmplPositionView" title="${uiLabelMap.CommonSummary}">
|
|
<link target="emplPositionView">
|
|
<parameter param-name="emplPositionId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmplPosition" title="${uiLabelMap.HumanResEmployeePosition}">
|
|
<link target="EditEmplPosition">
|
|
<parameter param-name="emplPositionId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmplPositionFulfillments" title="${uiLabelMap.HumanResPositionFulfillments}">
|
|
<link target="EditEmplPositionFulfillments">
|
|
<parameter param-name="emplPositionId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmplPositionResponsibilities" title="${uiLabelMap.HumanResEmplPositionResponsibilities}">
|
|
<link target="EditEmplPositionResponsibilities">
|
|
<parameter param-name="emplPositionId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmplPositionReportingStructs" title="${uiLabelMap.HumanResEmplPositionReportingStruct}">
|
|
<link target="EditEmplPositionReportingStructs">
|
|
<parameter param-name="emplPositionId"/>
|
|
</link>
|
|
</menu-item>
|
|
</menu>
|
|
<menu name="PartyBar" default-menu-item-name="EditPerfReviewItems" default-selected-style="selected"
|
|
type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem">
|
|
<menu-item name="EditPerfReviewItems" title="${uiLabelMap.HumanResEditPerfReviewItems}">
|
|
<link target="EditPerfReviewItems">
|
|
<parameter param-name="perfReviewId"/>
|
|
</link>
|
|
</menu-item>
|
|
</menu>
|
|
<menu name="SalaryBar" default-menu-item-name="EditSalaryStep" default-selected-style="selected"
|
|
type="simple" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="subTabButtonItem">
|
|
<menu-item name="EditPayGrade" title="${uiLabelMap.HumanResPayGrade}">
|
|
<link target="EditPayGrade">
|
|
<parameter param-name="payGradeId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditSalaryStep" title="${uiLabelMap.HumanResEditSalaryStep}">
|
|
<link target="EditSalarySteps">
|
|
<parameter param-name="payGradeId"/>
|
|
</link>
|
|
</menu-item>
|
|
</menu>
|
|
<menu name="SkillType" type="simple" id="app-navigation" default-selected-style="selected" selected-menuitem-context-field-name="tabButtonItem"/>
|
|
|
|
<menu name="GlobalHRSettingMenus" type="simple" default-menu-item-name="SkillType"
|
|
menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem" default-selected-style="selected">
|
|
<menu-item name="SkillType" title="${uiLabelMap.HumanResSkillType}">
|
|
<link target="EditSkillTypes"/>
|
|
</menu-item>
|
|
<menu-item name="ResponsibilityType" title="${uiLabelMap.HumanResResponsibilityType}">
|
|
<link target="EditResponsibilityTypes"/>
|
|
</menu-item>
|
|
<menu-item name="TerminationReason" title="${uiLabelMap.HumanResTerminationReason}">
|
|
<link target="EditTerminationReasons"/>
|
|
</menu-item>
|
|
<menu-item name="TerminationType" title="${uiLabelMap.HumanResTerminationTypes}">
|
|
<link target="EditTerminationTypes"/>
|
|
</menu-item>
|
|
<menu-item name="EmplPositionTypes" title="${uiLabelMap.HumanResEmplPositionType}">
|
|
<link target="FindEmplPositionTypes"/>
|
|
</menu-item>
|
|
<menu-item name="EmplLeaveType" title="${uiLabelMap.HumanResEmplLeaveType}">
|
|
<link target="EditEmplLeaveTypes"/>
|
|
</menu-item>
|
|
<menu-item name="PayGrade" title="${uiLabelMap.HumanResPayGrade}">
|
|
<link target="FindPayGrades"/>
|
|
</menu-item>
|
|
</menu>
|
|
|
|
<menu name="EmployeeProfileTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
|
|
default-menu-item-name="EditEmployeeSkills">
|
|
<menu-item name="EmployeeProfile" title="${uiLabelMap.PartyProfile}">
|
|
<link target="EmployeeProfile">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="ListEmployment" title="${uiLabelMap.HumanResEmployment}">
|
|
<link target="ListEmployments">
|
|
<parameter param-name="partyId" from-field="parameters.partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="ListEmplPositions" title="${uiLabelMap.HumanResEmployeePosition}">
|
|
<link target="ListEmplPositions">
|
|
<parameter param-name="partyId" from-field="parameters.partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmployeeSkills" title="${uiLabelMap.HumanResSkills}">
|
|
<link target="EditEmployeeSkills">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmployeeQuals" title="${uiLabelMap.HumanResPartyQualification}">
|
|
<link target="EditEmployeeQuals">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmployeeTrainings" title="${uiLabelMap.HumanResTraining}">
|
|
<link target="EditEmployeeTrainings">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
<!-- I think these don't belong here, I'll get to these in short while.
|
|
<menu-item name="EditEmployeeEmploymentApps" title="${uiLabelMap.HumanResEmploymentApp}">
|
|
<link target="EditEmployeeEmploymentApps">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmployeeResumes" title="${uiLabelMap.HumanResPartyResume}">
|
|
<link target="EditEmployeeResumes">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmployeePerformanceNotes" title="${uiLabelMap.HumanResPerfNote}">
|
|
<link target="EditEmployeePerformanceNotes">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</menu-item> -->
|
|
<menu-item name="EditEmployeeLeaves" title="${uiLabelMap.HumanResEmplLeave}">
|
|
<link target="EditEmployeeLeaves">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</menu-item>
|
|
</menu>
|
|
|
|
<menu name="EmplPositionTypeTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
|
|
default-menu-item-name="EditEmplPositionType" selected-menuitem-context-field-name="tabButtonItem2">
|
|
<menu-item name="EditEmplPositionType" title="${uiLabelMap.HumanResEmplPositionType}">
|
|
<link target="EditEmplPositionTypes">
|
|
<parameter param-name="emplPositionTypeId"/>
|
|
</link>
|
|
</menu-item>
|
|
<menu-item name="EditEmplPositionTypeRate" title="${uiLabelMap.HumanResEmplPositionTypeRate}">
|
|
<link target="EditEmplPositionTypeRates">
|
|
<parameter param-name="emplPositionTypeId"/>
|
|
</link>
|
|
</menu-item>
|
|
</menu>
|
|
</menus> |