you should use a different link - when the user clicks a file you
should remove the item first, and then use a redirect to send the user
to the url that will start downloading the file.
-igor
On Mon, May 25, 2009 at 7:54 AM, Humberto N. Castejon Martinez
humca...@gmail.com wrote:
Hi!
I have a web page that shows a list of items, each of them with an
associated link (a ResourceLink) to download a file. I would like the web
page to be refreshed once a file has been downloaded (I want the associted
item to be removed from the list). I tried overriding the onClick() method
of my ResourceLink and setting the response page to the current page, but
then the html file of the web page is downloaded and not the original file.
Is there a way to achieve what I want? Thanks!
Cheers,
Humberto
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org