diff --git a/applications/content/webapp/content/cms/CMSContentEdit.ftl b/applications/content/webapp/content/cms/CMSContentEdit.ftl index d94e591637..172b079dcc 100644 --- a/applications/content/webapp/content/cms/CMSContentEdit.ftl +++ b/applications/content/webapp/content/cms/CMSContentEdit.ftl @@ -140,10 +140,8 @@ ${menuWrapper.renderMenuString()} -
- - ${uiLabelMap.CommonClickHereForFieldLookup} - +
+ <@htmlTemplate.lookupField3 formName="updatefeatures" name="fieldValue0_o_${rowCount}" id="fieldValue0_o_${rowCount}" fieldFormName="LookupFeature"/>
diff --git a/applications/content/webapp/content/survey/EditSurveyResponse.ftl b/applications/content/webapp/content/survey/EditSurveyResponse.ftl index fa8e7f3e2f..e590461490 100644 --- a/applications/content/webapp/content/survey/EditSurveyResponse.ftl +++ b/applications/content/webapp/content/survey/EditSurveyResponse.ftl @@ -20,7 +20,7 @@ under the License. <#-- Render the survey --> <#if surveyString?has_content>
-
${uiLabelMap.PartyPartyId}: ${uiLabelMap.CommonClickHereForFieldLookup}
+
${uiLabelMap.PartyPartyId}: <@htmlTemplate.lookupField value="${userLogin.partyId}" formName="EditSurveyResponseForm" name="partyId" id="partyId" lookupFieldFormName="LookupPartyName"/> <#-- pass through the dataResourceId so the response can be associated with it --> diff --git a/applications/humanres/webapp/humanres/humanres/findEmployee.ftl b/applications/humanres/webapp/humanres/humanres/findEmployee.ftl index d9d1a97d85..68147bf264 100644 --- a/applications/humanres/webapp/humanres/humanres/findEmployee.ftl +++ b/applications/humanres/webapp/humanres/humanres/findEmployee.ftl @@ -54,10 +54,9 @@ under the License. ${uiLabelMap.PartyPartyId} - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + + <@htmlTemplate.lookupField value='${requestParameters.partyId?if_exists}' formName="lookupparty" name="partyId" id="partyId" fieldFormName="LookupPerson"/> + ${uiLabelMap.PartyUserLogin} diff --git a/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl b/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl index f3776d423a..82bd79c631 100644 --- a/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl +++ b/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl @@ -63,8 +63,7 @@ function lookupBom() { ${uiLabelMap.ProductProductId}   - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${productId?if_exists}" formName="searchform" name="productId" id="productId" fieldFormName="LookupProduct"/> ${uiLabelMap.ManufacturingShowBOMAssocs} @@ -75,8 +74,7 @@ function lookupBom() { ${uiLabelMap.ManufacturingCopyToProductId}   - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="searchform" name="copyToProductId" id="copyToProductId" fieldFormName="LookupProduct"/> ${uiLabelMap.ManufacturingCopyBOMAssocs} @@ -109,16 +107,14 @@ function lookupBom() { ${uiLabelMap.ProductProductId}   - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${productId?if_exists}" formName="editProductAssocForm" name="productId" id="productId" fieldFormName="LookupProduct"/> ${uiLabelMap.ManufacturingProductIdTo}   - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${productIdTo?if_exists}" formName="editProductAssocForm" name="productIdTo" id="productIdTo" fieldFormName="LookupProduct"/> @@ -214,8 +210,16 @@ function lookupBom() { ${uiLabelMap.ManufacturingRoutingTask}   - value="${(productAssoc.routingWorkEffortId)?if_exists}"<#else>value="${(request.getParameter("routingWorkEffortId"))?if_exists}" size="10" maxlength="15"/> - ${uiLabelMap.CommonClickHereForFieldLookup} + <#if useValues> + <#assign value = productAssoc.routingWorkEffortId?if_exists> + <#else> + <#assign value = request.getParameter("routingWorkEffortId")?if_exists> + + <#if value?has_content> + <@htmlTemplate.lookupField value="${value}" formName="editProductAssocForm" name="routingWorkEffortId" id="routingWorkEffortId" fieldFormName="LookupRoutingTask"/> + <#else> + <@htmlTemplate.lookupField formName="editProductAssocForm" name="routingWorkEffortId" id="routingWorkEffortId" fieldFormName="LookupRoutingTask"/> + diff --git a/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl b/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl index c92d5b2b1d..a5fe6c6ae0 100644 --- a/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl +++ b/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl @@ -63,13 +63,10 @@ function lookupInventory() { ${uiLabelMap.ManufacturingProductId}   - - - - ${uiLabelMap.CommonClickHereForFieldLookup} - - - ${uiLabelMap.CommonDescription} + + <@htmlTemplate.lookupField value='${requestParameters.productId?if_exists}' formName="lookupinventory" name="productId" id="productId" fieldFormName="LookupProduct"/> + + ${uiLabelMap.CommonDescription} diff --git a/applications/manufacturing/webapp/manufacturing/routing/EditRoutingTaskAssoc.ftl b/applications/manufacturing/webapp/manufacturing/routing/EditRoutingTaskAssoc.ftl index 4a639d7b9a..ca6e35deb1 100644 --- a/applications/manufacturing/webapp/manufacturing/routing/EditRoutingTaskAssoc.ftl +++ b/applications/manufacturing/webapp/manufacturing/routing/EditRoutingTaskAssoc.ftl @@ -42,8 +42,7 @@ function addRoutingTask() { ${uiLabelMap.ManufacturingRoutingTaskId} - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="addtaskassocform" name="workEffortIdTo" id="workEffortIdTo" fieldFormName="LookupRoutingTask"/> ${uiLabelMap.CommonFromDate} diff --git a/applications/order/webapp/ordermgr/entry/cart/showcart.ftl b/applications/order/webapp/ordermgr/entry/cart/showcart.ftl index 8d682db05d..8cb956e3cd 100644 --- a/applications/order/webapp/ordermgr/entry/cart/showcart.ftl +++ b/applications/order/webapp/ordermgr/entry/cart/showcart.ftl @@ -84,6 +84,17 @@ under the License. LookupSupplierProduct?partyId=${partyId?if_exists}<#else>LookupProduct');"> ${uiLabelMap.CommonClickHereForFieldLookup} + <#-- FIXME Problem here: the input field is shared --> + <#--if orderType=="PURCHASE_ORDER"> + <#if partyId?has_content> + <#assign fieldFormName="LookupSupplierProduct?partyId=${partyId}"> + <#else> + <#assign fieldFormName="LookupSupplierProduct"> + + <#else> + <#assign fieldFormName="LookupProduct"> + + <@htmlTemplate.lookupField formName="quickaddform" name="add_product_id" id="add_product_id" fieldFormName="${fieldFormName}"/--> ${uiLabelMap.OrderAddGiftCertificate} <#if "PURCHASE_ORDER" == shoppingCart.getOrderType()> ${uiLabelMap.ProductAtpQoh} @@ -164,8 +175,8 @@ under the License.
${uiLabelMap.OrderOrderItemType}:  -
${uiLabelMap.ProductProductCategory}:  - ${uiLabelMap.CommonClickHereForFieldLookup} +
${uiLabelMap.ProductProductCategory}:  + <@htmlTemplate.lookupField formName="bulkworkaddform" value="${requestParameters.add_category_id?if_exists}" name="add_category_id" id="add_category_id" fieldFormName="LookupProductCategory"/>
${uiLabelMap.CommonDescription}:  diff --git a/applications/order/webapp/ordermgr/entry/checkinits.ftl b/applications/order/webapp/ordermgr/entry/checkinits.ftl index c33faa4580..8cf885b86b 100644 --- a/applications/order/webapp/ordermgr/entry/checkinits.ftl +++ b/applications/order/webapp/ordermgr/entry/checkinits.ftl @@ -101,10 +101,7 @@ under the License.  
- - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value="${parameters.userLogin.userLoginId}" formName="salesentryform" name="userLoginId" id="userLoginId" fieldFormName="LookupUserLoginAndPartyDetails"/>
@@ -114,10 +111,7 @@ under the License.  
- - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value='${thisPartyId?if_exists}' formName="salesentryform" name="partyId" id="partyId" fieldFormName="LookupCustomerName"/>
@@ -174,10 +168,7 @@ under the License.  
- - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value='${parameters.userLogin.userLoginId}'formName="poentryform" name="userLoginId" id="userLoginId" fieldFormName="LookupUserLoginAndPartyDetails"/>
diff --git a/applications/order/webapp/ordermgr/entry/orderagreements.ftl b/applications/order/webapp/ordermgr/entry/orderagreements.ftl index 99b3bd5997..cb816865f5 100644 --- a/applications/order/webapp/ordermgr/entry/orderagreements.ftl +++ b/applications/order/webapp/ordermgr/entry/orderagreements.ftl @@ -158,8 +158,7 @@ under the License.   - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="agreementForm" name="workEffortId" id="workEffortId" fieldFormName="LookupWorkEffort"/> diff --git a/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl b/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl index 0efac5b300..c3e291bcb4 100644 --- a/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl +++ b/applications/order/webapp/ordermgr/entry/setAdditionalParty.ftl @@ -83,10 +83,7 @@ under the License.
${uiLabelMap.CommonIdentifier} :
- - - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${additionalPartyId?if_exists}" formName="quickAddPartyForm" name="additionalPartyId" id="additionalPartyId" fieldFormName="${lookupPartyView}"/>  ${uiLabelMap.CommonApply} diff --git a/applications/order/webapp/ordermgr/entry/shipsettings.ftl b/applications/order/webapp/ordermgr/entry/shipsettings.ftl index fd7758b5c0..f957edde28 100644 --- a/applications/order/webapp/ordermgr/entry/shipsettings.ftl +++ b/applications/order/webapp/ordermgr/entry/shipsettings.ftl @@ -255,9 +255,7 @@ under the License.  
- - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value='${thisPartyId?if_exists}' formName="partyshipform" name="shipToPartyId" id="shipToPartyId" fieldFormName="LookupPartyName"/>
diff --git a/applications/order/webapp/ordermgr/order/appendorderitem.ftl b/applications/order/webapp/ordermgr/order/appendorderitem.ftl index 5ff45548d1..72fe4464d9 100644 --- a/applications/order/webapp/ordermgr/order/appendorderitem.ftl +++ b/applications/order/webapp/ordermgr/order/appendorderitem.ftl @@ -59,7 +59,8 @@ under the License. <#if "PURCHASE_ORDER" == orderHeader.orderTypeId> ${uiLabelMap.OrderQuickLookup} - + <#-- FIXME Problem here: the input field is shared --> + <@htmlTemplate.lookupField formName="appendItemForm" name="productId" id="productId" fieldFormName="LookupProduct"/> ${uiLabelMap.CommonClickHereForFieldLookup} diff --git a/applications/order/webapp/ordermgr/order/findOrders.ftl b/applications/order/webapp/ordermgr/order/findOrders.ftl index f241ec82c8..b80e211f46 100644 --- a/applications/order/webapp/ordermgr/order/findOrders.ftl +++ b/applications/order/webapp/ordermgr/order/findOrders.ftl @@ -201,10 +201,7 @@ function toggleOrderIdList() { ${uiLabelMap.PartyPartyId}   - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value='${requestParameters.partyId?if_exists}' formName="lookuporder" name="partyId" id="partyId" fieldFormName="LookupPartyName"/> diff --git a/applications/order/webapp/ordermgr/return/returnHeader.ftl b/applications/order/webapp/ordermgr/return/returnHeader.ftl index e5813407b4..91f12b59c0 100644 --- a/applications/order/webapp/ordermgr/return/returnHeader.ftl +++ b/applications/order/webapp/ordermgr/return/returnHeader.ftl @@ -86,10 +86,7 @@ under the License. ${uiLabelMap.OrderReturnFromParty}   - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value='${returnInfo.fromPartyId?if_exists}' formName="returnhead" name="fromPartyId" id="fromPartyId" fieldFormName="LookupPartyName"/> diff --git a/applications/party/webapp/partymgr/party/linkparty.ftl b/applications/party/webapp/partymgr/party/linkparty.ftl index 6a1c69135d..5eb8403e11 100644 --- a/applications/party/webapp/partymgr/party/linkparty.ftl +++ b/applications/party/webapp/partymgr/party/linkparty.ftl @@ -71,13 +71,10 @@ under the License.
${uiLabelMap.PartyLink} - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${partyId?if_exists}" formName="linkpartycnf" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>   ${uiLabelMap.CommonTo} - - ${uiLabelMap.CommonClickHereForFieldLookup} - ${uiLabelMap.CommonLink} + <@htmlTemplate.lookupField value="${partyIdTo?if_exists}" formName="linkpartycnf" name="partyIdTo" id="partyIdTo" fieldFormName="LookupPartyName"/>
diff --git a/applications/product/webapp/catalog/category/EditCategory.ftl b/applications/product/webapp/catalog/category/EditCategory.ftl index e7bba72c9b..d199a1b6b1 100644 --- a/applications/product/webapp/catalog/category/EditCategory.ftl +++ b/applications/product/webapp/catalog/category/EditCategory.ftl @@ -182,8 +182,7 @@ function insertImageName(type,nameValue) { ${uiLabelMap.ProductPrimaryParentCategory}   - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${(productCategory.primaryParentCategoryId)?default('')}" formName="productCategoryForm" name="primaryParentCategoryId" id="primaryParentCategoryId" fieldFormName="LookupProductCategory"/> diff --git a/applications/product/webapp/catalog/category/EditCategoryProducts.ftl b/applications/product/webapp/catalog/category/EditCategoryProducts.ftl index 43aee0bf8a..b483fe3c51 100644 --- a/applications/product/webapp/catalog/category/EditCategoryProducts.ftl +++ b/applications/product/webapp/catalog/category/EditCategoryProducts.ftl @@ -147,8 +147,8 @@ under the License.
- ${uiLabelMap.ProductProductId} - ${uiLabelMap.CommonClickHereForFieldLookup} + ${uiLabelMap.ProductProductId} + <@htmlTemplate.lookupField formName="addProductCategoryMemberForm" name="productId" id="productId" lookupFieldFormName="LookupProduct"/> ${uiLabelMap.CommonFromDate} Calendar
@@ -172,8 +172,7 @@ under the License.
${uiLabelMap.ProductTargetProductCategory} - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="copyCategoryProductMembersForm" name="productCategoryIdTo" id="productCategoryIdTo" fieldFormName="LookupProductCategory"/>
${uiLabelMap.ProductOptionalFilterWithDate} Calendar diff --git a/applications/product/webapp/catalog/category/EditCategoryRollup.ftl b/applications/product/webapp/catalog/category/EditCategoryRollup.ftl index d4bac9401f..1e42262630 100644 --- a/applications/product/webapp/catalog/category/EditCategoryRollup.ftl +++ b/applications/product/webapp/catalog/category/EditCategoryRollup.ftl @@ -98,8 +98,7 @@ under the License.
- - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="addParentForm" name="parentProductCategoryId" id="parentProductCategoryId" fieldFormName="LookupProductCategory"/> Calendar @@ -189,8 +188,7 @@ under the License. - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="addChildForm" name="productCategoryId" id="productCategoryId" fieldFormName="LookupProductCategory"/> Calendar diff --git a/applications/product/webapp/catalog/find/advancedsearch.ftl b/applications/product/webapp/catalog/find/advancedsearch.ftl index 846e0e705e..e7e6491a44 100644 --- a/applications/product/webapp/catalog/find/advancedsearch.ftl +++ b/applications/product/webapp/catalog/find/advancedsearch.ftl @@ -66,8 +66,7 @@ under the License.
- - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="advtokeywordsearchform" name="SEARCH_CATEGORY_ID" id="SEARCH_CATEGORY_ID" fieldFormName="LookupProductCategory"/> ${uiLabelMap.ProductIncludeSubCategories}? ${uiLabelMap.CommonYes} ${uiLabelMap.CommonNo} @@ -261,8 +260,7 @@ under the License. ${uiLabelMap.ProductPrioritizeProductsInCategory}: - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.PRIORITIZE_CATEGORY_ID?if_exists}" formName="advtokeywordsearchform" name="PRIORITIZE_CATEGORY_ID" id="PRIORITIZE_CATEGORY_ID" fieldFormName="LookupProductCategory"/> diff --git a/applications/product/webapp/catalog/find/keywordsearchactions.ftl b/applications/product/webapp/catalog/find/keywordsearchactions.ftl index dcb36a184c..4e2f362081 100644 --- a/applications/product/webapp/catalog/find/keywordsearchactions.ftl +++ b/applications/product/webapp/catalog/find/keywordsearchactions.ftl @@ -29,8 +29,7 @@ under the License.
${uiLabelMap.ProductRemoveResultsFrom} ${uiLabelMap.ProductCategory}: - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="searchRemoveFromCategory" name="SE_SEARCH_CATEGORY_ID" id="SE_SEARCH_CATEGORY_ID" fieldFormName="LookupProductCategory"/>
@@ -42,8 +41,7 @@ under the License.
${uiLabelMap.ProductExpireResultsFrom} ${uiLabelMap.ProductCategory}: - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="searchExpireFromCategory" name="SE_SEARCH_CATEGORY_ID" id="SE_SEARCH_CATEGORY_ID" fieldFormName="LookupProductCategory"/> ${uiLabelMap.CommonThru}Calendar @@ -56,8 +54,7 @@ under the License.
${uiLabelMap.ProductAddResultsTo} ${uiLabelMap.ProductCategory}: - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="searchAddToCategory" name="SE_SEARCH_CATEGORY_ID" id="SE_SEARCH_CATEGORY_ID" fieldFormName="LookupProductCategory"/> ${uiLabelMap.CommonFrom}Calendar diff --git a/applications/product/webapp/catalog/find/keywordsearchbox.ftl b/applications/product/webapp/catalog/find/keywordsearchbox.ftl index 4a61e31b05..627b106af6 100644 --- a/applications/product/webapp/catalog/find/keywordsearchbox.ftl +++ b/applications/product/webapp/catalog/find/keywordsearchbox.ftl @@ -41,7 +41,7 @@ under the License.
- ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="keywordsearchform" name="SEARCH_CATEGORY_ID" id="keywordSearchCategoryId" fieldFormName="LookupProductCategory"/>
@@ -60,8 +60,7 @@ under the License.
- - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="advancedsearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/>
${uiLabelMap.ProductAdvancedSearch} @@ -70,10 +69,9 @@ under the License.
- - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.productId?if_exists}" formName="productjumpform" name="productId" id="productJumpFormProductId" fieldFormName="LookupProductCategory"/> - ${uiLabelMap.CommonClickHereForFieldLookup} + + <@htmlTemplate.lookupField formName="editProductAssocForm" name="PRODUCT_ID_TO" id="PRODUCT_ID_TO" fieldFormName="LookupProduct"/> + ${uiLabelMap.ProductAssociationTypeId} diff --git a/applications/product/webapp/catalog/product/EditProductFeatures.ftl b/applications/product/webapp/catalog/product/EditProductFeatures.ftl index e3e1dffda2..519bbedbb7 100644 --- a/applications/product/webapp/catalog/product/EditProductFeatures.ftl +++ b/applications/product/webapp/catalog/product/EditProductFeatures.ftl @@ -178,11 +178,8 @@ under the License. ${uiLabelMap.CommonId}: - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField formName="addFeatureById" name="productFeatureId" id="productFeatureId" fieldFormName="LookupProductFeature"/> ${uiLabelMap.ProductFeatureApplicationType}: - + <#-- TODO: Add PartyId lookup screen - - Click here For Field Lookup - --> + <@htmlTemplate.lookupField formName="addNewForm" name="partyId" id="partyId" fieldFormName="LookupCustomerName"/> + --> - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="createProductPromoCategoryConditions" name="productCategoryId" id="productCategoryId" fieldFormName="LookupProductCategory"/> - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="createProductPromoCategoryActions" name="productCategoryId" id="productCategoryId" fieldFormName="LookupProductCategory"/> - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="createProductPromoCategoryPromotions" name="productCategoryId" id="productCategoryId" fieldFormName="LookupProductCategory"/> - ${uiLabelMap.ProductProductId}*${uiLabelMap.CommonClickHereForFieldLookup} + ${uiLabelMap.ProductProductId}*<@htmlTemplate.lookupField formName="createpromoproductform" name="productId" id="productId" fieldFormName="LookupProduct"/> - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="addSurvey" name="productCategoryId" id="productCategoryId" fieldFormName="LookupProductCategory"/> diff --git a/applications/product/webapp/facility/facility/EditFacility.ftl b/applications/product/webapp/facility/facility/EditFacility.ftl index 41a05925b0..e4cee8544b 100644 --- a/applications/product/webapp/facility/facility/EditFacility.ftl +++ b/applications/product/webapp/facility/facility/EditFacility.ftl @@ -49,19 +49,13 @@ under the License. ${uiLabelMap.FormFieldTitle_parentFacilityId} - - - ${uiLabelMap.CommonFieldLookup} - + <@htmlTemplate.lookupField value="${facility.parentFacilityId?if_exists}" formName="EditFacilityForm" name="parentFacilityId" id="parentFacilityId" fieldFormName="LookupFacility"/> ${uiLabelMap.ProductFacilityOwner} - - - ${uiLabelMap.CommonFieldLookup} - + <@htmlTemplate.lookupField value="${facility.ownerPartyId?if_exists}" formName="EditFacilityForm" name="ownerPartyId" id="ownerPartyId" fieldFormName="LookupPartyName"/> ${uiLabelMap.CommonRequired} diff --git a/applications/product/webapp/facility/facility/FindFacilityLocation.ftl b/applications/product/webapp/facility/facility/FindFacilityLocation.ftl index 29d58bd5c9..ccf07955f8 100644 --- a/applications/product/webapp/facility/facility/FindFacilityLocation.ftl +++ b/applications/product/webapp/facility/facility/FindFacilityLocation.ftl @@ -35,10 +35,7 @@ under the License. ${uiLabelMap.ProductLocationSeqId} - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField formName="findFacilityLocation" name="locationSeqId" id="locationSeqId" fieldFormName="LookupFacilityLocation<#if (facilityId?exists)>?facilityId=${facilityId}"/> diff --git a/applications/product/webapp/facility/facility/PickMoveStock.ftl b/applications/product/webapp/facility/facility/PickMoveStock.ftl index e3149c34a5..d0b4351d55 100644 --- a/applications/product/webapp/facility/facility/PickMoveStock.ftl +++ b/applications/product/webapp/facility/facility/PickMoveStock.ftl @@ -161,28 +161,22 @@ under the License. ${uiLabelMap.ProductMoveQuantity}   - - - - ${uiLabelMap.CommonClickHereForFieldLookup} - - - - - - ${uiLabelMap.CommonClickHereForFieldLookup} - - - - - ${uiLabelMap.CommonClickHereForFieldLookup} - - - + + <@htmlTemplate.lookupField formName="quickStockMove" name="productId" id="productId" fieldFormName="LookupProduct"/> + + + + + ${uiLabelMap.CommonClickHereForFieldLookup} + + + <@htmlTemplate.lookupField formName="quickStockMove" name="targetLocationSeqId" id="targetLocationSeqId" fieldFormName="LookupFacilityLocation?facilityId=${facilityId}&locationTypeEnumId=FLT_PICKLOC"/> + + - - ${uiLabelMap.ProductQuickStockMove} - + + ${uiLabelMap.ProductQuickStockMove} + diff --git a/applications/product/webapp/facility/inventory/TransferInventoryItem.ftl b/applications/product/webapp/facility/inventory/TransferInventoryItem.ftl index 5643fcaf73..585dedd85d 100644 --- a/applications/product/webapp/facility/inventory/TransferInventoryItem.ftl +++ b/applications/product/webapp/facility/inventory/TransferInventoryItem.ftl @@ -161,10 +161,7 @@ under the License. ${uiLabelMap.ProductToLocation}   - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value="${(inventoryTransfer.locationSeqIdTo)?if_exists}" formName="transferform" name="locationSeqIdTo" id="locationSeqIdTo" fieldFormName="LookupFacilityLocation"/> @@ -212,10 +209,7 @@ under the License. ${uiLabelMap.ProductToLocation}   - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value="${(inventoryTransfer.locationSeqIdTo)?if_exists}" formName="transferform" name="locationSeqIdTo" id="locationSeqIdTo" fieldFormName="LookupFacilityLocation?facilityId=${inventoryTransfer.facilityIdTo}"/> diff --git a/applications/product/webapp/facility/inventory/receiveInventory.ftl b/applications/product/webapp/facility/inventory/receiveInventory.ftl index 2da43182c3..3bc42546fd 100644 --- a/applications/product/webapp/facility/inventory/receiveInventory.ftl +++ b/applications/product/webapp/facility/inventory/receiveInventory.ftl @@ -154,8 +154,7 @@ under the License. ${uiLabelMap.ProductFacilityOwner}   - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField formName="selectAllForm" name="ownerPartyId" id="ownerPartyId" lookupFieldFormName="LookupPartyName"/>${uiLabelMap.CommonClickHereForFieldLookup} @@ -186,10 +185,7 @@ under the License. <#else> - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField formName="selectAllForm" name="locationSeqId" id="locationSeqId" fieldFormName="LookupFacilityLocation<#if parameters.facilityId?exists>?facilityId=${facilityId}"/> @@ -391,10 +387,7 @@ under the License. <#else> - - - ${uiLabelMap.CommonClickHereForFieldLookup}/ - + <@htmlTemplate.lookupField formName="selectAllForm" name="locationSeqId_o_${rowCount}" id="locationSeqId_o_${rowCount}" fieldFormName="LookupFacilityLocation<#if parameters.facilityId?exists>?facilityId=${facilityId}"/> ${uiLabelMap.ProductQtyReceived} : @@ -507,21 +500,15 @@ under the License. ${uiLabelMap.ProductPurchaseOrderNumber} - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value="${requestParameters.purchaseOrderId?if_exists}" formName="selectAllForm" name="purchaseOrderId" id="purchaseOrderId" fieldFormName="LookupPurchaseOrderHeaderAndShipInfo"/> ${uiLabelMap.ProductLeaveSingleProductReceiving} ${uiLabelMap.ProductProductId} - - - " width="15" height="14" border="0" alt="${uiLabelMap.CommonClickHereForFieldLookup}"/> - - ${uiLabelMap.ProductLeaveEntirePoReceiving} + <@htmlTemplate.lookupField value="${requestParameters.productId?if_exists}" formName="selectAllForm" name="productId" id="productId" fieldFormName="LookupProduct"/> + ${uiLabelMap.ProductLeaveEntirePoReceiving} diff --git a/applications/product/webapp/facility/returns/receiveReturn.ftl b/applications/product/webapp/facility/returns/receiveReturn.ftl index ffc119f52d..a924162639 100644 --- a/applications/product/webapp/facility/returns/receiveReturn.ftl +++ b/applications/product/webapp/facility/returns/receiveReturn.ftl @@ -149,11 +149,8 @@ under the License. <#else> - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField formName="selectAllForm" name="locationSeqId_o_${rowCount}" id="locationSeqId_o_${rowCount}" fieldFormName="LookupFacilityLocation<#if parameters.facilityId?exists>?facilityId=${facilityId}"/> diff --git a/applications/product/webapp/facility/shipment/AddItemsFromInventory.ftl b/applications/product/webapp/facility/shipment/AddItemsFromInventory.ftl index dfd543abd0..408cf65acf 100644 --- a/applications/product/webapp/facility/shipment/AddItemsFromInventory.ftl +++ b/applications/product/webapp/facility/shipment/AddItemsFromInventory.ftl @@ -58,10 +58,7 @@ under the License. - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField formName="issueInventoryItemToShipment_${item_index}" name="inventoryItemId" id="inventoryItemId" fieldFormName="LookupInventoryItem?orderId=${item.orderId}&partyId=${item.partyId}&productId=${item.productId}"/> diff --git a/applications/product/webapp/facility/shipment/AddItemsFromOrder.ftl b/applications/product/webapp/facility/shipment/AddItemsFromOrder.ftl index 1b9599be32..8b2c3b82d5 100644 --- a/applications/product/webapp/facility/shipment/AddItemsFromOrder.ftl +++ b/applications/product/webapp/facility/shipment/AddItemsFromOrder.ftl @@ -29,11 +29,8 @@ under the License.
${uiLabelMap.ProductOrderId} - - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value="${orderId?if_exists}" formName="additemsfromorder" name="orderId" id="orderId" fieldFormName="LookupOrderHeaderAndShipInfo"/> ${uiLabelMap.ProductOrderShipGroupId} diff --git a/applications/product/webapp/facility/shipment/EditShipmentItems.ftl b/applications/product/webapp/facility/shipment/EditShipmentItems.ftl index 3ece68469b..5d5fb11abb 100644 --- a/applications/product/webapp/facility/shipment/EditShipmentItems.ftl +++ b/applications/product/webapp/facility/shipment/EditShipmentItems.ftl @@ -132,10 +132,7 @@ under the License. ${uiLabelMap.ProductNewItem} ${uiLabelMap.ProductProductId} - - - " width="15" height="14" alt="${uiLabelMap.CommonClickHereForFieldLookup}" /> - + <@htmlTemplate.lookupField formName="createShipmentItemForm" name="productId" id="productId" fieldFormName="LookupProduct"/> ${uiLabelMap.ProductProductDescription} diff --git a/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl b/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl index abb84d673a..1caa94c49d 100644 --- a/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl +++ b/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl @@ -76,11 +76,9 @@ under the License.
${uiLabelMap.ProductShipmentId}  - ${uiLabelMap.ProductOrderId}  + ${uiLabelMap.ProductOrderId}  - - ${uiLabelMap.CommonClickHereForFieldLookup} - + <@htmlTemplate.lookupField value="${orderId?if_exists}" formName="ReceiveInventoryAgainstPurchaseOrder" name="purchaseOrderId" id="purchaseOrderId" fieldFormName="LookupOrderHeaderAndShipInfo"/> ${uiLabelMap.ProductOrderShipGroupId}  diff --git a/applications/workeffort/webapp/workeffort/find/WorkEffortSearchOptions.ftl b/applications/workeffort/webapp/workeffort/find/WorkEffortSearchOptions.ftl index 05e6e67055..095172d20a 100644 --- a/applications/workeffort/webapp/workeffort/find/WorkEffortSearchOptions.ftl +++ b/applications/workeffort/webapp/workeffort/find/WorkEffortSearchOptions.ftl @@ -46,8 +46,7 @@ under the License. ${uiLabelMap.FormFieldTitle_workEffortId}
-   - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.SEARCH_WORK_EFFORT_ID?if_exists}" formName="advToKeyWordSearchForm" name="SEARCH_WORK_EFFORT_ID" id="SEARCH_WORK_EFFORT_ID" fieldFormName="LookupWorkEffort"/>
@@ -71,8 +70,7 @@ under the License. ${uiLabelMap.PartyPartyId}
-   - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.partyId?if_exists}" formName="advToKeyWordSearchForm" name="partyId" id="partyId" fieldFormName="LookupPartyName"/>
@@ -93,8 +91,7 @@ under the License. ${uiLabelMap.WorkEffortProductId1}
-   - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.productId_1?if_exists}" formName="advToKeyWordSearchForm" name="productId_1" id="productId_1" fieldFormName="LookupProduct"/>
@@ -102,8 +99,7 @@ under the License. ${uiLabelMap.WorkEffortProductId2}
-   - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.productId_2?if_exists}" formName="advToKeyWordSearchForm" name="productId_2" id="productId_2" fieldFormName="LookupProduct"/>
diff --git a/specialpurpose/ebay/webapp/ebay/find/EbayAdvancedSearch.ftl b/specialpurpose/ebay/webapp/ebay/find/EbayAdvancedSearch.ftl index f02ea729e0..5e3117e0d2 100644 --- a/specialpurpose/ebay/webapp/ebay/find/EbayAdvancedSearch.ftl +++ b/specialpurpose/ebay/webapp/ebay/find/EbayAdvancedSearch.ftl @@ -137,8 +137,7 @@ under the License. <#else> - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="advToKeywordSearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/> ${uiLabelMap.ProductIncludeSubCategories}? ${uiLabelMap.CommonYes} @@ -332,8 +331,7 @@ under the License. ${uiLabelMap.ProductPrioritizeProductsInCategory}: - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.PRIORITIZE_CATEGORY_ID?if_exists}" formName="advToKeywordSearchform" name="PRIORITIZE_CATEGORY_ID" id="PRIORITIZE_CATEGORY_ID" fieldFormName="LookupProductCategory"/> diff --git a/specialpurpose/ebaystore/webapp/ebaystore/store/ebayApiKeywordSearch.ftl b/specialpurpose/ebaystore/webapp/ebaystore/store/ebayApiKeywordSearch.ftl index 052f8d23f7..70fd150c63 100644 --- a/specialpurpose/ebaystore/webapp/ebaystore/store/ebayApiKeywordSearch.ftl +++ b/specialpurpose/ebaystore/webapp/ebaystore/store/ebayApiKeywordSearch.ftl @@ -92,8 +92,7 @@ under the License. <#else> - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField ="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="productSearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/>
diff --git a/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl b/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl index ea265622a8..eda0f4720d 100644 --- a/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl +++ b/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl @@ -137,8 +137,7 @@ under the License. <#else> - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="advToKeywordSearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/> ${uiLabelMap.ProductIncludeSubCategories}? ${uiLabelMap.CommonYes} @@ -332,8 +331,7 @@ under the License. ${uiLabelMap.ProductPrioritizeProductsInCategory}: - - ${uiLabelMap.CommonClickHereForFieldLookup} + <@htmlTemplate.lookupField value="${requestParameters.PRIORITIZE_CATEGORY_ID?if_exists}" formName="advToKeywordSearchform" name="PRIORITIZE_CATEGORY_ID" id="PRIORITIZE_CATEGORY_ID" fieldFormName="LookupProductCategory"/> diff --git a/specialpurpose/projectmgr/webapp/projectmgr/project/edittaskandassoc.ftl b/specialpurpose/projectmgr/webapp/projectmgr/project/edittaskandassoc.ftl index d840993245..9bde6d6bac 100644 --- a/specialpurpose/projectmgr/webapp/projectmgr/project/edittaskandassoc.ftl +++ b/specialpurpose/projectmgr/webapp/projectmgr/project/edittaskandassoc.ftl @@ -58,8 +58,8 @@ under the License. ${uiLabelMap.ProjectMgrQuickAssignPartyId} - - ${uiLabelMap.CommonClickHereForFieldLookup} + + <@htmlTemplate.lookupField formName="addTaskAndAssocForm" name="quickAssignPartyId" id="quickAssignPartyId" fieldFormName="LookupPartyName"/>