This content has been marked as final.
Show 5 replies
-
1. Re: Using a a4j:commandButton in order to download a text fi
ilya_shaikovsky Dec 19, 2007 8:56 AM (in response to balteo)And what the problem after changing h: button to a4j:?
-
2. Re: Using a a4j:commandButton in order to download a text fi
balteo Dec 19, 2007 12:24 PM (in response to balteo)Thanks for the reply,
The problem is that instead of having the dialog box with save as/ open with (h:commandButton), the text file is displayed in the browser (a4j:commandButton).
J. -
3. Re: Using a a4j:commandButton in order to download a text fi
balteo Dec 20, 2007 1:49 PM (in response to balteo)Any help with the above questions???
-
4. Re: Using a a4j:commandButton in order to download a text fi
sergeysmirnov Dec 20, 2007 1:56 PM (in response to balteo)Ajax is a replacement of part of the DOM tree instead of the loading the whole page. RichFaces use XML as a context type of the response. Setting other types is ignored.
So, you cannot use a4j:commandButton in this particular case. -
5. Re: Using a a4j:commandButton in order to download a text fi
balteo Dec 20, 2007 2:32 PM (in response to balteo)thanks for the reply.