Hi,

 I want to do an AJAX update and then start a file download.

 I've found this solution for Wicket 1.4.x
https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html

 This is not working on Wicket 1.5 because this deprecated code:

public void onRequest()
{
        getComponent().getRequestCycle().setRequestTarget(
                new ResourceStreamRequestTarget(getResourceStream(), 
getFileName()));
}


Which is the best way to do this in 1.5 ?

Thanks!.


-- 
a10! i fins aviat.
J:-Deu

Reply via email to