java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
- Subject: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
- From: Alexis Tual <email@hidden>
- Date: Tue, 29 Sep 2009 18:07:47 +0200
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