Details
Description
Some third party components use there own java script to submit to the server. (Calling form.submit() directly)
Intercept these calls, and perform an iceSubmit instead.
Example Code.
window.onLoad(function() {
$enumerate(document.forms).each(function(form) {
form.submit = function() {
iceSubmit(form, null, new Object());
};
form.onsubmit = function() {
iceSubmit(form, null, new Object());
};
});
});
Intercept these calls, and perform an iceSubmit instead.
Example Code.
window.onLoad(function() {
$enumerate(document.forms).each(function(form) {
form.submit = function() {
iceSubmit(form, null, new Object());
};
form.onsubmit = function() {
iceSubmit(form, null, new Object());
};
});
});
Issue Links
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #13765 | Thu May 03 11:53:56 MDT 2007 | mircea.toma | Refactor how and when form submits are redirected to avoid memory leaks -- |
Files Changed | ||||
![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #13628 | Fri Apr 20 17:23:48 MDT 2007 | mircea.toma | Use previously registered function -- |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #13430 | Tue Mar 27 16:58:17 MDT 2007 | mircea.toma | Force MyFaces to inject the needed Javascript on each submit. Rewrite 'submit' and 'onsubmit' when the browser document is updated -- |
Files Changed | ||||
![]() ![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #13376 | Fri Mar 09 11:30:47 MST 2007 | mircea.toma | Capture form submits and send them as XMLHttpRequests. Issue |
Files Changed | ||||
![]() |