Should try:

if(this.UserSelector.checkDup(Ljava/lang/String;I;)(id, index)== true)
or
if(this.UserSelector.checkDup(Ljava/lang/String;I)(id, index)== true)


Not tested !

On Fri, Jan 30, 2009 at 4:19 PM, Alex Luya <alexander.l...@gmail.com> wrote:

>
> 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?
>
>
>
> >
>


-- 
"It is better to have a known enemy than a forced ally"
- Napoleon Bonaparte

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

Reply via email to