Hi,

we should change all methods in 9.x

For 8.x we can make it work with overloaded methods, while deprecating the current ones.

Have fun
Sven


Am 03.04.19 um 19:03 schrieb Maxim Solodovnik:
Hello All,

I would like to change signature of 2 methods of AjaxDownloadBehavior:

-       public void initiate(AjaxRequestTarget target)
+       public void initiate(IPartialPageRequestHandler handler)

-       protected void onBeforeDownload(AjaxRequestTarget target)
+       protected void onBeforeDownload(IPartialPageRequestHandler target)

This change looks correct and will allow to initiate download by
websocket message

Unfortunately this would be API break :(

Are there elegant options to bypass this limitation?

Reply via email to