Isnt the wicket jar and extentions jar loaded by 2 classloaders at your place?
Because then this kind of stuff can happen because somehow it things
that those classes/packages are really diferent.



On 1/8/08, Per Ejeklint <[EMAIL PROTECTED]> wrote:
>
> A quick solution is to copy AjaxEditableLabel and add
>
>       @Override
>       protected void onModelChanged() {
>               super.onModelChanged();
>       }
>
>       @Override
>       protected void onModelChanging() {
>               super.onModelChanging();
>       }
>
> to it. It seems some JREs thinks that an anonymous classes should not have
> access to enclosing class' inherited protected methods.
>
> /Per
>
>
> Frank Bille-2 wrote:
> >
> > It's a known issue[0]. It will be fixed in 1.3.1.
> >
> > Frank
> >
> > [0]: https://issues.apache.org/jira/browse/WICKET-1239
> >
> > On Jan 7, 2008 9:40 PM, givp <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Hello,
> >>
> >> I'm having some problems with AjaxEditableLabel that seem to happen in
> >> Wicket 1.3.0 only. When I roll back to rc1, everything works fine. I have
> >> used the example code from:
> >> http://www.wicket-library.com/wicket-examples/ajax/editable-label.1
> >>
> >> setModel(new CompoundPropertyModel(this));
> >> add(new AjaxEditableLabel("userStatus"));
> >>
> >> I can edit the field but it fails to save. According to Tomcat it's
> >> "setModel" that is causing the errors.
> >>
> >> java.lang.IllegalAccessError: tried to access method
> >> org.apache.wicket.Component.onModelChanging()V from class
> >> org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1
> >>
> >> Can anyone please point me to the right direction as to how I can fix
> >> this
> >> without having to use rc1?
> >>
> >> Thanks,
> >> g
> >> --
> >> View this message in context:
> >> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14675483.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14687720.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to