I've fixed the example.
Martijn
On Dec 7, 2007 8:36 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> You've run into a change in API between 1.2 and 1.3.
> public Object getObject() {
> return new Integer(counter++);
> }
>
> Should work. Thanks for finding this one!
>
> Martijn
>
> On Dec 7, 2007 7:14 AM, Thomas Vendetta < [EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I have been working on creating the AjaxCounter screencast and for the
> > most
> > part I'm doing pretty well. I'm using wicket-1.3.0-rc1 trying to follow
> > the
> > AjaxCounter example [0]. When I attempt to write the Index.java file I
> > get
> > hit with an error from this part of the code:
> >
> > public Object getObject(Component arg0) {
> > return new Integer(counter++);
> > }
> >
> > Eclipse say's: "Cannot override the final method from Model"
> >
> > I imagine that this has something to do with changes from 1.1/1.2 to 1.3
> > .
> > Should I try and fix this (if so, any tips?), and if not, should I
> > create
> > the screencast using an older version of wicket?
> >
> > Kind regards,
> > Thomas Vendetta
> >
>
>
>
> --
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-rc1 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-rc1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/