Google Groups Home
Help | Sign in
correct signature for a JSNI call?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jeff Chimene  
View profile
 More options Jul 18, 9:50 pm
From: "Jeff Chimene" <jchim...@gmail.com>
Date: Fri, 18 Jul 2008 18:50:05 -0700
Local: Fri, Jul 18 2008 9:50 pm
Subject: correct signature for a JSNI call?

Hi,

Would some kind soul please correct the parameter type signature for the
call to arrayConvert?

-30-

package com.example.client;

import com.google.gwt.core.client.EntryPoint;

public class Checksheet implements EntryPoint {

   public Checksheet ChecksheetParts[] = null;

   public Checksheet() {}

   private static JavaScriptObject arrayConvert(Checksheet[] array) {
       return null;
   }

   private native void insert() /*-{
   *var ChecksheetParts = th...@com.example.client.Checksheet
::arrayConvert([com/example/client/Checksheet;)(ChecksheetParts);*
   }-*/;

    public void onModuleLoad() {
        throw new UnsupportedOperationException("Not supported yet.");
    }


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Chimene  
View profile
 More options Jul 18, 10:00 pm
From: "Jeff Chimene" <jchim...@gmail.com>
Date: Fri, 18 Jul 2008 19:00:55 -0700
Local: Fri, Jul 18 2008 10:00 pm
Subject: Re: correct signature for a JSNI call?

Less than a minute after posting, I stumbled upon the Java compiler's error
which turned out to be equivalent to a certain spelling corrector message:
"Did you mean to spell 'Mississippi?'"

That answered the question. Never mind.

-30-


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Reinier Zwitserloot  
View profile
 More options Jul 19, 12:00 am
From: Reinier Zwitserloot <reini...@gmail.com>
Date: Fri, 18 Jul 2008 21:00:28 -0700 (PDT)
Local: Sat, Jul 19 2008 12:00 am
Subject: Re: correct signature for a JSNI call?
By the way, the 'this@' is a 'bug' (though the compiler correctly
ignores it), as arrayConvert is static.

On Jul 19, 4:00 am, "Jeff Chimene" <jchim...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google