Just to complete discussion,
right click on link didn't work with AjaxDownload version.
Regards,
Igor
2011/8/24 Igor Racic igor.ra...@gmail.com
Works by using AttributeModifier for href.
Any objection to use it with AjaxLink ?
Thank you and regards,
Igor
2011/8/24 Igor Racic
Hi,
It worked in IE7. FF/Chrome option setting to download in fixed directory
played here. I changed to ask on every download and now it works (both
ways !).
Is there a way so that right click propose correct name (currenctly it's
like xyz.htm / xyz.htm.part) ?
Thank you and regards,
Igor
Works by using AttributeModifier for href.
Any objection to use it with AjaxLink ?
Thank you and regards,
Igor
2011/8/24 Igor Racic igor.ra...@gmail.com
Hi,
It worked in IE7. FF/Chrome option setting to download in fixed directory
played here. I changed to ask on every download and now it
Hi,
I am not able to get save dialog.
Here is the code:
final AJAXDownload download = new AJAXDownload()
{
@Override
protected IResourceStream getResourceStream()
{
return new StringResourceStream(info.srcString, text/plain);
}
@Override
protected String getFileName() {
return
Igor,
Don't use the AJAXDownload class. There's another way to do it via Ajax, and
get the Save As dialog.
Click this page:
https://cwiki.apache.org/WICKET/best-practices-and-gotchas.html
Go down to the example that starts with or do it like this: (the 2nd
example in the section Starting
Hi,
are you sure proposedFileName is non-null?
Sven
On 08/23/2011 07:29 PM, Igor Racic wrote:
Hi,
I am not able to get save dialog.
Here is the code:
final AJAXDownload download = new AJAXDownload()
{
@Override
protected IResourceStream getResourceStream()
{
return new
Yes, it initialized.
Thank you,
Igor
2011/8/23 Sven Meier s...@meiers.net
Hi,
are you sure proposedFileName is non-null?
Sven
On 08/23/2011 07:29 PM, Igor Racic wrote:
Hi,
I am not able to get save dialog.
Here is the code:
final AJAXDownload download = new AJAXDownload()
I followed the AJAXDownload example on how to do an Ajax-based file download:
https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html
It works, but my problem is, I can't get it to support the
Content-Disposition header attachment to do the Save As dialog box. The
file
see
org.apache.wicket.request.target.resource.ResourceStreamRequestTarget.configure(RequestCycle,
Response, IResourceStream)
On Mon, Aug 22, 2011 at 5:41 PM, eugenebalt eugeneb...@yahoo.com wrote:
I followed the AJAXDownload example on how to do an Ajax-based file download:
Thanks I fixed it. This example explains how to do it.
https://cwiki.apache.org/WICKET/best-practices-and-gotchas.html
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AJAXDownload-Example-Doesn-t-Support-Content-Disposition-Save-As-tp3760342p3760552.html
Sent from
10 matches
Mail list logo