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 <[EMAIL PROTECTED]> 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 <[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-tp14675483p15540737.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]
> 
> 
> 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to