details:   /erp/devel/pi/rev/dc283db4f5f6
changeset: 11443:dc283db4f5f6
user:      Antonio Moreno <antonio.moreno <at> openbravo.com>
date:      Mon Apr 04 09:39:57 2011 +0200
summary:   Fixed issue 16582 . When a callout changes a combo, the new value 
will be set in the request so that subsequent callouts work correctly.

diffstat:

 
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
 |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r ee3932c7d519 -r dc283db4f5f6 
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
--- 
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
     Sun Apr 03 17:21:32 2011 +0200
+++ 
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
     Mon Apr 04 09:39:57 2011 +0200
@@ -950,6 +950,7 @@
                             String newValue = subelement.get(0, 
null).toString();
                             jsonobject.put("value", newValue);
                             jsonobject.put("classicValue", 
uiDef.convertToClassicString(newValue));
+                            rq.setRequestParameter(colId, 
uiDef.convertToClassicString(newValue));
                             log.debug("Column: " + col.getDBColumnName() + "  
Value: " + newValue);
                           }
                         }

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to