Oops, I posted this to wrong place.

Sorry about the noise.

On Mar 31, 6:51 pm, Ed <ej19...@gmail.com> wrote:
> HI
>
> I am a newbie to JSNI.  Any help on how to implement this would be 
> appreciated.
>
> I am just trying to notify client of save operation in progress.
>
> All of the in put is coming from an
>
> The html containing the onClick is loaded in
>
> private static Frame via a url set.
>
> JAVA in CLIENT
> ------------------------
>
> --SaveButton.java--
>
> package com.CO.client;
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.user.client.Window;
>
> public class SaveButton implements EntryPoint {
>
>     public static void saveButtonAction()
>         {
>          Window.alert("saving");
>         }
>     public static native void exportStaticMethod() /*-{
>     $wnd.saveButton =
>     @com.CO.client.SaveButton::saveButtonAction();
>     }-*/;
>     @Override
>     public void onModuleLoad() {
>         // TODO Auto-generated method stub
>         exportStaticMethod();
>
>     }
>
> HTML in IFRAME
> --------------------------
> --used for every save operation--
> <input type= "submit" value="Save with on click" onclick="saveButton()">
>
> Ed Lang

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