details: /erp/devel/pi/rev/1a7dbd852133
changeset: 12081:1a7dbd852133
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Tue May 10 16:58:27 2011 +0200
summary: Fixed issue 16788. Callouts can now set auxiliary input values.
diffstat:
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
| 11 ++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r 2eb99c25867b -r 1a7dbd852133
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
Tue May 10 13:37:09 2011 +0200
+++
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
Tue May 10 16:58:27 2011 +0200
@@ -1091,6 +1091,17 @@
// We need to fire this callout, as the column value was
changed
addCalloutToList(col, calloutsToCall,
lastfieldChangedList);
}
+ } else {
+ for (AuxiliaryInput aux : tab.getADAuxiliaryInputList()) {
+ if (name
+ .equalsIgnoreCase("inp" +
Sqlc.TransformaNombreColumna(aux.getName()))) {
+ Object el = element.get(1, null);
+ JSONObject obj = new JSONObject();
+ obj.put("value", el);
+ obj.put("classicValue", el);
+ columnValues.put(name, obj);
+ }
+ }
}
}
}
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits