Also, thanks for your suggestion! I'll make a note of it for my
ApacheCon presentation about Wicket 8 and Java 8 :-).

It illustrates why grafting Lambda's isn't easy.

Martijn

On Mon, Nov 14, 2016 at 10:32 PM, Rob Audenaerde
<[email protected]> wrote:
> Just a wild idea, if the AjaxSubmitLink supports chaining in the onSubmit
> (return this instead of void) , it could become:
>
> form.add(new AjaxSubmitLink
> ("opslaan").onSubmit(function).onError(function);
>
> Very readable imho.



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

Reply via email to