You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2006/12/06 23:29:18 UTC

svn commit: r483266 - in /incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog: configproductdetail.ftl productdetail.ftl

Author: jleroux
Date: Wed Dec  6 14:29:16 2006
New Revision: 483266

URL: http://svn.apache.org/viewvc?view=rev&rev=483266
Log:
>From a Bilgin Ibryam's remark : When i start ecommerce application and choose Round Gizmo to see the product details i get an error. It looks like this product donot have productName. The productName is removed here(r478365  an example of product name and description i18n.) Is it removed intentionally?
Yes it was removed intentionaly by Si in a praiseworthy effort of i18n of product (demo on one product), 2 localisations were forgotten in eCommerce 

Modified:
    incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
    incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl

Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl?view=diff&rev=483266&r1=483265&r2=483266
==============================================================================
--- incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl (original)
+++ incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl Wed Dec  6 14:29:16 2006
@@ -322,7 +322,7 @@
           </#if>
         </#if>
       </form>
-	<div class="tabletext">
+    <div class="tabletext">
       <#if sessionAttributes.userLogin?has_content && sessionAttributes.userLogin.userLoginId != "anonymous">
         <hr class="sepbar"/>
         <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#...@ofbizUrl>">
@@ -345,7 +345,7 @@
         ${uiLabelMap.EcommerceYouMust} <a href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonLogin}</a>
         ${uiLabelMap.EcommerceToAddSelectedItemsToShoppingList}.&nbsp;
       </#if>
-	  </div>
+      </div>
       <#-- Prefill first select box (virtual products only) -->
       <#if variantTree?exists && 0 < variantTree.size()>
         <script language="JavaScript" type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script>
@@ -599,7 +599,7 @@
   </#if>
   <#if assocProducts?has_content>
     <tr><td>&nbsp;</td></tr>
-    <tr><td colspan="2"><div class="head2">${beforeName?if_exists}<#if showName == "Y">${productValue.productName}</#if>${afterName?if_exists}</div></td></tr>
+    <tr><td colspan="2"><div class="head2">${beforeName?if_exists}<#if showName == "Y">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</#if>${afterName?if_exists}</div></td></tr>
     <tr><td><hr class="sepbar"/></td></tr>
     <#list assocProducts as productAssoc>
       <tr><td>

Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl?view=diff&rev=483266&r1=483265&r2=483266
==============================================================================
--- incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl (original)
+++ incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl Wed Dec  6 14:29:16 2006
@@ -565,7 +565,7 @@
     <#assign targetRequest = targetRequestName>
   </#if>
   <#if assocProducts?has_content>
-    <div class="head2">${beforeName?if_exists}<#if showName == "Y">${productValue.productName}</#if>${afterName?if_exists}</div>
+    <div class="head2">${beforeName?if_exists}<#if showName == "Y">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</#if>${afterName?if_exists}</div>
 
     <div class="productsummary-container">
     <#list assocProducts as productAssoc>