wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: AjaxButton abstract
Date Sat, 20 Jun 2015 09:47:14 GMT
Hi Ernesto,

I guess the reason is to make you override at least one of #onSubmit(),
#onAfterSubmit() and/or #onError().
Not every app needs to implement all of these methods, but every
application needs at least one of them.

This is how I explain this to me.

Martin Grigorov
Freelancer. Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sat, Jun 20, 2015 at 8:47 AM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Saturday mornings.... :-( What's the reasoning behind
>
>
> https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java
>
> being abstract? It does not forces you to override any methods :-)
>
>  form.add(new AjaxButton("save") {
>
>
>     })
>
>
> On Sat, Jun 20, 2015 at 7:45 AM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Hi,
> >
> > What the reasoning behind
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> >
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message