It should be the AJAX part that fails for some reason... If you put a
break point on writeDownload you might see that no download request is
produced. The trick work as follows. Please, try to provide a quick start
or provide more info because I do not see how we could otherwise help you.
On
Hi,
On Tue, Jun 18, 2013 at 2:14 PM, René Hartwig
rene.hart...@befine-solutions.com wrote:
Hi,
I'm using Wicket 6.7.0 with an embedded Jetty and implemented a file
download mechanism as suggested here:
Well spotted.. and I guess the wrong XML error is because you are returning
CSV instead of wicket AJAX XML.
On Tue, Jun 18, 2013 at 3:26 PM, Martin Grigorov mgrigo...@apache.orgwrote:
Hi,
On Tue, Jun 18, 2013 at 2:14 PM, René Hartwig
rene.hart...@befine-solutions.com wrote:
Hi,
I'm
Great, thanks - that was it
Best regards,
Ren
Ren
Hartwig
Senior Developer
Befine
Solutions AG - The Cryptshare Company
Bebelstrae 17
79108 Freiburg
Hi,
On Fri, Oct 12, 2012 at 10:35 AM, mlabs mlabs@gmail.com wrote:
So what I'm trying to do must surely be a common thing... yet so far I have
had no luck getting it to work.
I'm generating big PDF's on the server .. and in the browser I have a link
that should initiate that generation
you could even display a progress bar indicator so that your users are
aware of how much it is left.
On Fri, Oct 12, 2012 at 10:46 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Hi,
On Fri, Oct 12, 2012 at 10:35 AM, mlabs mlabs@gmail.com wrote:
So what I'm trying to do must
hmm.. no .. sounds too complicated ... I don't want to get into spawning
threads and polling ..
In jQuery you can use $.ajax({url:'my-pdf
resource-url',async:false,success...,error...}) and wire blockUI into the
success/error handlers.. that worked great except the save-as dialog didn't
come up -
I know, but the idea of the user being able to click around the web page and
possibly navigate to other areas of the app... and then minutes later the
save-as dialog suddenly pops up .. seems to me to be potentially
confusing... which is why I like blockUI ... it lets them know that as soon
as
The way I did it - I created a panel to be used by all reports. It uses
IndicatingAjaxButton for Generate Report button which starts report
generation in thread and adds AjaxSelfUpdating behaviour to the button
panel. Once generation is finished, previously invisible Download
Report button
ok i like the idea of enabling the download button upon completion of
generation - I will have a go at doing something similar. But it seems to me
that if there was a way to switch the ajax call to be synchronous 'on the
fly' then there would be no need for polling with ajax timers
A regular form and an ajaxbutton should get you a long way. Assuming
you have a feedbackpanel on your page.
The onSubmit of your button should do something like:
onSubmit(AjaxRequestTarget target)
{
//do calculation
target.addComponent(getForm());
//somehow create and or upload pdf
}
11 matches
Mail list logo