[
https://issues.apache.org/jira/browse/MYFACES-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-2388.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.8-SNAPSHOT
Assignee: Leonardo Uribe
> 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
> Assignee: Leonardo Uribe
> Fix For: 1.2.8-SNAPSHOT
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> 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.