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
|
|
|
|
(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
|
|
|
|
(0030600)
|
hgbot
|
2010-09-03 14:37
|
|
|
|
(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
|
|
|
|
(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
---
|
|
|
|
|
|
|
|