Accessing a Java method from external javascript

2008-12-16 Thread Jag
I want to call a Java method from my javascript in a GWT application. Here i have a js method in an external javascript file as below Test.js function callJavaMethod(){ } I have a method in my java file as below, JNITest.java public class JNITest{ public void foo(String strTest){ ///oper

Using HTTPRequest.asyncPost ()

2008-12-23 Thread Jag
Hi, I am using asyncGET () to send requests to my server and i am handling the responses. But in one of my case the length of the request url is very huge so i need to send that request through asyncPost(). How can use this asyncPost() to send post requests? How to build the postdata of asy

Problem with FormPanel.submit()

2008-12-25 Thread Jag
Hi, Am using FormPanel to submit a request to the server. In Response the servlet returns me a Data. I am handling the same in my onSubmitComplete of FormHandler. But the onsubmitcomplete event gets calledseveral times even on only one response i sent from the servlet. Can anyone help me

Re: Using HTTPRequest.asyncPost ()

2008-12-25 Thread Jag
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 Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web

How to wait until the response from the server?

2009-01-07 Thread Jag
Hi, I am using GWT forms to do file uploads. In one of my cases i want to validate the name given in the Textbox of the form. To validate the name i have to request the server for the names available already. To validate this inside the FormHandlers OnSubmit method i request the server an

Removing objects

2009-01-19 Thread Jag
Hi all, I am using Activex objects to view certain type of files in my application. I have added those objects through HTML widget. So whenever i unload the object from the panel i remove the object from DOM using DOM.removeChild(parent, object). But before the object get removed the proc