Hi, I use tr:fileDownloadActionListener to download a xml file. If I use the <h:commandButton> everything works fine. But if I change the button to the <a4j:commandButton>, which I actually want to have, the file will be opened directly in the browser. So is there a way to go around this?
<h:commandButton value="Download" styleClass="submit_button">
<tr:fileDownloadActionListener filename="queryResult.xml"
contentType="text/plain;
charset=utf-8"
method="#{xmlPage.download}"/>
</h:commandButton>

