[OFBiz] SVN: r6098 - trunk/applications/order/webapp/ordermgr/quote
jacopo at svn.ofbiz.org
jacopo at svn.ofbiz.org
Wed Nov 9 01:43:52 EST 2005
Author: jacopo
Date: 2005-11-09 00:43:44 -0600 (Wed, 09 Nov 2005)
New Revision: 6098
Modified:
trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml
Log:
Fixed odd behaviour of key fields in EditQuoteAttribute and EditQuoteCoefficient forms: when creating new attributes/coefficients one after the other (I could reproduce this after the third insert) the key field was not shown.
Modified: trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml
===================================================================
--- trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml 2005-11-09 06:29:01 UTC (rev 6097)
+++ trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml 2005-11-09 06:43:44 UTC (rev 6098)
@@ -256,7 +256,7 @@
default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
<alt-target use-when="quoteAttribute==null" target="createQuoteAttribute"/>
<auto-fields-entity entity-name="QuoteAttribute" default-field-type="edit"/>
- <field name="attrName" title="${uiLabelMap.OrderOrderQuoteAttributeName}"></field>
+ <field name="attrName" title="${uiLabelMap.OrderOrderQuoteAttributeName}" use-when="quoteAttribute==null"><text/></field>
<field name="attrName" title="${uiLabelMap.OrderOrderQuoteAttributeName}" use-when="quoteAttribute!=null"><display/></field>
<field name="attrValue" title="${uiLabelMap.OrderOrderQuoteAttributeValue}"></field>
<field name="quoteId"><hidden/></field>
@@ -282,6 +282,7 @@
<alt-target use-when="quoteCoefficient==null" target="createQuoteCoefficient"/>
<auto-fields-entity entity-name="QuoteCoefficient" default-field-type="edit"/>
<field name="quoteId"><hidden/></field>
+ <field name="coeffName" title="${uiLabelMap.OrderOrderQuoteCoefficientName}" use-when="quoteCoefficient==null"><text/></field>
<field name="coeffName" title="${uiLabelMap.OrderOrderQuoteCoefficientName}" use-when="quoteCoefficient!=null"><display/></field>
<field name="submitButton" title="Submit" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
More information about the Svn
mailing list