Author: jaz
Date: Mon Feb 19 11:22:45 2007
New Revision: 509305
URL: http://svn.apache.org/viewvc?view=rev&rev=509305
Log:
added example of using DOJO resizable text areas
Modified:
ofbiz/trunk/applications/product/webapp/catalog/product/EditProductContent.ftl
ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
Modified:
ofbiz/trunk/applications/product/webapp/catalog/product/EditProductContent.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/EditProductContent.ftl?view=diff&rev=509305&r1=509304&r2=509305
==============================================================================
---
ofbiz/trunk/applications/product/webapp/catalog/product/EditProductContent.ftl
(original)
+++
ofbiz/trunk/applications/product/webapp/catalog/product/EditProductContent.ftl
Mon Feb 19 11:22:45 2007
@@ -108,7 +108,7 @@
<td width="20%" align="right" valign="top"><div
class="tabletext"><b>${uiLabelMap.ProductLongDescription}</b></div></td>
<td> </td>
<td width="80%" colspan="4" valign="top">
- <textarea class="textAreaBox" name="longDescription" cols="60"
rows="7">${(product.longDescription)?if_exists}</textarea>
+ <textarea class="textAreaBox dojo-ResizableTextArea"
name="longDescription" cols="60"
rows="7">${(product.longDescription)?if_exists}</textarea>
</td>
</tr>
<tr>
Modified:
ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml?view=diff&rev=509305&r1=509304&r2=509305
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
(original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml
Mon Feb 19 11:22:45 2007
@@ -513,7 +513,7 @@
<field name="localeString" title="${uiLabelMap.ProductLocaleString}"
map-name="content"><text size="40"/></field>
<field use-when="contentId == null" name="contentId"><ignored/></field>
<field use-when="contentId != null" name="contentId"
tooltip="${uiLabelMap.ProductNotModificationRecrationProductContentAssociation}"
map-name="productContentData" ><display/></field>
- <field name="text" title="${uiLabelMap.ProductText}*"
map-name="textData" widget-style="textAreaBox" ><textarea cols="80"
rows="20"/></field>
+ <field name="text" title="${uiLabelMap.ProductText}*"
map-name="textData" widget-style="textAreaBox dojo-ResizableTextArea"
><textarea cols="80" rows="20"/></field>
<field name="textDataResourceId"
title="${uiLabelMap.ProductTextDataResourceId}"
map-name="textData"><hidden/></field>
<field name="useTime"><hidden/></field>
<field name="useTimeUomId"><hidden/></field>