Use tr:commandButton? A4J and Trinidad are not made to work together
On 11/15/07, Wolfgang <[EMAIL PROTECTED]> wrote:
> 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>
>
>