You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Jonathan Locke <jo...@gmail.com> on 2008/02/18 07:56:08 UTC

Re: AjaxEditableLabel in 1.3.0


i'm still getting this under 1.3.1 on the mac.  maybe it's my problem
though.  can anyone verify that this works on the mac?


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 <gi...@doppelganger.com> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15539834.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: AjaxEditableLabel in 1.3.0

Posted by wch2001 <wc...@hotmail.com>.
Dear all,

How can you solve the problem?

I used wicket1.3.5, also have the problem: can not save with the error:

java.lang.IllegalAccessError: tried to access method
org.apache.wicket.Component.onModelChanging()V from class
org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1

any suggestion?

thanks a lot
-- 
View this message in context: http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p22365003.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: AjaxEditableLabel in 1.3.0

Posted by Johan Compagner <jc...@gmail.com>.
yes i see that https://issues.apache.org/jira/browse/WICKET-1239 is really
only fixed for 1.3.2

johan



On Feb 18, 2008 10:27 AM, Per Ejeklint <ej...@mac.com> wrote:

>
> Yes:
>
> java.lang.IllegalAccessError: tried to access method
> org.apache.wicket.Component.onModelChanging()V from class
> org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1
>
> Aha, I just downloaded the source for 1.3.1 and checked. The 1.3.1 release
> does NOT contain the small fix I suggested earlier, but it is present in
> trunk.
>
> And as for me getting different results on different machines, that was my
> mistake - removing a java file from Eclipse build path doesn't remove the
> already compiled class file so it was still present on one machine - on
> the
> other I built with maven and did a "clean".
>
> /Per
>
>
> Johan Compagner wrote:
> >
> > Is the error exactly the same?
> >
> > On 2/18/08, Per Ejeklint <ej...@mac.com> wrote:
> >>
> >> This is very odd, I just tested with a clean 1.3.1-based build of my
> test
> >> app. It works fine on one machine but not on the other! Same code, one
> >> running in Jetty on a MBP (does not work), one running in GlassFish on
> a
> >> Mac
> >> mini (works just fine). Same Java versions on the machines.
> >>
> >> So maybe it isn't fixed after all...
> >>
> >> /Per
> >>
> >>
> >> Jonathan Locke wrote:
> >> >
> >> >
> >> > i'm still getting this under 1.3.1 on the mac.  maybe it's my problem
> >> > though.  can anyone verify that this works on the mac?
> >> >
> >> >
> >> > 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 <gi...@doppelganger.com> 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<http://nabble.com/>
> .
> >> >>>
> >> >>>
> >> >>>
> ---------------------------------------------------------------------
> >> >>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >>> For additional commands, e-mail: users-help@wicket.apache.org
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15540737.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com<http://nabble.com/>
> .
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15541139.html
>  Sent from the Wicket - User mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: AjaxEditableLabel in 1.3.0

Posted by Per Ejeklint <ej...@mac.com>.
Yes:

java.lang.IllegalAccessError: tried to access method
org.apache.wicket.Component.onModelChanging()V from class
org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1

Aha, I just downloaded the source for 1.3.1 and checked. The 1.3.1 release
does NOT contain the small fix I suggested earlier, but it is present in
trunk.

And as for me getting different results on different machines, that was my
mistake - removing a java file from Eclipse build path doesn't remove the
already compiled class file so it was still present on one machine - on the
other I built with maven and did a "clean".

/Per


Johan Compagner wrote:
> 
> Is the error exactly the same?
> 
> On 2/18/08, Per Ejeklint <ej...@mac.com> wrote:
>>
>> This is very odd, I just tested with a clean 1.3.1-based build of my test
>> app. It works fine on one machine but not on the other! Same code, one
>> running in Jetty on a MBP (does not work), one running in GlassFish on a
>> Mac
>> mini (works just fine). Same Java versions on the machines.
>>
>> So maybe it isn't fixed after all...
>>
>> /Per
>>
>>
>> Jonathan Locke wrote:
>> >
>> >
>> > i'm still getting this under 1.3.1 on the mac.  maybe it's my problem
>> > though.  can anyone verify that this works on the mac?
>> >
>> >
>> > 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 <gi...@doppelganger.com> 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: users-unsubscribe@wicket.apache.org
>> >>> For additional commands, e-mail: users-help@wicket.apache.org
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15540737.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15541139.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: AjaxEditableLabel in 1.3.0

Posted by Johan Compagner <jc...@gmail.com>.
Is the error exactly the same?

On 2/18/08, Per Ejeklint <ej...@mac.com> wrote:
>
> This is very odd, I just tested with a clean 1.3.1-based build of my test
> app. It works fine on one machine but not on the other! Same code, one
> running in Jetty on a MBP (does not work), one running in GlassFish on a Mac
> mini (works just fine). Same Java versions on the machines.
>
> So maybe it isn't fixed after all...
>
> /Per
>
>
> Jonathan Locke wrote:
> >
> >
> > i'm still getting this under 1.3.1 on the mac.  maybe it's my problem
> > though.  can anyone verify that this works on the mac?
> >
> >
> > 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 <gi...@doppelganger.com> 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: users-unsubscribe@wicket.apache.org
> >>> For additional commands, e-mail: users-help@wicket.apache.org
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15540737.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: AjaxEditableLabel in 1.3.0

Posted by Per Ejeklint <ej...@mac.com>.
This is very odd, I just tested with a clean 1.3.1-based build of my test
app. It works fine on one machine but not on the other! Same code, one
running in Jetty on a MBP (does not work), one running in GlassFish on a Mac
mini (works just fine). Same Java versions on the machines.

So maybe it isn't fixed after all...

/Per


Jonathan Locke wrote:
> 
> 
> i'm still getting this under 1.3.1 on the mac.  maybe it's my problem
> though.  can anyone verify that this works on the mac?
> 
> 
> 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 <gi...@doppelganger.com> 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: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15540737.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org