I hava a JSNI method within Class A:
----------------------------------------------
private static native Boolean checkDup(String id, int index)/*-{
        ..
}-*/;
----------------------------------------------

when I call this method in another method in the same Class(Class A):
----------------------------------------------
if(this.UserSelector.checkDup(Ljava/lang/String;I)Z(id, index)== true)
                        ....
}
----------------------------------------------

I got an error message:

[ERROR] file:/D:/workspace/gwt-windows-1.5.3/samples/C3CRM-Statistic/
src/com/tsolution/c3crm/client/UserSelector.java(108, 49): missing )
after argument list
com.google.gwt.dev.js.JsParserException: missing ) after argument list
------------------------------------------------------

So,Can anybody tell me how to set signature here?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to