Link to download FILE on a Dialog fails of FF ---------------------------------------------
Key: MYFACES-2388 URL: https://issues.apache.org/jira/browse/MYFACES-2388 Project: MyFaces Core Issue Type: Bug Affects Versions: 1.2.6 Environment: Windows XP, Firefox 3.5.3 Reporter: Paskal Sanil 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.