On 14 Feb, 23:19, Jim Douglas <[email protected]> wrote:

> $entry([email protected]::doCut());
Hi,
I'm a bit nood but I have the impression that the problem could be
related to the function argument, my proposal, not tested:

$entry([email protected]::doCut(D));

I don't know the reason but I have found this example
http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html
about functions with empty arguments:

// Set up the JS-callable signature as a global JS function.
  private native void publish() /*-{
    $wnd.formatAsCurrency =
 
@org.example.yourcode.format.client.DateFormatterLib::formatAsCurrency(D);
  }-*/;

it lacks $entry , but I don't think this is an issue.
I have the impression that sometimes gwt documentation in a bit
ambiguous about syntax and left too much to the user intuition.
In the main documentation there is no an example about functions with
no arguments.
Regards

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