Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
- Subject: Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
- From: Alexis Tual <email@hidden>
- Date: Wed, 30 Sep 2009 14:23:29 +0200
Problem solved, i upgraded to version 5.0.0-r9933 (22 sept. 2009) and
it seems to work now... i guess version 5.0.0-9638 was bogus.
Alex
Le 29 sept. 09 à 18:07, Alexis Tual a écrit :
Hi list,
i'm using wonder 5.0.0-9638 (5.4 classifier, yes i'm mavenized),
webobjects 5.4.3 and get the following error when clicking an
AjaxSubmitButton :
java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders(Lcom/
webobjects/foundation/NSDictionary;)V
at er.ajax.AjaxUtils.createResponse(AjaxUtils.java:71)
at er.ajax.AjaxSubmitButton.handleRequest(AjaxSubmitButton.java:320)
at er.ajax.AjaxSubmitButton.invokeAction(AjaxSubmitButton.java:309)
...
The strange thing is at compile time (and decompile time i must say)
i can do this kind of thing without problems it doesn't even fail at
runtime :
AjaxResponse ajaxResp = AjaxUtils.createResponse(request, context);
WOResponse response = new WOResponse();
ajaxResp.setHeaders(response.headers());
Indeed AjaxResponse.class.getMethods() give me somewhere this method
public void
com.webobjects.appserver.WOMessage.setHeaders(java.util.Map)
I've seen the NSDictionary class is "patched" by wonder but both
this one and the "standard" wo NSDictionary class implements Map
so... i'm a bit lost.
Any ideas ?
Thanks
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden