Author: jleroux
Date: Wed Oct 21 16:00:02 2015 New Revision: 1709872 URL: http://svn.apache.org/viewvc?rev=1709872&view=rev Log: A slightly modified patch from Taher Alkhateeb for <<replace widget-style="required" with required-field="true">> https://issues.apache.org/jira/browse/OFBIZ-6690 jleroux: after a cursory review, I simply did the chunk related to exampleName by hand, it needed more work. I also removed some trailing blanks. Modified: ofbiz/trunk/applications/commonext/widget/ofbizsetup/SetupForms.xml ofbiz/trunk/applications/humanres/widget/forms/EmployeeForms.xml ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml ofbiz/trunk/applications/humanres/widget/forms/PartyQualForms.xml ofbiz/trunk/applications/humanres/widget/forms/PartyResumeForms.xml ofbiz/trunk/applications/humanres/widget/forms/PartySkillForms.xml ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml ofbiz/trunk/applications/humanres/widget/forms/PerfReviewForms.xml ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/AccountForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml ofbiz/trunk/applications/product/widget/catalog/FeatureForms.xml ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml ofbiz/trunk/framework/common/widget/SecurityForms.xml ofbiz/trunk/framework/webtools/widget/MiscForms.xml ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml ofbiz/trunk/specialpurpose/example/widget/example/ExampleForms.xml ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml ofbiz/trunk/specialpurpose/scrum/widget/ResourceForms.xml ofbiz/trunk/specialpurpose/scrum/widget/scrumForms.xml Modified: ofbiz/trunk/applications/commonext/widget/ofbizsetup/SetupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/ofbizsetup/SetupForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/commonext/widget/ofbizsetup/SetupForms.xml (original) +++ ofbiz/trunk/applications/commonext/widget/ofbizsetup/SetupForms.xml Wed Oct 21 16:00:02 2015 @@ -26,14 +26,14 @@ <field name="USE_ADDRESS"><hidden value="${USE_ADDRESS}"/></field> <field name="require_email"><hidden value="${require_email}"/></field> <field name="partyId"><text/></field> - <field name="groupName" title="${uiLabelMap.SetupOrganizationName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="groupName" title="${uiLabelMap.SetupOrganizationName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="ShippingAddressTitle" title="${uiLabelMap.PartyAddressMailingShipping}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> - <field name="USER_ADDRESS1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="USER_ADDRESS1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="USER_ADDRESS2" title="${uiLabelMap.CommonAddress2}"><text size="30" maxlength="60"/></field> - <field name="USER_CITY" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> - <field name="USER_STATE" title="${uiLabelMap.CommonState}" widget-style="required"><drop-down allow-empty="false"/></field> - <field name="USER_POSTAL_CODE" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="10" maxlength="30"/></field> - <field name="USER_COUNTRY" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="USER_CITY" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> + <field name="USER_STATE" title="${uiLabelMap.CommonState}" required-field="true"><drop-down allow-empty="false"/></field> + <field name="USER_POSTAL_CODE" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="10" maxlength="30"/></field> + <field name="USER_COUNTRY" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down no-current-selected-key="${defaultCountryGeoId}"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoId}: ${geoName}"> <entity-constraint name="geoTypeId" value="COUNTRY"/> @@ -55,8 +55,8 @@ <field name="USER_FAX_EXT" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field> <field name="USER_FAX_ALLOW_SOL"><hidden value="Y"/></field> <field name="EmailAddressTitle" title="${uiLabelMap.PartyEmailAddress}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> - <field use-when="require_email!=null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="60" maxlength="250"/></field> - <field use-when="require_email==null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" widget-style="required"><text size="60" maxlength="250"/></field> + <field use-when="require_email!=null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="60" maxlength="250"/></field> + <field use-when="require_email==null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" required-field="true"><text size="60" maxlength="250"/></field> <field name="USER_EMAIL_ALLOW_SOL"><hidden value="Y"/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field> </form> @@ -88,9 +88,9 @@ <alt-target use-when="facility==null" target="CreateFacility"/> <field use-when="facility!=null" name="facilityId" tooltip="${uiLabelMap.ProductNotModificationRecreatingProductStore}"><display/></field> - <field use-when="facility==null" name="facilityId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text default-value="${partyId}"/></field> + <field use-when="facility==null" name="facilityId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text default-value="${partyId}"/></field> - <field name="facilityName" title="${uiLabelMap.ProductName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="facilityName" title="${uiLabelMap.ProductName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="description" title="${uiLabelMap.SetupFacilityDescription}"><text size="60" maxlength="250"/></field> <field name="defaultDaysToShip" title="${uiLabelMap.ProductDefaultDaysToShip}"><text size="10" maxlength="20"/></field> <field name="facilityTypeId"><hidden value="WAREHOUSE"/></field> @@ -108,10 +108,10 @@ <alt-target use-when="productStore==null" target="createProductStore"/> <field use-when="productStore!=null" name="productStoreId" tooltip="${uiLabelMap.ProductNotModificationRecreatingProductStore}"><display/></field> - <field use-when="productStore==null&&productStoreId==null" name="productStoreId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text default-value="${partyId}"/></field> + <field use-when="productStore==null&&productStoreId==null" name="productStoreId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text default-value="${partyId}"/></field> <field use-when="productStore==null&&productStoreId!=null" name="productStoreId" tooltip="${uiLabelMap.CommonCannotBeFound}: [${productStoreId}]"><text size="20" maxlength="20"/></field> - <field name="storeName" title="${uiLabelMap.ProductStoreName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="storeName" title="${uiLabelMap.ProductStoreName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="companyName"><hidden value="${partyGroup.groupName}"/></field> <field name="primaryStoreGroupId"><hidden/></field> <field name="title"><hidden/></field> @@ -189,8 +189,8 @@ <form name="EditWebSite" extends="EditWebSite" extends-resource="component://content/widget/website/WebSiteForms.xml"> <actions><set field="webSiteId" from-field="webSite.webSiteId"/></actions> - <field use-when="webSite==null&&webSiteId==null" name="webSiteId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text default-value="WebStore"/></field> - <field name="siteName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field use-when="webSite==null&&webSiteId==null" name="webSiteId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text default-value="WebStore"/></field> + <field name="siteName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="visualThemeSetId"><hidden value="ECOMMERCE"/></field> <field name="partyId"><hidden value="${partyId}"/></field> <field name="httpHost"><hidden/></field> @@ -206,8 +206,8 @@ </form> <form name="EditProdCatalog" extends="EditProdCatalog" extends-resource="component://product/widget/catalog/ProdCatalogForms.xml"> - <field use-when="prodCatalog==null&&prodCatalogId==null" name="prodCatalogId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text default-value="${partyId}"/></field> - <field name="catalogName" title="${uiLabelMap.FormFieldTitle_prodCatalogName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field use-when="prodCatalog==null&&prodCatalogId==null" name="prodCatalogId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text default-value="${partyId}"/></field> + <field name="catalogName" title="${uiLabelMap.FormFieldTitle_prodCatalogName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="partyId"><hidden value="${partyId}"/></field> <field name="productStoreId"><hidden value="${productStoreId}"/></field> <field name="useQuickAdd"><hidden value="Y"/></field> @@ -225,11 +225,11 @@ <alt-target use-when="productCategory==null" target="createProductCategory"/> <field use-when="productCategory!=null" name="productCategoryId" title="${uiLabelMap.ProductProductCategoryId}" tooltip="${uiLabelMap.ProductNotModificationRecrationCategory}."><display/></field> - <field use-when="productCategory==null&&productCategoryId==null" name="productCategoryId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text default-value="${partyId}"/></field> + <field use-when="productCategory==null&&productCategoryId==null" name="productCategoryId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text default-value="${partyId}"/></field> <field name="partyId"><hidden value="${partyId}"/></field> <field name="prodCatalogId"><hidden value="${prodCatalogId}"/></field> <field name="productCategoryTypeId"><hidden value="CATALOG_CATEGORY"/></field> - <field name="categoryName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="categoryName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="description" title="${uiLabelMap.ProductCategoryDescription}"><textarea cols="60" rows="2"/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> @@ -240,13 +240,13 @@ <field position="1" use-when="product!=null" name="productId" title="${uiLabelMap.ProductProductId}" tooltip="${uiLabelMap.ProductNotModificationRecreatingProduct}"><display/></field> <field position="1" use-when="product==null&&productId!=null" name="productId" title="${uiLabelMap.ProductProductId}" tooltip="${uiLabelMap.ProductNotFindProductId} [${productId}]"><text size="20" maxlength="20"/></field> - <field position="1" use-when="product==null&&productId==null" name="productId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text default-value="${partyId}"/></field> + <field position="1" use-when="product==null&&productId==null" name="productId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text default-value="${partyId}"/></field> <field name="partyId"><hidden value="${partyId}"/></field> <field name="productCategoryId"><hidden value="${productCategoryId}"/></field> <field name="promoCat"><hidden value="${promoCat}"/></field> <field name="productTypeId"><hidden value="FINISHED_GOOD"/></field> - <field name="internalName" title="${uiLabelMap.ProductInternalName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="internalName" title="${uiLabelMap.ProductInternalName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="productName" title="${uiLabelMap.ProductProductName}" ><text size="30" maxlength="60"/></field> <field name="description" title="${uiLabelMap.ProductShortDescription}"><text size="60" maxlength="250"/></field> <field name="defaultPrice" title="${uiLabelMap.ProductDefaultPrice}"><text size="8" default-value="${defaultPrice}"/></field> Modified: ofbiz/trunk/applications/humanres/widget/forms/EmployeeForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmployeeForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/EmployeeForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/EmployeeForms.xml Wed Oct 21 16:00:02 2015 @@ -23,10 +23,10 @@ <form name="AddEmployee" type="single" target="createEmployee" header-row-style="header-row" default-table-style="basic-table"> <field name="salutation" title="${uiLabelMap.CommonTitle}"><text size="10" maxlength="30"/></field> - <field name="firstName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="firstName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="middleName" title="${uiLabelMap.PartyMiddleInitial}"><text size="4" maxlength="4"/></field> - <field name="lastName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> - <field name="partyIdFrom" title="${uiLabelMap.OrderOrderEntryInternalOrganization}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="lastName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> + <field name="partyIdFrom" title="${uiLabelMap.OrderOrderEntryInternalOrganization}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="true"> <entity-options entity-name="PartyRoleNameDetail" key-field-name="partyId" description="${groupName}"> <entity-constraint name="roleTypeId" operator="equals" value="INTERNAL_ORGANIZATIO"/> @@ -37,10 +37,10 @@ <field name="fromDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}"><date-time/></field> <field name="permanentAddress" title="${uiLabelMap.OrderAddress}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> <field name="postalAddContactMechPurpTypeId"><hidden value="PRIMARY_LOCATION"/></field> - <field name="address1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="address1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="address2" title="${uiLabelMap.CommonAddress2}"><text size="30" maxlength="60"/></field> - <field name="city" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> - <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="city" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> + <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="true"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoName} - ${geoId}"> <entity-constraint name="geoTypeId" operator="in" value="STATE,PROVINCE"/> @@ -48,8 +48,8 @@ </entity-options> </drop-down> </field> - <field name="postalCode" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="10" maxlength="30"/></field> - <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="postalCode" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="10" maxlength="30"/></field> + <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="false" no-current-selected-key="${defaultCountryGeoId}"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoName} - ${geoId}"> <entity-constraint name="geoTypeId" value="COUNTRY"/> @@ -60,7 +60,7 @@ <field name="phoneTitle" title="${uiLabelMap.PartyPrimaryPhone}" title-area-style="group-label"><display/></field> <field name="countryCode" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field> <field name="areaCode" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field> - <field name="contactNumber" title="${uiLabelMap.PartyPhoneNumber}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="15" maxlength="15"/></field> + <field name="contactNumber" title="${uiLabelMap.PartyPhoneNumber}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="15" maxlength="15"/></field> <field name="extension" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field> <field name="emailAddressTitle" title="${uiLabelMap.PartyEmailAddress}" title-area-style="group-label"><display/></field> <field name="emailAddress" title="${uiLabelMap.CommonEmail}"><text size="50" maxlength="60"/></field> @@ -68,7 +68,7 @@ </form> <form name="AddEmployeeSkills" type="single" target="createEmployeeSkill" default-map-name="partySkill"> <field name="partyId"><hidden/></field> - <field name="skillTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="skillTypeId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down> <entity-options entity-name="SkillType"> <entity-order-by field-name="description"/> @@ -106,7 +106,7 @@ <form name="AddEmployeeQualification" type="single" target="createEmployeeQualification"> <auto-fields-service service-name="createPartyQual"/> <field name="partyId"><hidden/></field> - <field name="partyQualTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="partyQualTypeId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="true"> <entity-options key-field-name="partyQualTypeId" entity-name="PartyQualType"> <entity-order-by field-name="description"/> @@ -173,7 +173,7 @@ </form> <form name="AddEmployeeTraining" type="single" target="createEmployeeTraining"> <field name="partyId"><hidden/></field> - <field name="trainingClassTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="trainingClassTypeId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="false"> <entity-options entity-name="TrainingClassType"> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml Wed Oct 21 16:00:02 2015 @@ -111,7 +111,7 @@ under the License. <alt-target use-when="insideEmployee != null" target="createEmploymentAppExt"/> <auto-fields-service service-name="createEmploymentApp" default-field-type="hidden"/> <field name="partyId"><hidden value="${referredByPartyId}" /></field> - <field name="applicationId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupEmploymentApp"/></field> + <field name="applicationId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupEmploymentApp"/></field> <field name="emplPositionId"><lookup target-form-name="LookupEmplPosition"/></field> <field name="statusId"> <drop-down allow-empty="true" current-description=""> Modified: ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/EmploymentForms.xml Wed Oct 21 16:00:02 2015 @@ -276,7 +276,7 @@ <form name="AddPayrollPreference" type="single" target="createPayrollPreference" header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createPayrollPreference"/> - <field name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPayRollPreference"/></field> + <field name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupPayRollPreference"/></field> <field name="partyId"><hidden/></field> <field name="roleTypeId"><hidden/></field> <field name="fromDate"><hidden/></field> @@ -375,7 +375,7 @@ <form name="AddUnemploymentClaim" type="single" target="createUnemploymentClaim" title="" default-map-name="unemploymentClaim" header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createUnemploymentClaim"/> - <field name="unemploymentClaimId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupUnemploymentClaim"/></field> + <field name="unemploymentClaimId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupUnemploymentClaim"/></field> <field name="statusId"> <drop-down allow-empty="false"> <entity-options key-field-name="statusId" entity-name="StatusItem"> @@ -422,10 +422,10 @@ <form name="AddAgreementEmploymentAppl" type="single" target="createAgreementEmploymentAppl" default-map-name="agreementEmploymentAppl" header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createAgreementEmploymentAppl" default-field-type="display"/> - <field name="agreementId" title="${uiLabelMap.AccountingAgreementId}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupAgreement"/></field> - <field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupAgreementEmploymentAppl"/></field> - <field name="partyIdFrom" title="${uiLabelMap.HumanResPartyIdFrom}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field> - <field name="partyIdTo" title="${uiLabelMap.HumanResPartyIdTo}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field> + <field name="agreementId" title="${uiLabelMap.AccountingAgreementId}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupAgreement"/></field> + <field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupAgreementEmploymentAppl"/></field> + <field name="partyIdFrom" title="${uiLabelMap.HumanResPartyIdFrom}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupPartyName"/></field> + <field name="partyIdTo" title="${uiLabelMap.HumanResPartyIdTo}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupPartyName"/></field> <field name="roleTypeIdFrom" tooltip="${uiLabelMap.CommonRequired}"> <drop-down allow-empty="false"> <entity-options key-field-name="roleTypeId" entity-name="RoleType"> Modified: ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml Wed Oct 21 16:00:02 2015 @@ -40,7 +40,7 @@ under the License. header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createSkillType" default-field-type="hidden"/> <field name="skillTypeId" title="${uiLabelMap.HumanResSkillTypeId}"><text/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> <form name="ListResponsibilityTypes" type="multi" list-name="responsibilityTypes" target="updateResponsibilityType" @@ -62,7 +62,7 @@ under the License. <form name="AddResponsibilityType" type="single" target="createResponsibilityType" title="" default-map-name="responsibilityType"> <auto-fields-service service-name="createResponsibilityType" default-field-type="hidden"/> <field name="responsibilityTypeId" title="${uiLabelMap.HumanResResponsibilityTypeId}"><text/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> <form name="ListTerminationTypes" type="multi" title="" target="updateTerminationType" @@ -85,7 +85,7 @@ under the License. header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createTerminationType" default-field-type="hidden"/> <field name="terminationTypeId"><text/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> <form name="FindEmplPositionTypes" type="single" header-row-style="header-row" default-table-style="basic-table"> @@ -128,7 +128,7 @@ under the License. <auto-fields-service service-name="updateEmplPositionType"/> <field name="emplPositionTypeId" use-when="emplPositionType==null"><text/></field> <field name="emplPositionTypeId" use-when="emplPositionType!=null"><display/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" use-when="emplPositionType!=null" widget-style="smallSubmit"><submit button-type="button"/></field> </form> @@ -168,7 +168,7 @@ under the License. <property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/> </actions> <field name="emplPositionTypeId"><hidden value="${parameters.emplPositionTypeId}"/></field> - <field name="rateTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="rateTypeId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down> <entity-options key-field-name="rateTypeId" entity-name="RateType"> <entity-order-by field-name="description"/> @@ -176,7 +176,7 @@ under the License. </drop-down> </field> <field name="payGradeId" position="2"><lookup target-form-name="LookupPayGrade"/></field> - <field name="periodTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="periodTypeId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="false" no-current-selected-key="RATE_MONTH"> <entity-options key-field-name="periodTypeId" entity-name="PeriodType"> <entity-order-by field-name="periodTypeId"/> @@ -215,7 +215,7 @@ under the License. header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createTerminationReason"/> <field name="terminationReasonId"><text/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListJobInterviewType" type="multi" target="updateJobInterviewType" odd-row-style="alternate-row" header-row-style="header-row-2" @@ -235,7 +235,7 @@ under the License. </form> <form name="AddJobInterviewType" type="single" target="createJobInterviewType" header-row-style="header-row" default-table-style="basic-table"> <field name="jobInterviewTypeId"><text/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> <form name="ListTrainingTypes" type="multi" title="" target="updateTrainingTypes" odd-row-style="alternate-row" header-row-style="header-row-2" @@ -255,16 +255,16 @@ under the License. <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit/></field> </form> <form name="AddTrainingTypes" type="single" target="createTrainingTypes" header-row-style="header-row" default-table-style="basic-table"> - <field name="trainingClassTypeId" title="${uiLabelMap.HumanResTrainingClassType}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="trainingClassTypeId" title="${uiLabelMap.HumanResTrainingClassType}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="parentTypeId" title="${uiLabelMap.HumanResPreRequisiteSkill}"><lookup target-form-name="LookupTraining"/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> <form name="AddEmplLeaveType" type="single" target="createEmplLeaveType" default-map-name="emplLeaveType" header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createEmplLeaveType" default-field-type="hidden"/> <field name="leaveTypeId"><text/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> <form name="ListEmplLeaveTypes" type="multi" title="" target="updateEmplLeaveType" @@ -287,7 +287,7 @@ under the License. header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createEmplLeaveReasonType" default-field-type="hidden"/> <field name="emplLeaveReasonTypeId"><text/></field> - <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> <form name="ListEmplLeaveReasonTypes" type="multi" title="" target="updateEmplLeaveReasonType" Modified: ofbiz/trunk/applications/humanres/widget/forms/PartyQualForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PartyQualForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PartyQualForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PartyQualForms.xml Wed Oct 21 16:00:02 2015 @@ -106,8 +106,8 @@ under the License. <alt-target use-when="insideEmployee != null" target="createPartyQualExt"/> <auto-fields-service service-name="createPartyQual"/> <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="partyQual!=null"><hidden/></field> - <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="partyQual==null" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field> - <field name="partyQualTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="partyQual==null" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupPartyName"/></field> + <field name="partyQualTypeId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="true"> <entity-options key-field-name="partyQualTypeId" entity-name="PartyQualType"> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/humanres/widget/forms/PartyResumeForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PartyResumeForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PartyResumeForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PartyResumeForms.xml Wed Oct 21 16:00:02 2015 @@ -62,7 +62,7 @@ under the License. header-row-style="header-row" default-table-style="basic-table"> <alt-target use-when="partyResume != null" target="updatePartyResume"/> <field name="resumeId" use-when="partyResume!=null" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field> - <field name="resumeId" use-when="partyResume==null" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="resumeId" use-when="partyResume==null" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="contentId"><lookup target-form-name="LookupContent"/></field> <field name="partyId" use-when="partyResume!=null&&partyId!=null" title="${uiLabelMap.FormFieldTitle_partyId}"><hidden/></field> <field name="partyId" use-when="partyResume==null&&partyId==null" title="${uiLabelMap.FormFieldTitle_partyId}"><lookup target-form-name="LookupPartyName"/></field> Modified: ofbiz/trunk/applications/humanres/widget/forms/PartySkillForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PartySkillForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PartySkillForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PartySkillForms.xml Wed Oct 21 16:00:02 2015 @@ -70,8 +70,8 @@ under the License. </actions> <alt-target use-when="insideEmployee != null" target="createPartySkillExt"/> <field name="partyId" use-when="partySkill != null"><hidden/></field> - <field name="partyId" use-when="partySkill == null" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field> - <field name="skillTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="partyId" use-when="partySkill == null" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupPartyName"/></field> + <field name="skillTypeId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down> <entity-options entity-name="SkillType"> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml Wed Oct 21 16:00:02 2015 @@ -55,7 +55,7 @@ <auto-fields-service service-name="updatePayGrade"/> <field use-when="payGrade!=null" name="payGradeId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field> <field use-when="payGrade==null" name="payGradeId"><text/></field> - <field name="payGradeName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="payGradeName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" use-when="payGrade!=null" widget-style="smallSubmit"><submit button-type="button"/></field> </form> Modified: ofbiz/trunk/applications/humanres/widget/forms/PerfReviewForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PerfReviewForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PerfReviewForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PerfReviewForms.xml Wed Oct 21 16:00:02 2015 @@ -72,7 +72,7 @@ under the License. <auto-fields-service service-name="updatePerfReview" map-name="perfReview"/> <field name="perfReviewId" use-when="perfReview==null"><text/></field> <field name="perfReviewId" use-when="perfReview!=null"><ignored/></field> - <field name="employeePartyId" use-when="perfReview==null" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field> + <field name="employeePartyId" use-when="perfReview==null" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupPartyName"/></field> <field name="employeePartyId" use-when="perfReview!=null"><ignored/></field> <field name="employeeRoleTypeId"><hidden value="EMPLOYEE"/></field> <field name="managerPartyId"><lookup target-form-name="LookupPartyName"/></field> Modified: ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml Wed Oct 21 16:00:02 2015 @@ -22,7 +22,7 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> <form name="showTrainingCalendar" type="single" target="applyTraining"> <field name="partyId"><hidden value="${loginPartyId}"/></field> - <field name="approverId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field> + <field name="approverId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupPartyName"/></field> <field name="trainingClassTypeId" title="${uiLabelMap.HumanResTraining} ${uiLabelMap.CommonName}"><display/></field> <field name="approvalStatus"><hidden value="TRAINING_APPLIED"/></field> <field name="workEffortTypeId"><hidden/></field> @@ -149,7 +149,7 @@ under the License. </drop-down> </field> <field name="approvalStatus" use-when="personTraining!=null&&personTraining.getString("approvalStatus").equals("TRAINING_REJECTED")"><display/></field> - <field name="reason" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="reason" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="reason" use-when="personTraining!=null&&personTraining.getString("approvalStatus").equals("TRAINING_REJECTED")"><display/></field> <field name="submitButton" title="Update" widget-style="smallSubmit"><submit button-type="button"/></field> </form> Modified: ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml Wed Oct 21 16:00:02 2015 @@ -101,9 +101,9 @@ under the License. <field name="jobRequisitionId" use-when="jobRequisition==null"><ignored/></field> <field use-when="jobRequisition!=null" name="jobRequisitionId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field> <field name="jobDescription" title="${uiLabelMap.CommonDescription}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> - <field name="jobLocation" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="jobLocation" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="age"><text/></field> - <field name="noOfResources" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="noOfResources" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="gender"> <drop-down allow-empty="true"> <option key="M" description="${uiLabelMap.CommonMale}"/> @@ -111,7 +111,7 @@ under the License. </drop-down> </field> <field name="durationMonths"><text/></field> - <field name="qualification" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="qualification" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <drop-down allow-empty="true"> <entity-options entity-name="PartyQualType" key-field-name="partyQualTypeId"> <entity-order-by field-name="description"/> @@ -127,15 +127,15 @@ under the License. </drop-down> </field> <field name="skillCriteria" title="${uiLabelMap.HumanResSkills} ${uiLabelMap.CommonRequired}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> - <field name="skillTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="skillTypeId" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="true"> <entity-options entity-name="SkillType"> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> - <field name="experienceMonths" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> - <field name="experienceYears" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="experienceMonths" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> + <field name="experienceYears" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="jobPostingTypeEnumId"><hidden value="JOB_POSTING_INTR"/></field> <field name="submitButton" use-when="jobRequisition==null" title="Create" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="submitButton" use-when="jobRequisition!=null" title="Update" widget-style="smallSubmit"><submit button-type="button"/></field> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/AccountForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/AccountForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/AccountForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/AccountForms.xml Wed Oct 21 16:00:02 2015 @@ -23,7 +23,7 @@ under the License. <form name="NewAccount" type="single" target="createAccount" header-row-style="header-row" default-table-style="basic-table"> <field name="accountType"><hidden value="${accountType}"/></field> - <field name="groupName" title="${uiLabelMap.PartyGroupName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="groupName" title="${uiLabelMap.PartyGroupName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <text size="30" maxlength="60"/> </field> <field name="numEmployees" title="${uiLabelMap.MarketingNoOfEmployees}"><text size="30"/></field> @@ -31,14 +31,14 @@ under the License. <field name="postalAddressTitle" title="${uiLabelMap.PartyGeneralCorrespondenceAddress}" title-area-style="group-label"> <display description=" " also-hidden="false"/> </field> - <field name="address1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="address1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <text size="50" maxlength="60"/> </field> <field name="address2" title="${uiLabelMap.CommonAddress2}"><text size="50" maxlength="60"/></field> - <field name="city" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="city" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <text size="30" maxlength="60"/> </field> - <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="true"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoName} - ${geoId}"> <entity-constraint name="geoTypeId" operator="in" value="STATE,PROVINCE"/> @@ -46,11 +46,11 @@ under the License. </entity-options> </drop-down> </field> - <field name="postalCode" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="postalCode" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <text size="10" maxlength="30"/> </field> - <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" widget-style="required"><drop-down allow-empty="false"/></field> - <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" required-field="true"><drop-down allow-empty="false"/></field> + <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down no-current-selected-key="${defaultCountryGeoId}"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoName} - ${geoId}"> <entity-constraint name="geoTypeId" value="COUNTRY"/> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml Wed Oct 21 16:00:02 2015 @@ -104,14 +104,14 @@ under the License. <field name="assignToMe"><hidden/></field> </form> <form name="NewContact" type="single" target="createContact" header-row-style="header-row" default-table-style="basic-table"> - <field name="firstName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> - <field name="lastName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="firstName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> + <field name="lastName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="suffix"><text/></field> <field name="postalAddressTitle" title="${uiLabelMap.PartyGeneralCorrespondenceAddress}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> - <field name="address1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="50" maxlength="60"/></field> + <field name="address1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="50" maxlength="60"/></field> <field name="address2" title="${uiLabelMap.CommonAddress2}"><text size="50" maxlength="60"/></field> - <field name="city" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> - <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="city" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> + <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="true"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoId} - ${geoName}"> <entity-constraint name="geoTypeId" operator="in" value="STATE,PROVINCE"/> @@ -119,8 +119,8 @@ under the License. </entity-options> </drop-down> </field> - <field name="postalCode" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="10" maxlength="30"/></field> - <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="postalCode" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="10" maxlength="30"/></field> + <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="false" no-current-selected-key="${defaultCountryGeoId}"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoId}: ${geoName}"> <entity-constraint name="geoTypeId" value="COUNTRY"/> @@ -170,8 +170,8 @@ under the License. </form> <form name="QuickAddContact" type="single" target="quickAddContact"> - <field name="firstName" title="${uiLabelMap.PartyFirstName}*" widget-style="required"><text size="15"/></field> - <field name="lastName" title="${uiLabelMap.PartyLastName}*" widget-style="required"><text size="15"/></field> + <field name="firstName" title="${uiLabelMap.PartyFirstName}*" required-field="true"><text size="15"/></field> + <field name="lastName" title="${uiLabelMap.PartyLastName}*" required-field="true"><text size="15"/></field> <field name="emailAddress" title="${uiLabelMap.CommonEmail}"><text size="15"/></field> <field name="contactListId" title="${uiLabelMap.MarketingContactList}"> <drop-down allow-empty="true"> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml Wed Oct 21 16:00:02 2015 @@ -22,8 +22,8 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> <form name="createLead" type="single" target="createLead" header-row-style="header-row" default-table-style="basic-table" default-map-name="contactDetailMap"> - <field name="firstName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> - <field name="lastName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> + <field name="firstName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> + <field name="lastName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text/></field> <field name="suffix"><text/></field> <field name="groupName"><text/></field> <field name="title"><text/></field> @@ -120,8 +120,8 @@ under the License. </form> <form name="QuickAddLead" type="single" target="quickAddLead"> - <field name="firstName" title="${uiLabelMap.PartyFirstName}*" widget-style="required"><text size="15"/></field> - <field name="lastName" title="${uiLabelMap.PartyLastName}*" widget-style="required"><text size="15"/></field> + <field name="firstName" title="${uiLabelMap.PartyFirstName}*" required-field="true"><text size="15"/></field> + <field name="lastName" title="${uiLabelMap.PartyLastName}*" required-field="true"><text size="15"/></field> <field name="groupName" title="${uiLabelMap.CommonGroup}"><text size="15"/></field> <field name="emailAddress" title="${uiLabelMap.CommonEmail}"><text size="15"/></field> <field name="contactListId" title="${uiLabelMap.MarketingContactList}"> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Wed Oct 21 16:00:02 2015 @@ -119,8 +119,8 @@ under the License. </drop-down> </field> <field name="nextStepDate" position="1" title="${uiLabelMap.SfaNextStepDate}"><date-time/></field> - <field name="estimatedCloseDate" position="2" title="${uiLabelMap.SfaCloseDate}" widget-style="required"><date-time/></field> - <field name="opportunityStageId" position="1" title="${uiLabelMap.SfaInitialStage}" widget-style="required"> + <field name="estimatedCloseDate" position="2" title="${uiLabelMap.SfaCloseDate}" required-field="true"><date-time/></field> + <field name="opportunityStageId" position="1" title="${uiLabelMap.SfaInitialStage}" required-field="true"> <drop-down> <entity-options entity-name="SalesOpportunityStage"> <entity-order-by field-name="sequenceNum"/> @@ -153,8 +153,8 @@ under the License. </field> <field name="accountPartyId" use-when="communicationEvent==null" title="${uiLabelMap.SfaInitialAccount}" ><lookup target-form-name="LookupPartyGroup" default-value="${accountPartyId}"/></field> <field name="accountPartyId" use-when="communicationEvent!=null" title="${uiLabelMap.SfaInitialAccount}" ><lookup target-form-name="LookupPartyGroup" default-value="${accountPartyId}"/></field> - <field name="leadPartyId" use-when="communicationEvent==null" title="${uiLabelMap.SfaLead}" widget-style="required"><lookup target-form-name="LookupPerson" default-value="${leadPartyId}"/></field> - <field name="leadPartyId" use-when="communicationEvent!=null" title="${uiLabelMap.SfaLead}" widget-style="required"><lookup target-form-name="LookupPerson" default-value="${communicationEvent.partyIdFrom}"/></field> + <field name="leadPartyId" use-when="communicationEvent==null" title="${uiLabelMap.SfaLead}" required-field="true"><lookup target-form-name="LookupPerson" default-value="${leadPartyId}"/></field> + <field name="leadPartyId" use-when="communicationEvent!=null" title="${uiLabelMap.SfaLead}" required-field="true"><lookup target-form-name="LookupPerson" default-value="${communicationEvent.partyIdFrom}"/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" use-when="salesOpportunity==null"><submit button-type="button"/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" use-when="salesOpportunity!=null"><submit button-type="button"/></field> </form> Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml Wed Oct 21 16:00:02 2015 @@ -189,8 +189,8 @@ under the License. <field use-when="personInfo!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field> <field use-when="personInfo==null&&partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonIdGeneratedIfEmpty}"><text/></field> <field use-when="personInfo==null&&partyId!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display also-hidden="false"/></field> - <field name="firstName" title="${uiLabelMap.PartyFirstName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="40" maxlength="60"/></field> - <field name="lastName" title="${uiLabelMap.PartyLastName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="40" maxlength="60"/></field> + <field name="firstName" title="${uiLabelMap.PartyFirstName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="40" maxlength="60"/></field> + <field name="lastName" title="${uiLabelMap.PartyLastName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="40" maxlength="60"/></field> <field name="gender"> <drop-down allow-empty="true"> <option key="M" description="${uiLabelMap.CommonMale}"/> @@ -265,7 +265,7 @@ under the License. <field use-when="partyGroup!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field> <field use-when="partyGroup==null&&partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonIdGeneratedIfEmpty}"><text/></field> <field use-when="partyGroup==null&&partyId!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display also-hidden="false"/></field> - <field name="groupName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"></field> + <field name="groupName" tooltip="${uiLabelMap.CommonRequired}" required-field="true"></field> <field name="partyTypeId"><ignored/></field> <field name="description" title="${uiLabelMap.CommonDescription}"><text/></field> <field name="preferredCurrencyUomId"> @@ -597,17 +597,17 @@ under the License. <field name="USE_ADDRESS"><hidden value="${USE_ADDRESS}"/></field> <field name="require_email"><hidden value="${require_email}"/></field> <field name="USER_TITLE" title="${uiLabelMap.CommonTitle}"><text size="10" maxlength="30"/></field> - <field name="USER_FIRST_NAME" title="${uiLabelMap.PartyFirstName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="USER_FIRST_NAME" title="${uiLabelMap.PartyFirstName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="USER_MIDDLE_NAME" title="${uiLabelMap.PartyMiddleInitial}"><text size="4" maxlength="4"/></field> - <field name="USER_LAST_NAME" title="${uiLabelMap.PartyLastName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="USER_LAST_NAME" title="${uiLabelMap.PartyLastName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="USER_SUFFIX" title="${uiLabelMap.PartySuffix}"><text size="10" maxlength="30"/></field> <field name="ShippingAddressTitle" title="${uiLabelMap.PartyAddressMailingShipping}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> - <field name="USER_ADDRESS1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> + <field name="USER_ADDRESS1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> <field name="USER_ADDRESS2" title="${uiLabelMap.CommonAddress2}"><text size="30" maxlength="60"/></field> - <field name="USER_CITY" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> - <field name="USER_STATE" title="${uiLabelMap.CommonState}" widget-style="required"><drop-down allow-empty="false"/></field> - <field name="USER_POSTAL_CODE" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="10" maxlength="30"/></field> - <field name="USER_COUNTRY" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="USER_CITY" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="60"/></field> + <field name="USER_STATE" title="${uiLabelMap.CommonState}" required-field="true"><drop-down allow-empty="false"/></field> + <field name="USER_POSTAL_CODE" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="10" maxlength="30"/></field> + <field name="USER_COUNTRY" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down no-current-selected-key="${defaultCountryGeoId}"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoId}: ${geoName}"> <entity-constraint name="geoTypeId" value="COUNTRY"/> @@ -642,17 +642,17 @@ under the License. <field name="USER_MOBILE_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field> <field name="USER_MOBILE_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field> <field name="EmailAddressTitle" title="${uiLabelMap.PartyEmailAddress}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> - <field use-when="require_email!=null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="60" maxlength="250"/></field> - <field use-when="require_email==null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" widget-style="required"><text size="60" maxlength="250"/></field> + <field use-when="require_email!=null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="60" maxlength="250"/></field> + <field use-when="require_email==null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" required-field="true"><text size="60" maxlength="250"/></field> <field name="USER_EMAIL_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field> <!-- <field name="USER_ORDER_EMAIL" title="Order Emails (comma separated)" ><text size="60" maxlength="250"/></field> --> - <field use-when="displayPassword!=null" name="USERNAME" title="${uiLabelMap.CommonUsername}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="250"/></field> - <field use-when="displayPassword!=null" name="PASSWORD" title="${uiLabelMap.CommonPassword}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><password size="15" maxlength="250"/></field> - <field use-when="displayPassword!=null" name="CONFIRM_PASSWORD" title="${uiLabelMap.CommonPassword}" tooltip="* ${uiLabelMap.CommonConfirm}" widget-style="required"><password size="15" maxlength="250"/></field> - <field name="USERNAME" title="${uiLabelMap.CommonUsername}" tooltip="* ${uiLabelMap.PartyTemporaryPassword}" widget-style="required"><text size="30" maxlength="250"/></field> + <field use-when="displayPassword!=null" name="USERNAME" title="${uiLabelMap.CommonUsername}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="250"/></field> + <field use-when="displayPassword!=null" name="PASSWORD" title="${uiLabelMap.CommonPassword}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><password size="15" maxlength="250"/></field> + <field use-when="displayPassword!=null" name="CONFIRM_PASSWORD" title="${uiLabelMap.CommonPassword}" tooltip="* ${uiLabelMap.CommonConfirm}" required-field="true"><password size="15" maxlength="250"/></field> + <field name="USERNAME" title="${uiLabelMap.CommonUsername}" tooltip="* ${uiLabelMap.PartyTemporaryPassword}" required-field="true"><text size="30" maxlength="250"/></field> <!--<field name="RequiredNote" title=" "><display description="${uiLabelMap.PartyRequiredNote}" also-hidden="false"/></field> --> - <field name="PRODUCT_STORE_ID" title="Product Store" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="PRODUCT_STORE_ID" title="Product Store" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down> <entity-options entity-name="ProductStore" key-field-name="productStoreId" description="${storeName} (${productStoreId})"> <entity-order-by field-name="productStoreId"/> @@ -1304,7 +1304,7 @@ under the License. <form name="EditProductStoreRole" type="single" extends="EditProductStoreRole" extends-resource="component://product/widget/catalog/StoreForms.xml"> <field name="partyId"><hidden/></field> - <field name="productStoreId" use-when="productStoreRole==null" title="${uiLabelMap.ProductStoreId}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="productStoreId" use-when="productStoreRole==null" title="${uiLabelMap.ProductStoreId}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down> <entity-options entity-name="ProductStore" key-field-name="productStoreId" description="${storeName} (${productStoreId})"> <entity-order-by field-name="productStoreId"/> @@ -1315,7 +1315,7 @@ under the License. </form> <form name="FindProductStoreRole" type="single" extends="FindProductStoreRole" extends-resource="component://product/widget/catalog/StoreForms.xml"> <field name="partyId"><hidden/></field> - <field name="productStoreId" title="${uiLabelMap.ProductStoreId}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="productStoreId" title="${uiLabelMap.ProductStoreId}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down allow-empty="true"> <entity-options entity-name="ProductStore" key-field-name="productStoreId" description="${storeName} (${productStoreId})"> <entity-order-by field-name="productStoreId"/> Modified: ofbiz/trunk/applications/product/widget/catalog/FeatureForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/FeatureForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/FeatureForms.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/FeatureForms.xml Wed Oct 21 16:00:02 2015 @@ -341,7 +341,7 @@ <field name="currencyUomId" title="${uiLabelMap.ProductCurrency}"><display-entity entity-name="Uom" key-field-name="uomId" description="${description} [${uomId}]"/></field> <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display/></field> <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time default-value="${thruDate}"/></field> - <field name="price" title="${uiLabelMap.ProductPrice}" widget-style="required"><text size="25" default-value="${price}"/></field> + <field name="price" title="${uiLabelMap.ProductPrice}" required-field="true"><text size="25" default-value="${price}"/></field> <field name="updateFeaturePrice" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="lastModifiedBy" title="${uiLabelMap.ProductLastModifiedBy}"><display description="[${lastModifiedByUserLogin}] ${uiLabelMap.CommonOn} ${lastModifiedDate}"/></field> <field name="deleteFeaturePrice" title="${uiLabelMap.CommonDelete}" widget-style="buttontext"> @@ -367,7 +367,7 @@ </field> <field name="fromDate" title="${uiLabelMap.CommonFromDate}" position="1"><date-time/></field> <field name="thruDate" title="${uiLabelMap.CommonThruDate}" position="2"><date-time/></field> - <field name="price" title="${uiLabelMap.ProductPrice}" widget-style="required" position="1"><text size="25"/></field> + <field name="price" title="${uiLabelMap.ProductPrice}" required-field="true" position="1"><text size="25"/></field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrency}" position="2"> <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> Modified: ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml Wed Oct 21 16:00:02 2015 @@ -53,7 +53,7 @@ </entity-options> </drop-down> </field> - <field name="storeName" title="${uiLabelMap.ProductStoreName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="100"/></field> + <field name="storeName" title="${uiLabelMap.ProductStoreName}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><text size="30" maxlength="100"/></field> <field name="title" title="${uiLabelMap.ProductTitle}"><text size="30" maxlength="100"/></field> <field name="subtitle" title="${uiLabelMap.ProductSubTitle}"><text size="60" maxlength="250"/></field> <field name="payToPartyId"><lookup target-form-name="LookupPartyName"/></field> @@ -1039,7 +1039,7 @@ <entity-options entity-name="ProductPromo" description="[${productPromoId}] ${promoName}"/> </drop-down> </field> - <field name="fromDate" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><date-time/></field> + <field name="fromDate" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><date-time/></field> <field name="thruDate"><date-time/></field> <field name="manualOnly"> <drop-down> Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Wed Oct 21 16:00:02 2015 @@ -1359,7 +1359,7 @@ under the License. <field name="currentStatusId"><hidden value="CAL_CANCELLED"></hidden></field> <field name="quickAssignPartyId" title="${uiLabelMap.WorkEffortICalendarOwner}" use-when="workEffort==null @and workEffortId==null"><lookup target-form-name="LookupPartyName"/></field> <field name="workEffortId" use-when="workEffort!=null" title="${uiLabelMap.WorkEffortICalendarUrl}"><display description="${serverRootUrl}/iCalendar/${workEffortId}/"/></field> - <field name="workEffortName" title="${uiLabelMap.WorkEffortICalendarName}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"><text/></field> + <field name="workEffortName" title="${uiLabelMap.WorkEffortICalendarName}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"><text/></field> <field name="scopeEnumId" title="${uiLabelMap.WorkEffortICalendarVisibility}"> <drop-down no-current-selected-key="WES_PRIVATE"> <entity-options entity-name="Enumeration" key-field-name="enumId"> Modified: ofbiz/trunk/framework/common/widget/SecurityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/SecurityForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/framework/common/widget/SecurityForms.xml (original) +++ ofbiz/trunk/framework/common/widget/SecurityForms.xml Wed Oct 21 16:00:02 2015 @@ -109,7 +109,7 @@ under the License. </form> <form name="CreateSecurityGroup" type="single" target="createSecurityGroup" default-map-name="securityGroup"> - <field name="groupId" title="${uiLabelMap.CommonSecurityGroupId}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"><text size="20" maxlength="20"/></field> + <field name="groupId" title="${uiLabelMap.CommonSecurityGroupId}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"><text size="20" maxlength="20"/></field> <field name="description" title="${uiLabelMap.CommonDescription}"><text size="60" maxlength="250"/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field> <field name="cancelLink" title=" " widget-style="smallSubmit"> Modified: ofbiz/trunk/framework/webtools/widget/MiscForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/MiscForms.xml (original) +++ ofbiz/trunk/framework/webtools/widget/MiscForms.xml Wed Oct 21 16:00:02 2015 @@ -21,14 +21,14 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> <form name="ProgramExport" type="single" target="ProgramExport" default-map-name="parameters"> - <field name="groovyProgram" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="groovyProgram" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <textarea cols="120" rows="20" /> </field> <field name="submitButton" title="${uiLabelMap.CommonRun}"><submit button-type="button"/></field> </form> <form name="LayoutDemoForm" type="single" target="${demoTargetUrl}" default-map-name="demoMap"> - <field name="name" title="${uiLabelMap.CommonName}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="name" title="${uiLabelMap.CommonName}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <text /> </field> <field name="description" title="${uiLabelMap.CommonDescription}"><text/></field> Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml Wed Oct 21 16:00:02 2015 @@ -92,7 +92,7 @@ <form name="EditFixedAssetMaint" extends="EditFixedAssetMaint" extends-resource="component://accounting/widget/FixedAssetForms.xml" target="updateFixedAssetMaintAndWorkEffort"> <alt-target use-when="fixedAssetMaint==null" target="createFixedAssetMaintUpdateWorkEffort"/> - <field name="fixedAssetId" use-when="fixedAssetMaint==null" title="${uiLabelMap.AccountingFixedAssetId}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupFixedAsset"/></field> + <field name="fixedAssetId" use-when="fixedAssetMaint==null" title="${uiLabelMap.AccountingFixedAssetId}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"><lookup target-form-name="LookupFixedAsset"/></field> <field name="scheduleWorkEffortId"><hidden/></field> <field name="submitButton" ><ignored/></field> <field map-name="workEffort" position="1" name="estimatedStartDate"><date-time/></field> Modified: ofbiz/trunk/specialpurpose/example/widget/example/ExampleForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/example/widget/example/ExampleForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/example/widget/example/ExampleForms.xml (original) +++ ofbiz/trunk/specialpurpose/example/widget/example/ExampleForms.xml Wed Oct 21 16:00:02 2015 @@ -171,7 +171,7 @@ under the License. <field use-when="example!=null" name="exampleId" title="${uiLabelMap.ExampleExampleId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field> <field use-when="example==null @and exampleId==null" name="exampleId" title="${uiLabelMap.ExampleExampleId}"><ignored/></field> <field use-when="example==null @and exampleId!=null" name="exampleId" title="${uiLabelMap.ExampleExampleId}"><display description="${uiLabelMap.CommonCannotBeFound}: [${exampleId}]" also-hidden="false"/></field> - <field name="exampleTypeId" title="${uiLabelMap.CommonType}" id-name="exampleTypeId" widget-style="required"> + <field name="exampleTypeId" title="${uiLabelMap.CommonType}" id-name="exampleTypeId" required-field="true"> <drop-down allow-empty="false"> <!-- this is a neat feature, but not good for the type because the user would have to know the possible types in order to enter at least the first letter, so leaving it out by default; just uncomment to enable: <auto-complete/> --> <entity-options entity-name="ExampleType"> @@ -179,19 +179,19 @@ under the License. </entity-options> </drop-down> </field> - <field name="statusId" use-when="example==null" title="${uiLabelMap.CommonStatus}" widget-style="required"> + <field name="statusId" use-when="example==null" title="${uiLabelMap.CommonStatus}" required-field="true"> <drop-down allow-empty="false"> <entity-options entity-name="ExampleStatusItem"/> </drop-down> </field> - <field name="statusId" use-when="example!=null" title="${uiLabelMap.CommonStatus}" widget-style="required"> + <field name="statusId" use-when="example!=null" title="${uiLabelMap.CommonStatus}" required-field="true"> <drop-down allow-empty="false" current-description="${currentStatus.description}"> <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})"> <entity-constraint name="statusId" env-name="example.statusId"/> </entity-options> </drop-down> </field> - <field name="exampleName" required-field="true" widget-style="required"><text placeholder="${uiLabelMap.FormFieldTitle_exampleName}"/></field> + <field name="exampleName" title="${uiLabelMap.FormFieldTitle_exampleName}" required-field="true"><text /></field> <field name="description" title="${uiLabelMap.CommonDescription}"/> <field name="longDescription" title="${uiLabelMap.ExampleLongDescription}"/> <field name="anotherText"> |
Free forum by Nabble | Edit this page |