|
Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/orderitems.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/orderitems.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/orderitems.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/orderitems.ftl Tue Jun 19 21:36:11 2012 @@ -105,10 +105,10 @@ under the License. </#if> </#list> <#else> - <#assign WorkOrderItemFulfillments = orderItem.getRelated("WorkOrderItemFulfillment")?if_exists> + <#assign WorkOrderItemFulfillments = orderItem.getRelated("WorkOrderItemFulfillment", null, null, false)?if_exists> <#if WorkOrderItemFulfillments?has_content> <#list WorkOrderItemFulfillments as WorkOrderItemFulfillment> - <#assign workEffortSave = WorkOrderItemFulfillment.getRelatedOneCache("WorkEffort")?if_exists> + <#assign workEffortSave = WorkOrderItemFulfillment.getRelatedOne("WorkEffort", true)?if_exists> <#break> </#list> </#if> @@ -120,10 +120,10 @@ under the License. ${orderItem.itemDescription?default("")} </td> <#else> - <#assign product = orderItem.getRelatedOneCache("Product")?if_exists/> <#-- should always exist because of FK constraint, but just in case --> + <#assign product = orderItem.getRelatedOne("Product", true)?if_exists/> <#-- should always exist because of FK constraint, but just in case --> <td > <a href="<@ofbizCatalogAltUrl fullPath="true" secure="false" productId=orderItem.productId/>" class="linktext">${orderItem.productId} - ${orderItem.itemDescription?default("")}</a> - <#assign orderItemAttributes = orderItem.getRelated("OrderItemAttribute")/> + <#assign orderItemAttributes = orderItem.getRelated("OrderItemAttribute", null, null, false)/> <#if orderItemAttributes?has_content> <ul> <#list orderItemAttributes as orderItemAttribute> @@ -138,31 +138,31 @@ under the License. [${uiLabelMap.OrderPieces}: ${product.piecesIncluded}] </#if> <#if (product.quantityIncluded?exists && product.quantityIncluded != 0) || product.quantityUomId?has_content> - <#assign quantityUom = product.getRelatedOneCache("QuantityUom")?if_exists/> + <#assign quantityUom = product.getRelatedOne("QuantityUom", true)?if_exists/> [${uiLabelMap.CommonQuantity}: ${product.quantityIncluded?if_exists} ${((quantityUom.abbreviation)?default(product.quantityUomId))?if_exists}] </#if> <#if (product.weight?exists && product.weight != 0) || product.weightUomId?has_content> - <#assign weightUom = product.getRelatedOneCache("WeightUom")?if_exists/> + <#assign weightUom = product.getRelatedOne("WeightUom", true)?if_exists/> [${uiLabelMap.CommonWeight}: ${product.weight?if_exists} ${((weightUom.abbreviation)?default(product.weightUomId))?if_exists}] </#if> <#if (product.productHeight?exists && product.productHeight != 0) || product.heightUomId?has_content> - <#assign heightUom = product.getRelatedOneCache("HeightUom")?if_exists/> + <#assign heightUom = product.getRelatedOne("HeightUom", true)?if_exists/> [${uiLabelMap.CommonHeight}: ${product.productHeight?if_exists} ${((heightUom.abbreviation)?default(product.heightUomId))?if_exists}] </#if> <#if (product.productWidth?exists && product.productWidth != 0) || product.widthUomId?has_content> - <#assign widthUom = product.getRelatedOneCache("WidthUom")?if_exists/> + <#assign widthUom = product.getRelatedOne("WidthUom", true)?if_exists/> [${uiLabelMap.CommonWidth}: ${product.productWidth?if_exists} ${((widthUom.abbreviation)?default(product.widthUomId))?if_exists}] </#if> <#if (product.productDepth?exists && product.productDepth != 0) || product.depthUomId?has_content> - <#assign depthUom = product.getRelatedOneCache("DepthUom")?if_exists/> + <#assign depthUom = product.getRelatedOne("DepthUom", true)?if_exists/> [${uiLabelMap.CommonDepth}: ${product.productDepth?if_exists} ${((depthUom.abbreviation)?default(product.depthUomId))?if_exists}] </#if> </#if> <#if maySelectItems?default("N") == "Y"> - <#assign returns = orderItem.getRelated("ReturnItem")?if_exists> + <#assign returns = orderItem.getRelated("ReturnItem", null, null, false)?if_exists> <#if returns?has_content> <#list returns as return> - <#assign returnHeader = return.getRelatedOne("ReturnHeader")> + <#assign returnHeader = return.getRelatedOne("ReturnHeader", false)> <#if returnHeader.statusId != "RETURN_CANCELLED"> <#if returnHeader.statusId == "RETURN_REQUESTED" || returnHeader.statusId == "RETURN_APPROVED"> <#assign displayState = "Return Pending"> @@ -252,12 +252,12 @@ under the License. <#if orderItemAdjustment.description?has_content>: ${orderItemAdjustment.description}</#if> <#if orderItemAdjustment.orderAdjustmentTypeId == "SALES_TAX"> <#if orderItemAdjustment.primaryGeoId?has_content> - <#assign primaryGeo = orderItemAdjustment.getRelatedOneCache("PrimaryGeo")/> + <#assign primaryGeo = orderItemAdjustment.getRelatedOne("PrimaryGeo", true)/> <#if primaryGeo.geoName?has_content> ${uiLabelMap.OrderJurisdiction}: ${primaryGeo.geoName} [${primaryGeo.abbreviation?if_exists}] </#if> <#if orderItemAdjustment.secondaryGeoId?has_content> - <#assign secondaryGeo = orderItemAdjustment.getRelatedOneCache("SecondaryGeo")/> + <#assign secondaryGeo = orderItemAdjustment.getRelatedOne("SecondaryGeo", true)/> (${uiLabelMap.CommonIn}: ${secondaryGeo.geoName} [${secondaryGeo.abbreviation?if_exists}]) </#if> </#if> @@ -275,11 +275,11 @@ under the License. </tr> </#list> <#-- show the order item ship group info --> - <#assign orderItemShipGroupAssocs = orderItem.getRelated("OrderItemShipGroupAssoc")?if_exists> + <#assign orderItemShipGroupAssocs = orderItem.getRelated("OrderItemShipGroupAssoc", null, null, false)?if_exists> <#if orderItemShipGroupAssocs?has_content> <#list orderItemShipGroupAssocs as shipGroupAssoc> - <#assign shipGroup = shipGroupAssoc.getRelatedOne("OrderItemShipGroup")?if_exists> - <#assign shipGroupAddress = (shipGroup.getRelatedOne("PostalAddress"))?if_exists> + <#assign shipGroup = shipGroupAssoc.getRelatedOne("OrderItemShipGroup", false)?if_exists> + <#assign shipGroupAddress = (shipGroup.getRelatedOne("PostalAddress", false))?if_exists> <tr> <td> ${uiLabelMap.OrderShipGroup}: [${shipGroup.shipGroupSeqId}] ${shipGroupAddress.address1?default("N/A")} Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/quickAnonOrderHeader.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/quickAnonOrderHeader.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/quickAnonOrderHeader.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/quickAnonOrderHeader.ftl Tue Jun 19 21:36:11 2012 @@ -116,7 +116,7 @@ under the License. <#assign groupIdx = 0> <#list orderItemShipGroups as shipGroup> <#if orderHeader?has_content> - <#assign shippingAddress = shipGroup.getRelatedOne("PostalAddress")?if_exists> + <#assign shippingAddress = shipGroup.getRelatedOne("PostalAddress", false)?if_exists> <#assign groupNumber = shipGroup.shipGroupSeqId?if_exists> <#else> <#assign shippingAddress = cart.getShippingAddress(groupIdx)?if_exists> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/requestreturn.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/requestreturn.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/requestreturn.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/requestreturn.ftl Tue Jun 19 21:36:11 2012 @@ -67,7 +67,7 @@ under the License. <input type="hidden" name="returnPrice_o_${rowCount}" value="${returnableItems.get(orderItem).get("returnablePrice")}"/> <#-- need some order item information --> - <#assign orderHeader = orderItem.getRelatedOne("OrderHeader")> + <#assign orderHeader = orderItem.getRelatedOne("OrderHeader", false)> <#assign itemCount = orderItem.quantity> <#assign itemPrice = orderItem.unitPrice> <#-- end of order item information --> @@ -119,7 +119,7 @@ under the License. <td colspan="6"> <table cellspacing="1" cellpadding="2" width="100%"> <#list shippingContactMechList as shippingContactMech> - <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress")> + <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress", false)> <tr> <td align="right" width="1%" valign="top" nowrap="nowrap"> <input type="radio" name="originContactMechId" value="${shippingAddress.contactMechId}"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl Tue Jun 19 21:36:11 2012 @@ -78,7 +78,7 @@ function submitForm(form, mode, value) { <select name="shippingContactMechId" class="selectBox" onchange="javascript:submitForm(document.editgroupform${groupIdx}, 'SA', null);"> <option value="">${uiLabelMap.OrderSelectShippingAddress}</option> <#list shippingContactMechList as shippingContactMech> - <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress")> + <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress", false)> <option value="${shippingAddress.contactMechId}" <#if (shippingAddress.contactMechId == selectedContactMechId)>selected="selected"</#if>>${shippingAddress.address1}</option> </#list> </select> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/quote/QuoteList.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/quote/QuoteList.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/quote/QuoteList.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/quote/QuoteList.ftl Tue Jun 19 21:36:11 2012 @@ -47,7 +47,7 @@ under the License. <td width="10"> </td> </tr> <#list quoteList as quote> - <#assign status = quote.getRelatedOneCache("StatusItem")> + <#assign status = quote.getRelatedOne("StatusItem", true)> <tr> <td> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/request/RequestList.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/request/RequestList.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/request/RequestList.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/request/RequestList.ftl Tue Jun 19 21:36:11 2012 @@ -51,8 +51,8 @@ under the License. <td width="10"> </td> </tr> <#list requestList as custRequest> - <#assign status = custRequest.getRelatedOneCache("StatusItem")> - <#assign type = custRequest.getRelatedOneCache("CustRequestType")> + <#assign status = custRequest.getRelatedOne("StatusItem", true)> + <#assign type = custRequest.getRelatedOne("CustRequestType", true)> <tr> <td> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/request/requestRoles.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/request/requestRoles.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/request/requestRoles.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/request/requestRoles.ftl Tue Jun 19 21:36:11 2012 @@ -24,8 +24,8 @@ under the License. <table cellspacing="0" class="basic-table"> <#assign row = 1> <#list requestParties as requestParty> - <#assign roleType = requestParty.getRelatedOne("RoleType")> - <#assign party = requestParty.getRelatedOne("Party")> + <#assign roleType = requestParty.getRelatedOne("RoleType", false)> + <#assign party = requestParty.getRelatedOne("Party", false)> <tr> <td align="right" valign="top" width="15%" class="label"> ${roleType.get("description", locale)?if_exists} Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl Tue Jun 19 21:36:11 2012 @@ -224,7 +224,7 @@ under the License. <td><div class="tableheadtext">${uiLabelMap.EcommerceRecurrence}</div></td> <td> <#if recurrenceInfo?has_content> - <#assign recurrenceRule = recurrenceInfo.getRelatedOne("RecurrenceRule")?if_exists> + <#assign recurrenceRule = recurrenceInfo.getRelatedOne("RecurrenceRule", false)?if_exists> </#if> <select name="intervalNumber" class="selectBox"> <option value="">${uiLabelMap.EcommerceSelectInterval}</option> @@ -263,7 +263,7 @@ under the License. <option value="">${uiLabelMap.OrderSelectAShippingAddress}</option> <#if shippingContactMechList?has_content> <#list shippingContactMechList as shippingContactMech> - <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress")> + <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress", false)> <option value="${shippingContactMech.contactMechId}"<#if (shoppingList.contactMechId)?default("") == shippingAddress.contactMechId> selected="selected"</#if>>${shippingAddress.address1}</option> </#list> <#else> @@ -307,10 +307,10 @@ under the License. <option value="">${uiLabelMap.OrderSelectPaymentMethod}</option> <#list paymentMethodList as paymentMethod> <#if paymentMethod.paymentMethodTypeId == "CREDIT_CARD"> - <#assign creditCard = paymentMethod.getRelatedOne("CreditCard")> + <#assign creditCard = paymentMethod.getRelatedOne("CreditCard", false)> <option value="${paymentMethod.paymentMethodId}" <#if (shoppingList.paymentMethodId)?default("") == paymentMethod.paymentMethodId>selected="selected"</#if>>CC: ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}</option> <#elseif paymentMethod.paymentMethodTypeId == "EFT_ACCOUNT"> - <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount")> + <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount", false)> <option value="${paymentMethod.paymentMethodId}">EFT: ${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}</option> </#if> </#list> @@ -508,7 +508,7 @@ under the License. <input type="hidden" name="quantity" value="${shoppingListItem.quantity}"/> <select name="add_product_id" class="selectBox"> <#list productVariantAssocs as productVariantAssoc> - <#assign variantProduct = productVariantAssoc.getRelatedOneCache("AssocProduct")> + <#assign variantProduct = productVariantAssoc.getRelatedOne("AssocProduct", true)> <#if variantProduct?exists> <#assign variantProductContentWrapper = Static["org.ofbiz.product.product.ProductContentWrapper"].makeProductContentWrapper(variantProduct, request)> <option value="${variantProduct.productId}">${variantProductContentWrapper.get("PRODUCT_NAME")?default("No Name")} [${variantProduct.productId}]</option> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/ContentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/ContentForms.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/ContentForms.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/ContentForms.xml Tue Jun 19 21:36:11 2012 @@ -29,7 +29,7 @@ under the License. <form name="searchList" type="list" target="" list-name="queryResults" default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext" paginate-target="/AdminSearch"> - <field name="editContent" title="${uiLabelMap.CommonEmptyHeader}"> + <field name="editContent" title=" "> <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="CMSContentEdit"> <parameter param-name="contentId"/> <parameter param-name="drDataResourceId"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/ForumForms.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/ForumForms.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/ForumForms.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/ForumForms.xml Tue Jun 19 21:36:11 2012 @@ -99,7 +99,7 @@ under the License. <field name="newTopicDescription" title="Description" position="3"> <text size="24"/> </field> - <field name="createTopic" title="${uiLabelMap.CommonEmptyHeader}" position="4"> + <field name="createTopic" title=" " position="4"> <hyperlink also-hidden="false" target="createTopic${pageName}" description="Create Topic"> <parameter param-name="mode" value="restore"/> </hyperlink> @@ -193,7 +193,7 @@ under the License. <form name="listFindContent" type="list" target="" default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext" paginate-target="/FindContent"> - <field name="editContent" title="${uiLabelMap.CommonEmptyHeader}"> + <field name="editContent" title=" "> <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditContent"> <parameter param-name="contentId"/> <parameter param-name="drDataResourceId"/> @@ -281,7 +281,7 @@ under the License. <field name="newTopicDescription" title="Description" position="3"> <text size="24"/> </field> - <field name="createTopic" title="${uiLabelMap.CommonEmptyHeader}" position="4"> + <field name="createTopic" title=" " position="4"> <hyperlink also-hidden="false" target="createTopic${pageName}" description="Create Topic"> <parameter param-name="mode" value="restore"/> </hyperlink> @@ -644,7 +644,7 @@ under the License. <hidden value="${dataResourceTypeId}"/> </field> <!-- - <field name="submitContentEdit" title="${uiLabelMap.CommonEmptyHeader}"> + <field name="submitContentEdit" title=" "> <hyperlink also-hidden="false" description="Submit" target="javascript:document.EditAddContent.action='${persistAction}'; document.EditAddContent.submit()" target-type="plain"/> </field> --> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/blog/BlogForms.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/blog/BlogForms.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/blog/BlogForms.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/ecommerce/widget/blog/BlogForms.xml Tue Jun 19 21:36:11 2012 @@ -68,7 +68,7 @@ </service> </actions> - <field name="editContent" title="${uiLabelMap.CommonEmptyHeader}"> + <field name="editContent" title=" "> <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="CMSContentEdit"> <parameter param-name="contentId"/> <parameter param-name="drDataResourceId"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/example/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/example/ofbiz-component.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/example/ofbiz-component.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/example/ofbiz-component.xml Tue Jun 19 21:36:11 2012 @@ -36,7 +36,7 @@ under the License. <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_view.xml"/> <!-- <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/> --> <entity-resource type="data" reader-name="seed" loader="main" location="data/ExampleTypeData.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/ExampleSecurityData.xml"/> + <entity-resource type="data" reader-name="security" loader="main" location="data/ExampleSecurityData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/ExamplePortletData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/ExamplePortalSeedData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/ExampleHelpData.xml"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/example/widget/example/FormWidgetExampleForms.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/example/widget/example/FormWidgetExampleForms.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/example/widget/example/FormWidgetExampleForms.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/example/widget/example/FormWidgetExampleForms.xml Tue Jun 19 21:36:11 2012 @@ -178,8 +178,8 @@ under the License. </field> <field name="entityOptionsFields1" title="${uiLabelMap.ExampleDropDownEntityOptions}"><display description="${uiLabelMap.ExampleDropDownEntityOptionsTooltip1}" also-hidden="false"/></field> - <field name="entityOptionsFields2" title="${uiLabelMap.CommonEmptyHeader}"><display description="${uiLabelMap.ExampleDropDownEntityOptionsTooltip2}" also-hidden="false"/></field> - <field name="entityOptionsFields3" title="${uiLabelMap.CommonEmptyHeader}"><display description="${uiLabelMap.ExampleDropDownEntityOptionsTooltip3}" also-hidden="false"/></field> + <field name="entityOptionsFields2" title=" "><display description="${uiLabelMap.ExampleDropDownEntityOptionsTooltip2}" also-hidden="false"/></field> + <field name="entityOptionsFields3" title=" "><display description="${uiLabelMap.ExampleDropDownEntityOptionsTooltip3}" also-hidden="false"/></field> <!-- ***************** --> <!-- *** field3 *** --> <!-- ***************** --> @@ -240,7 +240,7 @@ under the License. <!-- *** Autocomplete dropdown *** --> <!-- ****************************** --> <!-- TODO : return only the Id, else you need to edit the field to remove the description --> - <field name="emptyField1" title="${uiLabelMap.CommonEmptyHeader}"><display/></field> + <field name="emptyField1" title=" "><display/></field> <field name="geoId" title="${uiLabelMap.ExampleAutocompleteDropdown}" tooltip="${uiLabelMap.ExampleAutocompleteTooltip}"> <drop-down> @@ -254,7 +254,7 @@ under the License. <!-- ****************************** --> <!-- *** Dependent dropdowns *** --> <!-- ****************************** --> - <field name="emptyField2" title="${uiLabelMap.CommonEmptyHeader}"><display/></field> + <field name="emptyField2" title=" "><display/></field> <field name="dependendDropDownFields" title="${uiLabelMap.ExampleDependentDropDowns}"> <display description="${uiLabelMap.ExampleDependentDropDownTooltip}"/> </field> @@ -274,7 +274,7 @@ under the License. <!-- ****************************** --> <!-- See why this is used here http://www.ryancramer.com/journal/entries/select_multiple/ --> <form name="DropDownMultipleFieldExampleForm" type="single" title=""> - <field name="emptyField1" title="${uiLabelMap.CommonEmptyHeader}"><display/></field> + <field name="emptyField1" title=" "><display/></field> <field name="multipleDropDownFields" title="${uiLabelMap.ExampleMultipleDropDowns}"> <display description="${uiLabelMap.ExampleMultipleDropDownTooltip}"/> </field> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/data/GoogleBaseTypeData.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/data/GoogleBaseTypeData.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/data/GoogleBaseTypeData.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/data/GoogleBaseTypeData.xml Tue Jun 19 21:36:11 2012 @@ -21,7 +21,6 @@ under the License. <entity-engine-xml> <GoodIdentificationType description="Google Id" goodIdentificationTypeId="GOOGLE_ID" hasTable="N" parentTypeId=""/> - <WebSite webSiteId="GOOGLEBASE" siteName="Google Base Application" visualThemeSetId="BACKOFFICE"/> <GoodIdentificationType description="Google Id en_US" goodIdentificationTypeId="GOOGLE_ID_en_US" hasTable="N"/> <GoodIdentificationType description="Google Id en_GB" goodIdentificationTypeId="GOOGLE_ID_en_GB" hasTable="N"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/ofbiz-component.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/ofbiz-component.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/ofbiz-component.xml Tue Jun 19 21:36:11 2012 @@ -27,7 +27,7 @@ under the License. <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/GoogleBaseTypeData.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/GoogleBaseSecurityData.xml"/> + <entity-resource type="data" reader-name="security" loader="main" location="data/GoogleBaseSecurityData.xml"/> <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoGoogleBaseData.xml"/> <service-resource type="model" loader="main" location="servicedef/services.xml"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java Tue Jun 19 21:36:11 2012 @@ -126,7 +126,7 @@ public class ProductsExportToGoogle { if (prodCatMemb != null) { String productId = prodCatMemb.getString("productId"); if (productId != null) { - GenericValue prod = prodCatMemb.getRelatedOne("Product"); + GenericValue prod = prodCatMemb.getRelatedOne("Product", false); Timestamp salesDiscontinuationDate = prod.getTimestamp("salesDiscontinuationDate"); // do not consider discontinued product if (salesDiscontinuationDate == null) { @@ -552,7 +552,7 @@ public class ProductsExportToGoogle { Iterator<GenericValue> productCategoryMembersIter = productCategoryMembers.iterator(); while (productCategoryMembersIter.hasNext()) { GenericValue productCategoryMember = productCategoryMembersIter.next(); - GenericValue productCategory = productCategoryMember.getRelatedOne("ProductCategory"); + GenericValue productCategory = productCategoryMember.getRelatedOne("ProductCategory", false); String productCategoryId = productCategory.getString("productCategoryId"); String checkCategory = null; if ("GB".equals(countryCode)) { Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/data/GoogleCheckoutTypeData.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/data/GoogleCheckoutTypeData.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/data/GoogleCheckoutTypeData.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/data/GoogleCheckoutTypeData.xml Tue Jun 19 21:36:11 2012 @@ -21,7 +21,6 @@ under the License. <entity-engine-xml> <Enumeration description="Google Checkout Channel" enumCode="GC_CHANNEL" enumId="GC_SALES_CHANNEL" sequenceId="01" enumTypeId="ORDER_SALES_CHANNEL"/> <PaymentMethodType description="Google Checkout" paymentMethodTypeId="EXT_GOOGLE_CHECKOUT"/> - <WebSite webSiteId="GOOGLECHECKOUT" siteName="Google Checkout Application" visualThemeSetId="BACKOFFICE"/> <EnumerationType description="Google Environment Types" enumTypeId="GOOGLE_ENV_TYPE" hasTable="N" parentTypeId=""/> <Enumeration description="Sandbox" enumCode="SANDBOX" enumId="GOOGLE_SANDBOX" sequenceId="01" enumTypeId="GOOGLE_ENV_TYPE"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/ofbiz-component.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/ofbiz-component.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/ofbiz-component.xml Tue Jun 19 21:36:11 2012 @@ -28,7 +28,7 @@ <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/GoogleCheckoutTypeData.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/GoogleCheckoutSecurityData.xml"/> + <entity-resource type="data" reader-name="security" loader="main" location="data/GoogleCheckoutSecurityData.xml"/> <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoGoogleCheckoutData.xml"/> <service-resource type="model" loader="main" location="servicedef/services_request.xml"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleCheckoutHelper.java URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleCheckoutHelper.java?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleCheckoutHelper.java (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleCheckoutHelper.java Tue Jun 19 21:36:11 2012 @@ -148,7 +148,7 @@ public class GoogleCheckoutHelper { } if (UtilValidate.isNotEmpty(orders)) { GenericValue order = EntityUtil.getFirst(orders); - List<GenericValue> orderPaymentPreferences = order.getRelated("OrderPaymentPreference"); + List<GenericValue> orderPaymentPreferences = order.getRelated("OrderPaymentPreference", null, null, false); if (UtilValidate.isNotEmpty(orderPaymentPreferences)) { orderPaymentPreference = EntityUtil.getFirst(orderPaymentPreferences); BigDecimal maxAmount = new BigDecimal(info.getAuthorizationAmount()); @@ -177,7 +177,7 @@ public class GoogleCheckoutHelper { } if (UtilValidate.isNotEmpty(orders)) { GenericValue order = EntityUtil.getFirst(orders); - List<GenericValue> orderPaymentPreferences = order.getRelated("OrderPaymentPreference"); + List<GenericValue> orderPaymentPreferences = order.getRelated("OrderPaymentPreference", null, null, false); if (UtilValidate.isNotEmpty(orderPaymentPreferences)) { orderPaymentPreference = EntityUtil.getFirst(orderPaymentPreferences); BigDecimal maxAmount = new BigDecimal(info.getTotalChargeAmount()); @@ -207,7 +207,7 @@ public class GoogleCheckoutHelper { } if (UtilValidate.isNotEmpty(orders)) { GenericValue order = EntityUtil.getFirst(orders); - List<GenericValue> orderPaymentPreferences = order.getRelated("OrderPaymentPreference"); + List<GenericValue> orderPaymentPreferences = order.getRelated("OrderPaymentPreference", null, null, false); if (UtilValidate.isNotEmpty(orderPaymentPreferences)) { orderPaymentPreference = EntityUtil.getFirst(orderPaymentPreferences); BigDecimal maxAmount = new BigDecimal(info.getTotalRefundAmount()); Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleRequestServices.java URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleRequestServices.java?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleRequestServices.java (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleRequestServices.java Tue Jun 19 21:36:11 2012 @@ -517,7 +517,7 @@ public class GoogleRequestServices { GenericValue googleOrder = null; ShipItemsRequest isr = null; for (GenericValue issue : issued) { - GenericValue orderItem = issue.getRelatedOne("OrderItem"); + GenericValue orderItem = issue.getRelatedOne("OrderItem", false); String shipmentItemSeqId = issue.getString("shipmentItemSeqId"); String productId = orderItem.getString("productId"); String orderId = issue.getString("orderId"); @@ -538,12 +538,12 @@ public class GoogleRequestServices { GenericValue packageContent = EntityUtil.getFirst(spc); String carrier = null; if (UtilValidate.isNotEmpty(packageContent)) { - GenericValue shipPackage = packageContent.getRelatedOne("ShipmentPackage"); + GenericValue shipPackage = packageContent.getRelatedOne("ShipmentPackage", false); if (UtilValidate.isNotEmpty(shipPackage)) { - List<GenericValue> prs = shipPackage.getRelated("ShipmentPackageRouteSeg"); + List<GenericValue> prs = shipPackage.getRelated("ShipmentPackageRouteSeg", null, null, false); GenericValue packageRoute = EntityUtil.getFirst(prs); if (UtilValidate.isNotEmpty(packageRoute)) { - List<GenericValue> srs = packageRoute.getRelated("ShipmentRouteSegment"); + List<GenericValue> srs = packageRoute.getRelated("ShipmentRouteSegment", null, null, false); GenericValue route = EntityUtil.getFirst(srs); String track = packageRoute.getString("trackingCode"); if (UtilValidate.isNotEmpty(route)) { Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/ofbiz-component.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/ofbiz-component.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/ofbiz-component.xml Tue Jun 19 21:36:11 2012 @@ -24,7 +24,7 @@ under the License. <resource-loader name="main" type="component"/> <classpath type="jar" location="build/lib/*"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/HhFacilitySecurityData.xml"/> + <entity-resource type="data" reader-name="security" loader="main" location="data/HhFacilitySecurityData.xml"/> <service-resource type="model" loader="main" location="servicedef/services_hhfacility.xml"/> Propchange: ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy ------------------------------------------------------------------------------ Merged /ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy:r1340642-1346323 Propchange: ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductList.groovy ------------------------------------------------------------------------------ Merged /ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductList.groovy:r1340642-1346323 Propchange: ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductStockTake.groovy ------------------------------------------------------------------------------ Merged /ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductStockTake.groovy:r1340642-1346323 Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/controller.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/controller.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/controller.xml Tue Jun 19 21:36:11 2012 @@ -22,23 +22,6 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd"> <include location="component://common/webcommon/WEB-INF/common-controller.xml"/> <description>Facility Handheld Demo</description> - - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> - - <!-- view handlers --> - <handler name="ftl" type="view" class="org.ofbiz.webapp.ftl.FreeMarkerViewHandler"/> - - <!-- Events to run on every request before security (chains exempt) --> - <!-- - <preprocessor> - </preprocessor> - --> - <!-- Events to run on every request after all other processing (chains exempt) --> - <!-- - <postprocessor> - <event name="test" type="java" path="org.ofbiz.webapp.event.TestEvent" invoke="test"/> - </postprocessor> - --> <!-- Request Mappings --> <request-map uri="main"> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/widget/hhfacility/FacilityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/widget/hhfacility/FacilityForms.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/widget/hhfacility/FacilityForms.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/hhfacility/widget/hhfacility/FacilityForms.xml Tue Jun 19 21:36:11 2012 @@ -54,7 +54,7 @@ under the License. <field name="facilityId"><hidden/></field> <field name="productId"><hidden/></field> <field name="productId" entry-name="product.productId" ><display/></field> - <field name="productName" title="${uiLabelMap.CommonEmptyHeader}" entry-name="product.productName" ><display/></field> + <field name="productName" title=" " entry-name="product.productName" ><display/></field> <field name="productLocation" title="${uiLabelMap.FormFieldTitle_locationSeqId}" event="onkeypress" action="return enter(event,document.forms[0].productQty)"><text size="10"/></field> <field name="productQty" required-field="true" title="${uiLabelMap.CommonQty}" ><text default-value="1" size="5"/></field> <field name="submitButton" title="${uiLabelMap.ProductReceiveProduct}" widget-style="standardSubmit"><submit button-type="button"/></field> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/myportal/config/MyPortalUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/myportal/config/MyPortalUiLabels.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/myportal/config/MyPortalUiLabels.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/myportal/config/MyPortalUiLabels.xml Tue Jun 19 21:36:11 2012 @@ -24,11 +24,13 @@ <value xml:lang="fr">Menu des applications</value> <value xml:lang="it">Mia pagina</value> <value xml:lang="th">à¹à¸à¸à¸à¸£à¸´à¹à¸à¸à¸±à¸à¸à¸à¸à¸à¸±à¸</value> + <value xml:lang="vi">Trung tâm ứng dụng riêng</value> <value xml:lang="zh">æç页é¢åºç¨ç¨åºæ </value> <value xml:lang="zh_TW">åäººç¶²é æç¨ç¨å¼å</value> </property> <property key="MyPortalBillToCustomer"> <value xml:lang="en">Bill To Customer</value> + <value xml:lang="vi">Hóa ÄÆ¡n tá»i Khách hà ng</value> <value xml:lang="zh_TW">ç¼é帳å®çµ¦å®¢æ¶</value> </property> <property key="MyPortalCaptchaMissingError"> @@ -36,18 +38,21 @@ <value xml:lang="fr">Vérifier le code captcha, il est absent ou erroné</value> <value xml:lang="it">Verifica il codice captcha, è mancante o errato</value> <value xml:lang="th">รหัสà¸à¸±à¸§à¹à¸¥à¸à¸à¸µà¹à¸à¹à¸²à¸à¸à¸£à¸à¸à¸¡à¸µà¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸</value> + <value xml:lang="vi">Mã ảnh xác nháºn bá» thiếu hoặc bá» sai</value> <value xml:lang="zh">缺å°éªè¯ç æéªè¯ç é误</value> <value xml:lang="zh_TW">æ²æé©èç¢¼ææ¯é¯èª¤</value> </property> <property key="MyPortalEndUserCustomer"> <value xml:lang="en">End User Customer</value> <value xml:lang="zh_TW">æçµä½¿ç¨å®¢æ¶</value> + <value xml:lang="vi">Khách hà ng ngưá»i dùng cuá»i</value> </property> <property key="MyPortalFirstNameMissing"> <value xml:lang="en">Your firstName is missing</value> <value xml:lang="fr">Votre prénom est absent</value> <value xml:lang="it">Nome mancante</value> <value xml:lang="th">à¸à¸£à¸¸à¸à¸²à¸à¸£à¸à¸à¸à¸·à¹à¸à¸à¸à¸à¸à¹à¸²à¸</value> + <value xml:lang="vi"></value> <value xml:lang="zh">缺å°ä½ çå</value> <value xml:lang="zh_TW">缺å°åå(Firstname)</value> </property> @@ -56,6 +61,7 @@ <value xml:lang="fr">Mes informations </value> <value xml:lang="it">Mie informazioni</value> <value xml:lang="th">à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¸à¸à¸±à¸</value> + <value xml:lang="vi">Thông tin riêng</value> <value xml:lang="zh">æçä¿¡æ¯</value> <value xml:lang="zh_TW">å ¥å£ç¶²ç«</value> </property> @@ -64,18 +70,21 @@ <value xml:lang="fr">Votre nom est absent</value> <value xml:lang="it">Cognome mancante</value> <value xml:lang="th">à¸à¸£à¸¸à¸à¸²à¸à¸£à¸à¸à¸à¸²à¸¡à¸ªà¸à¸¸à¸¥à¸à¸à¸à¸à¹à¸²à¸</value> + <value xml:lang="vi">Thông tin Há» cá»§a bạn chưa có</value> <value xml:lang="zh">缺å°ä½ çå§</value> <value xml:lang="zh_TW">缺å°å§æ°(Lastname)</value> </property> <property key="MyPortalMyOrders"> <value xml:lang="en">My Orders</value> <value xml:lang="zh_TW">æçè¨å®</value> + <value xml:lang="vi">Các Äặt hà ng cá»§a tôi</value> </property> <property key="MyPortalNewRegistration"> <value xml:lang="en">New Registration </value> <value xml:lang="fr">Nouvel enregistrement</value> <value xml:lang="it">Nuovo utente</value> <value xml:lang="th">ลà¸à¸à¸°à¹à¸à¸µà¸¢à¸ </value> + <value xml:lang="vi">ÄÄng ký má»i</value> <value xml:lang="zh">æ°æ³¨å</value> <value xml:lang="zh_TW">æ°ç註å</value> </property> @@ -84,11 +93,13 @@ <value xml:lang="fr">Code captcha</value> <value xml:lang="it">Codice captcha</value> <value xml:lang="th">รหัสà¸à¸£à¸§à¸à¸ªà¸à¸</value> + <value xml:lang="vi">Mã ảnh xác nháºn</value> <value xml:lang="zh">éªè¯ç </value> <value xml:lang="zh_TW">é©è碼</value> </property> <property key="MyPortalPlacingCustomer"> <value xml:lang="en">Placing Customer</value> + <value xml:lang="vi">Khách hà ng Äặt chá»</value> <value xml:lang="zh_TW">宿客æ¶</value> </property> <property key="MyPortalRegisterComplete"> @@ -96,17 +107,20 @@ <value xml:lang="fr">L'enregistrement de la nouvelle personne est complet...SVP</value> <value xml:lang="it">Creazione nuovo utente completata...prego </value> <value xml:lang="th">à¸à¸²à¸£à¸¥à¸à¸à¸°à¹à¸à¸µà¸¢à¸à¹à¸«à¸¡à¹à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸¸à¸à¸à¸¥à¹à¸à¹à¸à¸³à¸à¸²à¸£à¹à¸ªà¸£à¹à¸à¸ªà¸´à¹à¸à¸ªà¸¡à¸à¸¹à¸£à¸à¹à¹à¸¥à¹à¸§...สามารà¸à¹à¸à¹à¸²à¸ªà¸¹à¹à¸£à¸°à¸à¸à¹à¸à¹ </value> + <value xml:lang="vi">Ngưá»i dùng má»i ÄÄ ÄÄng ký thà nh công...Là m Æ¡n</value> <value xml:lang="zh">宿æ°äººå注å...请</value> <value xml:lang="zh_TW">è¨»åæ°ç使ç¨è 宿...è«</value> </property> <property key="MyPortalReloadImage"> <value xml:lang="en">reload image</value> <value xml:lang="it">Ricarica immagine</value> + <value xml:lang="vi">Tải lại ảnh</value> <value xml:lang="zh">å·æ°å¾ç</value> <value xml:lang="zh_TW">éè¼åç</value> </property> <property key="MyPortalShipToCustomer"> <value xml:lang="en">Ship To Customer</value> + <value xml:lang="vi">Chuyá»n tá»i khách hà ng</value> <value xml:lang="zh_TW">å¯é給客æ¶</value> </property> <property key="MyPortalTaskActEndDate"> @@ -114,6 +128,7 @@ <value xml:lang="fr">Fin réelle de de la tâche</value> <value xml:lang="it">Fine compito effettiva</value> <value xml:lang="th">à¹à¸ªà¸£à¹à¸à¸ªà¸´à¹à¸à¸à¸²à¸£à¸à¸³</value> + <value xml:lang="vi">Ngà y kết thúc thá»±c hiá»n</value> <value xml:lang="zh">任塿ä½ç»æ</value> <value xml:lang="zh_TW">ä»»å使¥çµæ</value> </property> @@ -122,6 +137,7 @@ <value xml:lang="fr">Début réel de de la tâche</value> <value xml:lang="it">Inizio compito effettivo</value> <value xml:lang="th">à¹à¸£à¸·à¹à¸¡à¸à¹à¸à¸à¸²à¸£à¸à¸³</value> + <value xml:lang="vi">Ngà y bắt Äầu thá»±c hiá»n</value> <value xml:lang="zh">任塿ä½å¼å§</value> <value xml:lang="zh_TW">ä»»å使¥éå§</value> </property> @@ -130,6 +146,7 @@ <value xml:lang="fr">Fin estimée de la tâche</value> <value xml:lang="it">Fine compito pianificata</value> <value xml:lang="th">สิà¹à¸à¸ªà¸¸à¸à¸à¸´à¹à¸à¸à¸²à¸</value> + <value xml:lang="vi">Ngà y kết thúc theo kế hoạch</value> <value xml:lang="zh">ä»»å¡è®¡åç»æ</value> <value xml:lang="zh_TW">ä»»åè¨ç«çµæ</value> </property> @@ -138,6 +155,7 @@ <value xml:lang="fr">Début estimé de la tâche</value> <value xml:lang="it">Inizio compito pianificato</value> <value xml:lang="th">à¹à¸£à¸´à¹à¸¡à¸à¹à¸à¸à¸´à¹à¸à¸à¸²à¸</value> + <value xml:lang="vi">Ngà y bắt Äầu theo kế hoạch</value> <value xml:lang="zh">ä»»å¡è®¡åå¼å§</value> <value xml:lang="zh_TW">ä»»åè¨ç«éå§</value> </property> @@ -146,6 +164,7 @@ <value xml:lang="fr">Status de la tâche</value> <value xml:lang="it">Stato compito</value> <value xml:lang="th">สà¸à¸²à¸à¸°à¸à¸à¸à¸à¸²à¸</value> + <value xml:lang="vi">Trạng thái</value> <value xml:lang="zh">ä»»å¡ç¶æ</value> <value xml:lang="zh_TW">ä»»åçæ </value> </property> @@ -154,6 +173,7 @@ <value xml:lang="fr">Mes Tâches</value> <value xml:lang="it">Miei compiti</value> <value xml:lang="th">à¸à¸²à¸à¸à¸à¸à¸à¸±à¸</value> + <value xml:lang="vi"></value> <value xml:lang="zh">æçä»»å¡</value> <value xml:lang="zh_TW">æçä»»å</value> </property> @@ -162,6 +182,7 @@ <value xml:lang="fr">Identifiant de connexion</value> <value xml:lang="it">Login utente</value> <value xml:lang="th">à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸²à¸£à¸¥à¸à¸à¸°à¹à¸à¸µà¸¢à¸</value> + <value xml:lang="vi">Tác vụ - Äầu viá»c cá»§a tôi</value> <value xml:lang="zh">ç¨æ·ç»å½</value> <value xml:lang="zh_TW">使ç¨è ç»å ¥</value> </property> @@ -170,12 +191,14 @@ <value xml:lang="fr">Vérifier le code captcha</value> <value xml:lang="it">Verifica codice captcha</value> <value xml:lang="th">à¹à¸ªà¹à¸£à¸«à¸±à¸ªà¸à¸²à¸¡à¸£à¸¹à¸</value> + <value xml:lang="vi">Mã xác nháºn</value> <value xml:lang="zh">éªè¯éªè¯ç </value> <value xml:lang="zh_TW">é©è碼</value> </property> <property key="PageTitleFindPortalPage"> <value xml:lang="en">Find Portal page</value> <value xml:lang="fr">Rech. page portail</value> + <value xml:lang="vi">Tìm trang trên Cá»ng thông tin</value> <value xml:lang="zh_TW">æ¥æ¾å ¥å£ç¶²é </value> </property> <property key="PageTitleMyPortal"> @@ -183,6 +206,7 @@ <value xml:lang="fr">Mon portail pour : </value> <value xml:lang="it">Mio portale per : </value> <value xml:lang="th">สà¹à¸§à¸à¸à¸±à¸§à¸ªà¸³à¸«à¸£à¸±à¸ </value> + <value xml:lang="vi">Cá»ng riêng cá»§a :</value> <value xml:lang="zh">æç鍿·ç¨äºï¼</value> <value xml:lang="zh_TW">å ¥å£ç¶²ç«ä½¿ç¨è :</value> </property> @@ -191,6 +215,7 @@ <value xml:lang="fr">Ma page de portail</value> <value xml:lang="it">Pagina mio portale</value> <value xml:lang="th">หà¸à¹à¸²à¸ªà¹à¸§à¸à¸à¸±à¸§à¸à¸à¸à¸à¸±à¸</value> + <value xml:lang="vi">Cá»ng thông tin Riêng</value> <value xml:lang="zh">æç鍿·é¡µé¢</value> <value xml:lang="zh_TW">å ¥å£ç¶²é </value> </property> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/myportal/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/myportal/ofbiz-component.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/myportal/ofbiz-component.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/myportal/ofbiz-component.xml Tue Jun 19 21:36:11 2012 @@ -24,8 +24,8 @@ <resource-loader name="main" type="component"/> <classpath type="dir" location="config"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/MyPortalSecurityData.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/MyPortalTypeData.xml"/> + <entity-resource type="data" reader-name="security" loader="main" location="data/MyPortalSecurityData.xml"/> + <entity-resource type="data" reader-name="demo" loader="main" location="data/MyPortalPageDemoData.xml"/> <entity-resource type="data" reader-name="demo" loader="main" location="data/MyPortalDemoData.xml"/> <service-resource type="model" loader="main" location="servicedef/services.xml"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/ofbiz-component.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/ofbiz-component.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/ofbiz-component.xml Tue Jun 19 21:36:11 2012 @@ -28,7 +28,7 @@ under the License. <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/OagisTypeData.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/OagisSecurityData.xml"/> + <entity-resource type="data" reader-name="security" loader="main" location="data/OagisSecurityData.xml"/> <service-resource type="model" loader="main" location="servicedef/services.xml"/> <!-- Uncomment To activate automatic messaging to the partner Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java Tue Jun 19 21:36:11 2012 @@ -1099,7 +1099,7 @@ public class OagisShipmentServices { // for each ReturnItem also get serial numbers using ItemIssuanceAndInventoryItem // NOTE: technically if the ReturnItem.quantity != OrderItem.quantity then we don't know which serial number is being returned, so rather than guessing we will send it only in that case - GenericValue orderItem = returnItem.getRelatedOne("OrderItem"); + GenericValue orderItem = returnItem.getRelatedOne("OrderItem", false); if (orderItem != null) { if (orderItem.getDouble("quantity").doubleValue() == itemQty) { List<GenericValue> itemIssuanceAndInventoryItemList = delegator.findByAnd("ItemIssuanceAndInventoryItem", Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl Tue Jun 19 21:36:11 2012 @@ -117,8 +117,8 @@ under the License. </#if> </os:PARTNER> <#list shipmentItems as shipmentItem> - <#assign product = shipmentItem.getRelatedOne("Product")> - <#assign productType = product.getRelatedOne("ProductType")> + <#assign product = shipmentItem.getRelatedOne("Product", false)> + <#assign productType = product.getRelatedOne("ProductType", false)> <#if productType.isPhysical == "Y" || productType.isPhysical == "y"> <n:SHIPITEM> <os:QUANTITY> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl Tue Jun 19 21:36:11 2012 @@ -86,7 +86,7 @@ under the License. <of:UOM>EACH</of:UOM> </os:QUANTITY> <#list returnItems as returnItem> - <#assign returnReason = returnItem.getRelatedOne("ReturnReason")/> + <#assign returnReason = returnItem.getRelatedOne("ReturnReason", false)/> <#assign serialNumberList = serialNumberListByReturnItemSeqIdMap.get(returnItem.returnItemSeqId)?if_exists/> <n:RECEIPTITM> <os:QUANTITY> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/pos/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/pos/ofbiz-component.xml?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/pos/ofbiz-component.xml (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/pos/ofbiz-component.xml Tue Jun 19 21:36:11 2012 @@ -29,7 +29,7 @@ under the License. <classpath type="jar" location="build/lib/*"/> <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/PosSecurityData.xml"/> + <entity-resource type="data" reader-name="security" loader="main" location="data/PosSecurityData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/PosTypeData.xml"/> <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRetail.xml"/> <entity-resource type="data" reader-name="demo" loader="main" location="data/PosSyncSettings.xml"/> Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java Tue Jun 19 21:36:11 2012 @@ -374,7 +374,7 @@ public class PosTransaction implements S String paymentMethodTypeId = infValue.getString("paymentMethodTypeId"); GenericValue pmt = null; try { - pmt = infValue.getRelatedOne("PaymentMethodType"); + pmt = infValue.getRelatedOne("PaymentMethodType", false); } catch (GenericEntityException e) { Debug.logError(e, module); } @@ -386,7 +386,7 @@ public class PosTransaction implements S if ("CREDIT_CARD".equals(paymentMethodTypeId)) { GenericValue cc = null; try { - cc = infValue.getRelatedOne("CreditCard"); + cc = infValue.getRelatedOne("CreditCard", false); } catch (GenericEntityException e) { Debug.logError(e, module); } @@ -407,7 +407,7 @@ public class PosTransaction implements S /* GenericValue gc = null; try { - gc = infValue.getRelatedOne("GiftCard"); //FIXME is this really useful ? (Maybe later...) + gc = infValue.getRelatedOne("GiftCard", false); //FIXME is this really useful ? (Maybe later...) } catch (GenericEntityException e) { Debug.logError(e, module); } @@ -1057,7 +1057,7 @@ public class PosTransaction implements S if ("PaymentMethod".equals(paymentInfoObj.getEntityName())) { paymentMethod = paymentInfoObj; try { - paymentMethodType = paymentMethod.getRelatedOne("PaymentMethodType"); + paymentMethodType = paymentMethod.getRelatedOne("PaymentMethodType", false); } catch (GenericEntityException e) { Debug.logError(e, module); } @@ -1288,7 +1288,7 @@ public class PosTransaction implements S for (GenericValue shoppingList : shoppingLists) { List<GenericValue> items = null; try { - items = shoppingList.getRelated("ShoppingListItem", UtilMisc.toList("shoppingListItemSeqId")); + items = shoppingList.getRelated("ShoppingListItem", null, UtilMisc.toList("shoppingListItemSeqId"), false); } catch (GenericEntityException e) { Debug.logError(e, module); } Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java Tue Jun 19 21:36:11 2012 @@ -238,7 +238,7 @@ public class ManagerEvents { // transmit final data to server GenericValue terminal = null; try { - terminal = state.getRelatedOne("PosTerminal"); + terminal = state.getRelatedOne("PosTerminal", false); } catch (GenericEntityException e) { Debug.logError(e, module); pos.showDialog("dialog/error/exception", e.getMessage()); Modified: ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java URL: http://svn.apache.org/viewvc/ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java?rev=1351866&r1=1351865&r2=1351866&view=diff ============================================================================== --- ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java (original) +++ ofbiz/branches/20120329_portletWidget/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java Tue Jun 19 21:36:11 2012 @@ -48,7 +48,7 @@ import org.ofbiz.base.util.cache.UtilCac public class PosDialog { public static final String module = PosDialog.class.getName(); - protected static UtilCache<Object, Object> instances = UtilCache.createUtilCache("pos.Dialogs", 0, 0); + private static final UtilCache<XPage, PosDialog> instances = UtilCache.createUtilCache("pos.Dialogs", 0, 0); protected final Frame clientFrame = XProjectManager.getCurrentProject().getAppFrame(); protected final Window appWindow = XProjectManager.getCurrentProject().getAppWindow(); @@ -71,14 +71,7 @@ public class PosDialog { public static PosDialog getInstance(XPage page, boolean modal, int padding) { PosDialog dialog = (PosDialog) instances.get(page); if (dialog == null) { - synchronized(PosDialog.class) { - dialog = (PosDialog) instances.get(page); - - if (dialog == null) { - dialog = new PosDialog(page, modal, padding); - instances.put(page, dialog); - } - } + dialog = instances.putIfAbsentAndGet(page, new PosDialog(page, modal, padding)); } dialog.modal = modal; |
| Free forum by Nabble | Edit this page |
