Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13768

Re: JSObject.call(method, ARGS) with Safari

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe03.iad.POSTED!83aa503d!not-for-mail
From Daniel Pitts <newsgroup.nospam@virtualinfinity.net>
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: JSObject.call(method, ARGS) with Safari
References <jmu16i$ij2$1@speranza.aioe.org>
In-Reply-To <jmu16i$ij2$1@speranza.aioe.org>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Lines 23
Message-ID <YOGkr.11325$DB1.340@newsfe03.iad> (permalink)
X-Complaints-To abuse@newsrazor.net
NNTP-Posting-Date Sat, 21 Apr 2012 22:48:24 UTC
Date Sat, 21 Apr 2012 15:48:23 -0700
X-Received-Bytes 1503
Xref csiph.com comp.lang.java.programmer:13768

Show key headers only | View raw


On 4/21/12 3:12 AM, Richard Maher wrote:
> 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
Not sure if this helps, but in the past I've had to do some hacky 
work-arounds to work with JSObject.

Check out: 
<http://virtualinfinity.net/wordpress/tools/2008/10/11/javascript-and-java-applets/>


Hope this helps,
Daniel.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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