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 2009/09/12 19:24:55 UTC

svn commit: r814205 - /ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl

Author: jleroux
Date: Sat Sep 12 17:24:55 2009
New Revision: 814205

URL: http://svn.apache.org/viewvc?rev=814205&view=rev
Log:
Fix the 1st point of "Multiple rendering issues in product screens" (https://issues.apache.org/jira/browse/OFBIZ-2597) - OFBIZ-2597
Section "Shipping Dimensions and Weights" in form (for example) "Quick Admin For: Giant Widget variant explosion [ID:WG-9943]" was rendered incorrectly

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl

Modified: ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl?rev=814205&r1=814204&r2=814205&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/EditProductQuickAdmin.ftl Sat Sep 12 17:24:55 2009
@@ -239,9 +239,9 @@
                     <td><input type="text" name="~ml${idx}" size="6" maxlength="20" value="${featureMl.get(assocProduct.productId)?if_exists}"/></td>
                     <td><input type="text" name="~ntwt${idx}" size="6" maxlength="20" value="${featureNtwt.get(assocProduct.productId)?if_exists}"/></td>
                     <td><input type="text" name="~grams${idx}" size="6" maxlength="20" value="${featureGrams.get(assocProduct.productId)?if_exists}"/></td>
-                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${featureHazmat.get(assocProduct.productId)?if_exists}</a></td>
-                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${featureSalesThru.get(assocProduct.productId)?if_exists}</a></td>
-                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${featureThruDate.get(assocProduct.productId)?if_exists}</a></td>
+                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${StringUtil.wrapString(featureHazmat.get(assocProduct.productId)?if_exists)}</a></td>
+                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${StringUtil.wrapString(featureSalesThru.get(assocProduct.productId)?if_exists)}</a></td>
+                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${StringUtil.wrapString(featureThruDate.get(assocProduct.productId)?if_exists)}</a></td>
                 </tr>
                 <#assign idx = idx + 1/>
                 <#-- toggle the row color -->
@@ -265,9 +265,9 @@
                     <td><input type="text" name="~ml" size="6" maxlength="20" value="${ml?if_exists}"></td>
                     <td><input type="text" name="~ntwt" size="6" maxlength="20" value="${ntwt?if_exists}"></td>
                     <td><input type="text" name="~grams" size="6" maxlength="20" value="${grams?if_exists}"></td>
-                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${hazmat?if_exists}</a></td>
-                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${salesthru?if_exists}</a></td>
-                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${thrudate?if_exists}</a></td>
+                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${StringUtil.wrapString(hazmat?if_exists)}</a></td>
+                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${StringUtil.wrapString(salesthru?if_exists)}</a></td>
+                    <td><a class="buttontext" href="<@o...@ofbizUrl>">${StringUtil.wrapString(thrudate?if_exists)}</a></td>
                 </tr>
                 <tr>
                     <td colspan=10 align="right"><input type="submit" value="${uiLabelMap.ProductUpdateShipping}"></td>