You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Federico Fanton <ff...@ibc.it> on 2007/10/18 12:03:34 UTC

File download and page refresh

Hi everyone!
Is it possible to build a form button which triggers a download *and* a page refresh?
Many thanks for your time!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: File download and page refresh

Posted by Francisco Diaz Trepat - gmail <fr...@gmail.com>.
Hi Federico, could you or anyone tell me how to do the "meta refresh
pointing to a file".

You see I have a forms that performs a calculation and shows the result, all
done by an ajax form.

I have an ajax link that has to return a PDF, but also "refresh" the results
or execute the ajax form submit.

Anyone?

thanks,
f(t)

On Oct 19, 2007 3:45 AM, Federico Fanton <ff...@ibc.it> wrote:

> On Thu, 18 Oct 2007 10:04:17 -0700
> "Igor Vaynberg" <ig...@gmail.com> wrote:
>
> > you can redirect to a page that has a meta refresh pointing to a file...
>
> I'll try that, thanks! :)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

AW: Update page asynchronus through the server

Posted by Stefan Lindner <li...@visionet.de>.
And where can I find the org.wicketstuff.dojo.AbstractRequireDojoBehavior class that is referenced by wicketstupp-push? It's not in the www.wicketstuff.org's contrib-dojo.

Stefan Lindner 

-----Ursprüngliche Nachricht-----
Von: Jan Kriesten [mailto:jan.kriesten@renitence.de] 
Gesendet: Freitag, 19. Oktober 2007 09:40
An: users@wicket.apache.org
Betreff: Re: Update page asynchronus through the server


hi stefan,

> Does Wicket provide any mechanism or can anyboldy helb me with a 
> suggestion for the following problem:

wicket itself currently does not.

you would either go the way of polling or have a comet service installed which could update asynchronously. in wicket-stuff is a project called 'wicketstuff-push' which you could consult/use.

best regards, --- jan.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Update page asynchronus through the server

Posted by Jan Kriesten <ja...@renitence.de>.
hi stefan,

> Thank your for your hint. But the only source I found was at http://www.xoocode.org. The official www.wicketstuff.org does not know anything about push/comt. Even the wicketstuff wiki says nothing about push or comet. Is there any example or some more documentation (I only found the javadoc)?

you should checkout wicket-stuff from svn, then you'll find it.

best regards, --- jan.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


AW: Update page asynchronus through the server

Posted by Stefan Lindner <li...@visionet.de>.
Thank your for your hint. But the only source I found was at http://www.xoocode.org. The official www.wicketstuff.org does not know anything about push/comt. Even the wicketstuff wiki says nothing about push or comet. Is there any example or some more documentation (I only found the javadoc)?

Stefan Lindner

-----Ursprüngliche Nachricht-----
Von: Jan Kriesten [mailto:jan.kriesten@renitence.de] 
Gesendet: Freitag, 19. Oktober 2007 09:40
An: users@wicket.apache.org
Betreff: Re: Update page asynchronus through the server


hi stefan,

> Does Wicket provide any mechanism or can anyboldy helb me with a 
> suggestion for the following problem:

wicket itself currently does not.

you would either go the way of polling or have a comet service installed which could update asynchronously. in wicket-stuff is a project called 'wicketstuff-push' which you could consult/use.

best regards, --- jan.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Update page asynchronus through the server

Posted by Jan Kriesten <ja...@renitence.de>.
hi stefan,

> Does Wicket provide any mechanism or can anyboldy helb me with a
> suggestion for the following problem:

wicket itself currently does not.

you would either go the way of polling or have a comet service installed which
could update asynchronously. in wicket-stuff is a project called
'wicketstuff-push' which you could consult/use.

best regards, --- jan.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Update page asynchronus through the server

Posted by Stefan Lindner <li...@visionet.de>.
Does Wicket provide any mechanism or can anyboldy helb me with a
suggestion for the following problem:

I need to update a page by a server component. Assume you have a list of
item in a table and some other application produces a new row in the
database. How can I inform the client of this update and tell the client
to reload it's table?

Of course, I can use a Ajax self updating Timer behavior that polls the
server but that ist not what I dream of. Any hints? I remember a mailing
som moths ago concerning this case but I did not find a sufficent search
prhase for nabble.

Stefan Lindner

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: File download and page refresh

Posted by Federico Fanton <ff...@ibc.it>.
On Thu, 18 Oct 2007 10:04:17 -0700
"Igor Vaynberg" <ig...@gmail.com> wrote:

> you can redirect to a page that has a meta refresh pointing to a file...

I'll try that, thanks! :)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: File download and page refresh

Posted by Igor Vaynberg <ig...@gmail.com>.
you can redirect to a page that has a meta refresh pointing to a file...

-igor

On 10/18/07, Federico Fanton <ff...@ibc.it> wrote:
> Hi everyone!
> Is it possible to build a form button which triggers a download *and* a page refresh?
> Many thanks for your time!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org