Re: how to fire a change event on a textBox?
Thanks Thomas. On Wed, Dec 9, 2009 at 9:05 PM, Thomas Broyer t.bro...@gmail.com wrote: On Dec 9, 5:56 am, Karan Sardana karansard...@gmail.com wrote: I'd like to manually fire a change event on a text box, and let the change handlers tap that event to do the needful. I tried using fireEvent(GwtEvent ? event) with no luck. We can't instantiate changeEvent, so how could I fire a change event ??? DomEvent.fireNativeEvent(Document.get().createChangeEvent(), myTextBox); or you could use the ValueChange event instead, which you can fire programmatically using ValueChangeEvent.fire(...) -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@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.
how to fire a change event on a textBox?
I'd like to manually fire a change event on a text box, and let the change handlers tap that event to do the needful. I tried using fireEvent(GwtEvent ? event) with no luck. We can't instantiate changeEvent, so how could I fire a change event ??? -- 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-tool...@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.
Creating a wizard - Series of steps with GWT
Scenario is - The user needs to enter and submit a lot of information, the mechanism to collect such information is often organized into many screens with next/previous/finish buttons. Is there any way in which I can create this with GWT? Thanks, Karan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Creating a wizard - Series of steps with GWT
how can I do that? On Wed, Sep 16, 2009 at 12:45 PM, Isaac Truett itru...@gmail.com wrote: Yes. On Tue, Sep 15, 2009 at 10:31 PM, Karan Sardana karansard...@gmail.com wrote: Scenario is - The user needs to enter and submit a lot of information, the mechanism to collect such information is often organized into many screens with next/previous/finish buttons. Is there any way in which I can create this with GWT? Thanks, Karan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Creating a wizard - Series of steps with GWT
Let me add something to this - We would need the screens to interact with each other i.e. pass on data back forth; so, essentially, we could say, each of the screens would have the complete data access. On Sep 16, 12:53 pm, karan sardana karansard...@gmail.com wrote: how can I do that? On Wed, Sep 16, 2009 at 12:45 PM, Isaac Truett itru...@gmail.com wrote: Yes. On Tue, Sep 15, 2009 at 10:31 PM, Karan Sardana karansard...@gmail.com wrote: Scenario is - The user needs to enter and submit a lot of information, the mechanism to collect such information is often organized into many screens with next/previous/finish buttons. Is there any way in which I can create this with GWT? Thanks, Karan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Creating a wizard - Series of steps with GWT
Good idea, but I need to create a kind of framework, so that, it could be used independently of the number/complexity of screens/panels. Screens should be able to gain access to all the data without having to bother about all the other screens. On Wed, Sep 16, 2009 at 2:07 PM, Zak zakn...@gmail.com wrote: You could make one panel that contained all the screens as hidden panels, and just show the correct one based on the button the user pushed (next/prev). On Sep 15, 11:31 pm, Karan Sardana karansard...@gmail.com wrote: Let me add something to this - We would need the screens to interact with each other i.e. pass on data back forth; so, essentially, we could say, each of the screens would have the complete data access. On Sep 16, 12:53 pm, karan sardana karansard...@gmail.com wrote: how can I do that? On Wed, Sep 16, 2009 at 12:45 PM, Isaac Truett itru...@gmail.com wrote: Yes. On Tue, Sep 15, 2009 at 10:31 PM, Karan Sardana karansard...@gmail.com wrote: Scenario is - The user needs to enter and submit a lot of information, the mechanism to collect such information is often organized into many screens with next/previous/finish buttons. Is there any way in which I can create this with GWT? Thanks, Karan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
How can I get GWT 2.0
I am using a commercial library - EXT GWT 2.0, and for that I need GWT 2.0; where can I get that from? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Facing issues with RPC - while upgrading GWT from 1.5 to 1.7
Hi Sumit, Seems like our code is not able to fetch the Serialization policy. This is how it looks like - This is how doGetSerializationPolicy() iin RemoteServiceServlet looks like - rotected SerializationPolicy doGetSerializationPolicy( HttpServletRequest request, String moduleBaseURL, String strongName) { // The request can tell you the path of the web app relative to the // container root. String contextPath = request.getContextPath(); String modulePath = null; if (moduleBaseURL != null) { try { modulePath = new URL(moduleBaseURL).getPath(); } catch (MalformedURLException ex) { // log the information, we will default log(Malformed moduleBaseURL: + moduleBaseURL, ex); } } SerializationPolicy serializationPolicy = null; /* * Check that the module path must be in the same web app as the servlet * itself. If you need to implement a scheme different than this, override * this method. */ if (modulePath == null || !modulePath.startsWith(contextPath)) { String message = ERROR: The module path requested, + modulePath + , is not in the same web application as this servlet, + contextPath + . Your module may not be properly configured or your client and server code maybe out of date.; log(message, null); } else { // Strip off the context path from the module base URL. It should be a // strict prefix. String contextRelativePath = modulePath.substring(contextPath.length()); String serializationPolicyFilePath = SerializationPolicyLoader.getSerializationPolicyFileName(contextRelativePath + strongName); // Open the RPC resource file read its contents. * InputStream is = getServletContext().getResourceAsStream( serializationPolicyFilePath);* this is where the code breaks - 'is' comes out as NULL, however, it shouldn't have happened As module is in in the same web app as the servlet itself. try { if (is != null) { try { serializationPolicy = SerializationPolicyLoader.loadFromStream(is, null); } catch (ParseException e) { log(ERROR: Failed to parse the policy file ' + serializationPolicyFilePath + ', e); } catch (IOException e) { log(ERROR: Could not read the policy file ' + serializationPolicyFilePath + ', e); } } else { String message = ERROR: The serialization policy file ' + serializationPolicyFilePath + ' was not found; did you forget to include it in this deployment?; log(message, null); - this causes the log method to blow up; null causes a NULLpointerException } } finally { if (is != null) { try { is.close(); } catch (IOException e) { // Ignore this error } } } } return serializationPolicy; } * Way around this was to override the method in our local Class; we did that, and have got it working. Though I would liek to know the exact problem...would appreciate if you could help. thanks, Karan On Fri, Aug 21, 2009 at 9:13 AM, Sumit Chandel sumitchan...@google.comwrote: Hi Karan, How are the GWT RPC calls no longer working? Are you receiving any error messages or exceptions when the RPC calls are made? Did you remember to update the gwt-servlet.jar for your deployed application on the server-side? Regards, -Sumit Chandel On Tue, Aug 18, 2009 at 1:34 AM, Karan Sardana karansard...@gmail.comwrote: Hi, We have upgraded GWT 1.5 to 1.7, and have gotten everything to get compiled properly. However, we didn't create a war file as we are not running pur application in the hosted mode; so we did away with that. Moreover, neither did we rename the module as we didn't think renaming would make any difference, and the reason we didn't do any renaming as it would have affected all our existing pages. What we actually did is- 1.) Included the latest jars i.e. replaced the old ones with the new ones. 2.) Used Compiler instead of GWTCompiler Issue - None of the callbacks seem to be working i.e. RPC - Asynchronous callbacks I would appreciate if I could get any help out of this. Thanks, Karan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Facing issues with RPC - while upgrading GWT from 1.5 to 1.7
Hi, We have upgraded GWT 1.5 to 1.7, and have gotten everything to get compiled properly. However, we didn't create a war file as we are not running pur application in the hosted mode; so we did away with that. Moreover, neither did we rename the module as we didn't think renaming would make any difference, and the reason we didn't do any renaming as it would have affected all our existing pages. What we actually did is- 1.) Included the latest jars i.e. replaced the old ones with the new ones. 2.) Used Compiler instead of GWTCompiler Issue - None of the callbacks seem to be working i.e. RPC - Asynchronous callbacks I would appreciate if I could get any help out of this. Thanks, Karan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---