DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343495 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+2
-2
@@ -44,8 +44,8 @@ webSiteContactList = delegator.findList("WebSiteContactList", topCond, null, nul
|
||||
|
||||
publicEmailContactLists = [];
|
||||
webSiteContactList.each { webSiteContactList ->
|
||||
contactList = webSiteContactList.getRelatedOne("ContactList");
|
||||
contactListType = contactList.getRelatedOne("ContactListType");
|
||||
contactList = webSiteContactList.getRelatedOne("ContactList", false);
|
||||
contactListType = contactList.getRelatedOne("ContactListType", false);
|
||||
temp = [:];
|
||||
temp.contactList = contactList;
|
||||
temp.contactListType = contactListType;
|
||||
|
||||
@@ -39,12 +39,12 @@ under the License.
|
||||
<tr>
|
||||
<td>${subscription.subscriptionId}</td>
|
||||
<td>
|
||||
<#assign subscriptionType = subscription.getRelatedOne('SubscriptionType')?if_exists>
|
||||
<#assign subscriptionType = subscription.getRelatedOne('SubscriptionType', false)?if_exists>
|
||||
${(subscriptionType.description)?default(subscription.subscriptionTypeId?default('N/A'))}
|
||||
</td>
|
||||
<td>${subscription.description?if_exists}</td>
|
||||
<td>
|
||||
<#assign product = subscription.getRelatedOne('Product')?if_exists>
|
||||
<#assign product = subscription.getRelatedOne('Product', false)?if_exists>
|
||||
<#if product?has_content>
|
||||
<#assign productName = Static['org.ofbiz.product.product.ProductContentWrapper'].getProductContentAsText(product, 'PRODUCT_NAME', request)?if_exists>
|
||||
<a href="<@ofbizUrl>product?product_id=${product.productId}</@ofbizUrl>" class="linktext">${productName?default(product.productId)}</a>
|
||||
|
||||
Reference in New Issue
Block a user