Ok, here is a solution. Myfaces adds a MyFacesHack.js to the page for the purpose of adapting jscookMenu to JSF. Here a menu action goes straightaway to form.submit. This doesn't comply with tr:fileDownloadActionListener, don't know why. But replacing at line #28: var dummyForm = document.forms[target]; dummyForm.elements['jscook_action'].value = link; dummyForm.submit(); simply by: submitForm(target,1, {jscook_action: link}) seems to solve the issue, since we go through Trinidad stuff. However I don't know how Myfaces+Trinidad+Tomahawk fit this puzzle (who does what). -- Renzo Renzo Tomaselli wrote: Yes I will. I'm debugging the involved js machinery to find the issue, I guess jscookMenu submitting skips Trinidad internals. |
- [Trinidad] tr:fileDownloadActionListener non working w... Renzo Tomaselli
- Re: [Trinidad] tr:fileDownloadActionListener non ... Matthias Wessendorf
- Re: [Trinidad] tr:fileDownloadActionListener ... Renzo Tomaselli
- Re: [Trinidad] tr:fileDownloadActionListe... Matthias Wessendorf
- Re: [Trinidad] tr:fileDownloadActionListe... Renzo Tomaselli
- Re: [Trinidad] tr:fileDownloadActionL... Matthias Wessendorf
- Re: [Trinidad] tr:fileDownloadAc... Renzo Tomaselli
- Re: [Trinidad] tr:fileDownlo... Matthias Wessendorf
- Re: [Trinidad] tr:fileDownlo... Andrew Robinson
- Re: [Trinidad] tr:fileDo... Matthias Wessendorf
- Re: [Trinidad] tr:fileDo... Renzo Tomaselli
- Re: [Trinidad] tr:fileDo... Andrew Robinson