Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.6
-
None
-
None
-
Windows XP, Firefox 3.5.3
Description
On placing a link on a Dialog to download a file, gives javascript error "Form undefined".
Find Sample generated Js below:
oamSubmitForm('downloadDialog-f','downloadDialog-f:downloadBulkData',null,[['Uri','ExportedData.zip']]);
On analyzing further, in methods, oamSubmitForm() and oamSetHiddenInput() it can't find the form.
I modified "Get form logic" from:
var form = document.forms[formName];
to
var form = document.getElementById(formName);
and it now works. We are currently using this workaround. But a neat solution in the jar would be more preferable.