Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13737
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | "Richard Maher" <maher_rj@hotspamnotmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: JSObject.call(method, ARGS) with Safari |
| Date | Sat, 21 Apr 2012 18:15:49 +0800 |
| Organization | HTTP *is* The Box - Let's think outside |
| Lines | 32 |
| Message-ID | <jmu1cm$j47$1@speranza.aioe.org> (permalink) |
| References | <jmu16i$ij2$1@speranza.aioe.org> |
| NNTP-Posting-Host | jOhPn0KFjrxwuMc9OPMmCw.user.speranza.aioe.org |
| X-Complaints-To | abuse@aioe.org |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-RFC2646 | Format=Flowed; Response |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Xref | csiph.com comp.lang.java.programmer:13737 |
Show key headers only | View raw
"Richard Maher" <maher_rj@hotspamnotmail.com> wrote in message
news:jmu16i$ij2$1@speranza.aioe.org...
> Hi.
>
> Has anyone been able to pass the ARGS parameter to JSObject's "call"
> method *and* pass arguments via the "args" parameter? An example of your
> work-around perhaps?
>
> I'm having no trouble calling methods on all sorts of complex Javascript
> objects but when it comes to passing the arguments array I keep getting
> nullpointerexception :-(
>
> Firefox, IE, Chrome, and Opera are all onboard and ok.
>
> Cheers Richard Maher
>
Don't know if this is relevant: -
JSValueRef JSObjectCallAsFunction(JSContextRef ctx, JSObjectRef object,
JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[],
JSValueRef* exception)
{
JSValueRef result = toRef(jsObject->call(exec, jsThisObject, argList));
// returns NULL if object->implementsCall() is false
. . . and if so, how one specifies "implementsCall()" as "true"
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 18:12 +0800
Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 18:15 +0800
Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 04:45 -0700
Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-21 09:57 -0300
Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 21:30 +0800
Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 13:07 -0700
Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 13:00 -0700
Re: JSObject.call(method, ARGS) with Safari Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-21 15:48 -0700
Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-22 12:46 +0800
Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-22 15:07 +0800
Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-22 21:17 -0300
Re: JSObject.call(method, ARGS) with Safari Richard Maher <maherrj@googlemail.com> - 2012-04-22 23:40 -0700
Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-23 20:40 -0300
csiph-web