I found the way to do it. :-) I called java method which include FormPanel Objcet to submit from native method.
like this : [email protected]::formSubmit() (); <-- this placed inside of native method private void formSubmit(){ formPanel.submit(); } Hope this would help to someone like me! On Jul 30, 10:39 am, jlc488 <[email protected]> wrote: > Hello guys, > > I have a problem which I've created FormPanel using GWT and perform > some java script method before submiting the form. > > So, I defined a native method which does the some job before > submitting the form. > > document.form.submit() <-- not working > $wnd.document.form.submit() <-- not working > $wnd.document.getElementByTagName("form").submit() <-- not working > > Is there any way I can fetch this form.submit() ? > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
