Skip to main content

Posts

Showing posts from August, 2014

IE 11 problem workaround - file names messed up

Note: patch 18277370  needed for 11.1.1.7 to run ie 11 All our download links on ie 11 file names looked like they have been url encoded something like: UTF-8_Q_Bobs=5FBooks=2Epdf= Really irritating for our users so the quick and dirty for now was to modify (luckily all our download code is common) our download method to reset the headers on the response. On our button we add the following: <af:fileDownloadActionListener filename="test.txt"     contentType="application/octet-stream"     method="#{bean.startDownload}"/> And we add a property to the request that contains the ucm path like such:   <af:setPropertyListener from="/ucm/path/here"                                       to="#{requestScope.ucmCurrentDocument}"      ...