Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013873Openbravo ERPZ. Otherspublic2010-07-02 13:312011-05-24 10:57
shuehner 
iperdomo 
normalmajorhave not tried
closedfixed 
5
2.50 
 
User Interface Application
No
0013873: Autosave integration with multi-tab interface should be done
Currently autosave is not triggered on i.e. closing of a tab having a classic window inside, if the data in that window was modified.

The integration of autosave with the new layout needs to be designed and implemented.
closingMay2011
diff 13873-core-changes.diff (3,219) 2010-08-27 16:45
https://issues.openbravo.com/file_download.php?file_id=2974&type=bug
diff 13873-org.openbravo.client.application.diff (3,272) 2010-08-30 11:58
https://issues.openbravo.com/file_download.php?file_id=2978&type=bug
diff 13873-org.openbravo.userinterface.smartclient.diff (4,056) 2010-08-30 12:31
https://issues.openbravo.com/file_download.php?file_id=2980&type=bug
Issue History
2010-07-02 13:31shuehnerNew Issue
2010-07-02 13:31shuehnerAssigned To => mtaal
2010-07-02 17:21mtaalNote Added: 0029013
2010-07-20 12:16rafarodaIssue Monitored: rafaroda
2010-07-20 16:05rgorisIssue Monitored: rgoris
2010-07-26 15:52rgorisNote Added: 0029560
2010-08-10 12:51iperdomoAssigned Tomtaal => iperdomo
2010-08-10 12:51iperdomoStatusnew => scheduled
2010-08-10 12:51iperdomofix_in_branch => pi
2010-08-20 18:39hgbotCheckin
2010-08-20 18:39hgbotNote Added: 0030196
2010-08-20 19:33hgbotCheckin
2010-08-20 19:33hgbotNote Added: 0030197
2010-08-27 16:45iperdomoFile Added: 13873-core-changes.diff
2010-08-30 11:58iperdomoFile Added: 13873-org.openbravo.client.application.diff
2010-08-30 11:58iperdomoFile Added: 13873-org.openbravo.userinterface.smartclient.diff
2010-08-30 12:03iperdomoAssigned Toiperdomo => mtaal
2010-08-30 12:31iperdomoFile Deleted: 13873-org.openbravo.userinterface.smartclient.diff
2010-08-30 12:31iperdomoFile Added: 13873-org.openbravo.userinterface.smartclient.diff
2010-09-03 14:37hgbotCheckin
2010-09-03 14:37hgbotNote Added: 0030599
2010-09-03 14:37hgbotCheckin
2010-09-03 14:37hgbotNote Added: 0030600
2010-10-07 12:51mtaalAssigned Tomtaal => iperdomo
2010-10-11 11:03hgbotCheckin
2010-10-11 11:03hgbotNote Added: 0031745
2010-10-11 11:06hgbotCheckin
2010-10-11 11:06hgbotNote Added: 0031746
2010-10-11 11:06hgbotStatusscheduled => resolved
2010-10-11 11:06hgbotResolutionopen => fixed
2010-10-11 11:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/a61ee4d4d5c0bc253e383a9765c395d303da7664 [^]
2010-10-11 14:37hgbotCheckin
2010-10-11 14:37hgbotNote Added: 0031762
2010-10-11 14:37hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/a61ee4d4d5c0bc253e383a9765c395d303da7664 [^] => http://code.openbravo.com/erp/devel/pi/rev/8a7c5fd8f1bfd0ba1ca3122b74c46bd367cb8e5c [^]
2010-10-11 18:48hudsonbotCheckin
2010-10-11 18:48hudsonbotNote Added: 0031768
2010-10-12 06:33hudsonbotCheckin
2010-10-12 06:33hudsonbotNote Added: 0031772
2011-05-24 09:59dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0029013)
mtaal   
2010-07-02 17:21   
Notes based on discussed with Ivan, when a tab gets closed call submitcommandform in the frame, this is also how a menu click is handled, example of a menu click submitcommandform:
submitCommandForm('DEFAULT', true, getForm(),'http://live.builds.openbravo.com/int-full-pgsql/Module/Module_Relation.html', [^] 'appFrame', false, true)

The implementation of the submitcommandform method can be found in the utils.js:
   663 /**
   664 * Submit a form after setting a value to the Command field. The Command field is a string to define the type of operation that the servlet will execute. Also allows to debug previous the submition. This function execution requires a hidden field with name Command in the form.
   665 * @param {String} action Identify the operation that the servlet will execute.
   666 * @param {Boolean} bolValidation Set if you want to debug previous the form submission. The default value is false. If is true, you must implement a boolean returning function named depurar that makes all the debugging functionality. If depurar returns false the form will not be submited.
   667 * @param {Form} form A reference to the form that will be submitted. If is null, the first form in the page will be used.
   668 * @param {String} newAction Set the URL where we want to send the form. If is null the URL in the form's action attribute will be used.
   669 * @param {String} newTarget Set the window or frame where we want to send the form. If is null the form's target attribute will be used.
   670 * @param {Boolean} bolOneFormSubmission Verify the form submission, waits for a server response. Prevents a multiple submission. The default value false.
   671 * @param {Boolean} bolCheckChanges If we want to check for changes in the window, and presents a pop-up message.
   672 * @param {Boolean} isCallOut Defines if we are making a submission to a CallOut.
   673 * @param {Boolean} controlEvt
   674 * @param {Event} evt
   675 * @returns True if everything goes correct and the data is sent. False on any problem, is no able to send the data or by the user cancelation un the pop-up message.
   676 * @type Boolean
   677 */
   678 function submitCommandForm(action, bolValidation, form, newAction, newTarget, bolOneFormSubmission, bolCheckChanges, isCallOut, controlEvt, evt) {
   679
(0029560)
rgoris   
2010-07-26 15:52   
Sync this issue with forge discussion http://forge.openbravo.com/plugins/espforum/view.php?group_id=100&forumid=808030&topicid=7016361 [^]
(0030196)
hgbot   
2010-08-20 18:39   
Repository: erp/mods/org.openbravo.client.application
Changeset: 6c134ef7e7af683c6d85a92661c937f9e36e73a9
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Aug 20 18:38:12 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/6c134ef7e7af683c6d85a92661c937f9e36e73a9 [^]

Related to issue 13873: Helper methods for iframe's global context access
- Added helper methods for accessing the global context (window) of the iframe
  generated by the HTMLFlow

---
M web/org.openbravo.client.application/js/classic-ob-window.js
---
(0030197)
hgbot   
2010-08-20 19:33   
Repository: erp/mods/org.openbravo.client.application
Changeset: 8877f25481fc8b7bd6667a83ba1bf3f62b2b400a
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Aug 20 19:32:43 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/8877f25481fc8b7bd6667a83ba1bf3f62b2b400a [^]

Related to issue 13873: Helper functions enhancements
- Fixes getIframeWindow in IE: typeof getElementsByTagName is reported as
  "object" instead of "function"
- Added a member to cache a reference to appFrame

---
M web/org.openbravo.client.application/js/classic-ob-window.js
---
(0030599)
hgbot   
2010-09-03 14:37   
Repository: erp/mods/org.openbravo.client.application-new-activation
Changeset: 6c134ef7e7af683c6d85a92661c937f9e36e73a9
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Aug 20 18:38:12 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application-new-activation/rev/6c134ef7e7af683c6d85a92661c937f9e36e73a9 [^]

Related to issue 13873: Helper methods for iframe's global context access
- Added helper methods for accessing the global context (window) of the iframe
  generated by the HTMLFlow

---
M web/org.openbravo.client.application/js/classic-ob-window.js
---
(0030600)
hgbot   
2010-09-03 14:37   
Repository: erp/mods/org.openbravo.client.application-new-activation
Changeset: 8877f25481fc8b7bd6667a83ba1bf3f62b2b400a
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Aug 20 19:32:43 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application-new-activation/rev/8877f25481fc8b7bd6667a83ba1bf3f62b2b400a [^]

Related to issue 13873: Helper functions enhancements
- Fixes getIframeWindow in IE: typeof getElementsByTagName is reported as
  "object" instead of "function"
- Added a member to cache a reference to appFrame

---
M web/org.openbravo.client.application/js/classic-ob-window.js
---
(0031745)
hgbot   
2010-10-11 11:03   
Repository: erp/devel/pi
Changeset: e135e54e07cb175a5d21d53e763f3a196171e61e
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Thu Oct 07 16:05:07 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e135e54e07cb175a5d21d53e763f3a196171e61e [^]

Issue 13873: Added support for autosave for generated windows in new ui

---
M src-wad/src/org/openbravo/wad/javasource.javaxml
M src/org/openbravo/erpCommon/utility/OBError.java
---
(0031746)
hgbot   
2010-10-11 11:06   
Repository: erp/mods/org.openbravo.client.application
Changeset: a61ee4d4d5c0bc253e383a9765c395d303da7664
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Oct 11 11:06:02 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/a61ee4d4d5c0bc253e383a9765c395d303da7664 [^]

Fixes issue 13873: Added autosave support for new UI

---
M src/org/openbravo/client/application/templates/layout.js.ftl
M web/org.openbravo.client.application/js/classic-ob-window.js
M web/org.openbravo.client.application/js/utilities.js
---
(0031762)
hgbot   
2010-10-11 14:37   
Repository: erp/devel/pi
Changeset: 8a7c5fd8f1bfd0ba1ca3122b74c46bd367cb8e5c
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Oct 11 14:36:17 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8a7c5fd8f1bfd0ba1ca3122b74c46bd367cb8e5c [^]

Fixes issue 13873: Updated method signature to use generic type

---
M src-wad/src/org/openbravo/wad/javasource.javaxml
M src/org/openbravo/erpCommon/utility/OBError.java
---
(0031768)
hudsonbot   
2010-10-11 18:48   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/e135e54e07cb [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0b4e4ae24456 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18512.obx [^]
(0031772)
hudsonbot   
2010-10-12 06:33   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/8a7c5fd8f1bf [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/23d64ad8bd7b [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18516.obx [^]