Help with JavaScriptObject casting issue in Prod Mode.
I am working with a wrapper around the FB JS libs, which is actually running on a iPhone / PhoneGap that is calling the native FB Libs.. I have the following wrapper function that will log me out of FB and call the success function on return public static native void logout (AsyncCallbackJavaScriptObject callback) /*-{ $wnd.FB.logout(function(response){ @com.gwtfb.client.core.FBCore::callbackSuccess(Lcom/google/gwt/user/client/rpc/AsyncCallback;Lcom/google/gwt/core/client/JavaScriptObject;)(callback,response); }); }-*/; The response method is defined below. During execution, the logout function just returns the String OK. From the diagnostics in the method below, obj is of class * java.lang.String* and the callback signature is *protected class LoginStatusCallback implements AsyncCallbackJavaScriptObject * callback.onSuccess (obj); fails with a Class Cast Exception when running in Prod Mode, The try / catch around callback.onSuccess (obj) does get caught and it successfully calls the callback with null as a parameter. it just seems off that the obj correctly identifies itself as an instance of JavaScriptObject but fails on the call.. It works fine hosted mode.. Thank You John Gentilin protected static void callbackSuccess(AsyncCallbackJavaScriptObject callback, JavaScriptObject obj) { m_Log.info(FB call response + obj.toString()); if (obj instanceof JavaScriptObject ) { m_Log.info(obj.getClass().getName()); if(callback != null) { try { m_Log.info(callback.getClass().getName()); callback.onSuccess (obj); } catch(Exception e) { m_Log.info(Exception in callback, calling success with null); callback.onSuccess(null); } } } else { m_Log.info(Other than JavaScript Object returned on callback +obj.getClass().getName()); } } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/T_U-9Av-vBgJ. 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: GWT Designer + MGWT library = Runtime exception
Konstantin, Has this version of truck been made available for the Eclipse updates ? I just upgraded to the latest and the problem still exists. Thank You John Gentilin On Thursday, February 16, 2012 6:35:47 AM UTC-8, Konstantin Scheglov wrote: Fixed in GWT Designer trunk. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FYPY2fMI0kIJ. 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: Multiple Entry Points GWT Designer, how to choose..
I have been using this mechanism and it works great.. but i was thinking later that it would be so much better if we could specify the EntryPoint to use in the ui.xml file, that way there is no need to switch... i.e. ui:EntryPoint path=com.package.EntryPoint.gwt.xml/ -John G On Oct 24, 11:24 am, Eric Clayberg (Google) clayb...@google.com wrote: It should be available in the latest GWT Designer build. Heres how to use it... 1. Create a GWT project with a GWT module, moduleA.gwt.xml file. 2. Create a second GWT module, moduleB.gwt.xml in the same folder. 3. If you want to make sure that GWT Designer uses moduleB.gwt.xml, add the following comment to that file: !-- gwtd.module.use -- -- 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: Multiple Entry Points GWT Designer, how to choose..
Konstantin, When you say this is in trunk, is it in the release version.. I've search around but haven't found any reference to gwtd.module.use. To get by I have been renaming the entry points I am not using to .txt, would be nice to take advantage of the gwtd.module.use feature if it exists today.. If it is in the release product, can you point me to docs on how to utilize it.. Thank you John Gentilin On Oct 12, 6:13 am, Konstantin Scheglov scheg...@google.com wrote: Yes, there is no need for a ticket. -- 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: Multiple Entry Points GWT Designer, how to choose..
Are you saying there is no need for a ticket now ?? Are GPE issues added to the GWT project or do they have their own ? ie. http://code.google.com/p/google-web-toolkit/ Thanks John Gentilin On Oct 11, 6:13 am, Konstantin Scheglov scheg...@google.com wrote: Support gwtd.module.use marker to choose single module was added to GWTD trunk. -- 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: Custom UIBinder Widget, problem expecting only widgets
What I am trying to do is set up a blank UL container I can fill from my control code.. ie. below, where UnorderedList is a Java class that I used the source from HTMLPanel as a starting point.. ?xml version=1.0 encoding=UTF-8? ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' xmlns:MyWidget='urn:import:com.mypackage.ui' g:HTMLPanel MyWidget:UnorderedList ui:field=galleryContainer/ /g:HTMLPanel /ui:UiBinder The above works fine, and I can access the galleryContainer object as a UIField in my control code.. but if I want to add some static list elements, mostly to see how they look in GWTDesigner, it fails.. i.e. ?xml version=1.0 encoding=UTF-8? ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' xmlns:MyWidget='urn:import:com.mypackage.ui' g:HTMLPanel MyWidget:UnorderedList ui:field=galleryContainer liimg href=somepic.jpg//li /MyWidget:UnorderedList /g:HTMLPanel /ui:UiBinder When I go to open GWTDesigner, it fails initialization saying the element MyWidget:UnorderedList is only expecting Widgets. I pulled in the source for HTMLPanel into my UnorderedList class in its entirety and only modified it to produce UL elements instead of Div elements. Not sure what's going on here, I get the feeling that there is some description file somewhere telling which UI elements are allowed to contain HTML vs Widgets somewhere since the code is the same as HTMLPanel. -John Gentilin On 10/10/11 12:14 AM, Sudhakar Abraham wrote: There are two ways to add html tag inside the HTMLPanel. You can add Unorder List / ListItem (UL/LI) directly to HTMLPanel, or using HTML class inside the HTMLPanel. Try the below code. //.xml file ?xml version=1.0 encoding=UTF-8? ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' g:DockLayoutPanel unit='EM' g:west size='10' g:HTMLPanel g:HTML ul liListItem/li liListItem1/li liListItem2/li /ul /g:HTML /g:HTMLPanel /g:west /g:DockLayoutPanel /ui:UiBinder //.java public class HtmlTest extends Composite { interface Binder extends UiBinderWidget, HtmlTest{} Binder binder = GWT.create(Binder.class); public HtmlTest() { initWidget(binder.createAndBindUi(this)); } } S. Abraham www.DataStoreGwt.com Persist objects directly in GAE -- 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.
Multiple Entry Points GWT Designer, how to choose..
After much thought I decided that the best way to accomplish what I am trying to do was to use multiple Entry Points.. One down side is that it seems that GWT Designer will pick up the first one it sees in the directory.. Is there a way to tell GWT Designer which is the current Entry Point to use ? Thank You John Gentilin -- 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.
Custom UIBinder Widget, problem expecting only widgets
I am trying to create a custom to use in my UIBinder templates, UL/LI elements are curiously missing.. I used HTMLPanel as a template where I copied the class source to my project. The object itself works fine, but as soon as I try to include HTML code in the element, the UIBinder parser complains saying that my UL widget is only expecting Widgets, but the HTMLPanel can include both HTML and Widgets.. What am I doing wrong ? Thanks -John G -- 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: GPE 3.6, breaks again for UIBinder files
The beta version works for the GWT Designer / Project class path problem.. While not a bug/problem, the WindowBuilder Editor still seems to be ignoring the Preferences / WindowBuilder / GWT / Installation Directory setting I found this while trying to diagnose the other problem, no matter what I set it to, it always loads the GWT from the Plugin Bundle.. I am inferring this based on the log messages and that I can change it to a bogus value and it has no ill effect.. It would be nice if we could be able to download previous versions... Last week I was in a bit of a panic, after I upgraded it broke and I had no way to get back to a workable state. Thank you for the quick turn around -John Gentilin On May 16, 7:14 am, Eric Clayberg clayb...@google.com wrote: Give the latest GWT Designer build a try and let us know if it helps... http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html On May 14, 6:23 am, JohnGentilingent...@gmail.com wrote: I found a workaround... I went in my Workspace directory and created a soft link to my project directory.. seems to satisfy GWT Designer. -JG On May 14, 3:06 am, JohnGentilingent...@gmail.com wrote: I found a clue... If I create a project inside my workspace, then the designer works just fine.. All my projects exist outside my workspace.. If you look at the error log, Unexpected entry in classpath; /Users/gentijo/Eclipse/Gentijo/ SampleGWT/src is neither a directory nor an archive (.jar or .zip) /Users/gentijo/Eclipse/Gentijois my workspace path SampleGWT/src is the relative offset of my source code in my project dir.. Also I noticed something else, I was trying to see if it was a GWT error so I downloaded different versions of GWT and installed them outside of my Eclipse directory.. The in the Window Builder GWT preferences, I set the path to GWT installation directory to specific versions of GWT.. I was expecting the .gwt-log to reflect the changes I made, but for the session that runs when the designer is loading, I still see it loading classes from the plugin bundle i.e. Loading inherited module 'com.google.gwt.storage.Storage' Module location: jar:file:/Java/eclipse-helios/plugins/ com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt- user.jar!/com/google/gwt/storage/Storage.gwt.xml -John G On May 14, 2:29 am, JohnGentilingent...@gmail.com wrote: I create a sample GWT project (greeter service) then created a UIBinder class and loading the ui.xml in the GWT designer still failed.. The UIBinder is just the default content that you get with the wizard.. I am wondering if this is an issue because I wiped my Eclipse config and reinstalled.. Maybe I am missing a legacy file that was left around from a previous version. I don't think this is a GWT error because my App compiles and runs just fine all my UIBinder widgets render correctly, this is a problem only when I try to go to design mode with the WindowBuilder Editor.. I updated the ticket, and attached my sample project (sans the lib files for size) plus the latest crash dump.. I also provide a link to download a zipped version of my Eclipse install. -John G On May 13, 7:54 pm, Eric Clayberg clayb...@google.com wrote: Are you able to create a new GWT project and a new UiBinder file? IOW, is this problem limited to the UiBinder files in your project or to any UiBinder files you edit (including brand new, simple ones created with the GPE wizard)? I have been using 2.3.1 for a couple of days now under both Windows and OSX and have not run into any problems editing UiBinder files. I just tried a fresh install of 2.3.1 under both Windows and OSX and tried it with a large number fo sample UiBinder files without any issues. We took a look at the bug report you submitted and the log contains several suspicious errors. Note that any error message you see that starts with [ERROR] is a being passed through from GWT itself. If there are problems with the project at the basic GWT level, GWT Designer will not be able to edit its contents. At this point, it would be useful to see an entire test case project that reproduces this (just append it to the bug report case you opened). On May 12, 8:39 pm, JohnGentilingent...@gmail.com wrote: I went one step further and deleted both my Eclipse Workspace dirs then reinstalled with no luck.. @cri, I think I had the same problem as you when I first upgraded to 2.3, but my brute force reinstall of eclipse fixed it. This problem only came in with the latest 5/9 release. What GPE version do you have, I have 2.3.1.r36v201105092302 This may be a Mac only issue since there is a different issue if I allow
Re: GPE 3.6, breaks again for UIBinder files
I create a sample GWT project (greeter service) then created a UIBinder class and loading the ui.xml in the GWT designer still failed.. The UIBinder is just the default content that you get with the wizard.. I am wondering if this is an issue because I wiped my Eclipse config and reinstalled.. Maybe I am missing a legacy file that was left around from a previous version. I don't think this is a GWT error because my App compiles and runs just fine all my UIBinder widgets render correctly, this is a problem only when I try to go to design mode with the WindowBuilder Editor.. I updated the ticket, and attached my sample project (sans the lib files for size) plus the latest crash dump.. I also provide a link to download a zipped version of my Eclipse install. -John G On May 13, 7:54 pm, Eric Clayberg clayb...@google.com wrote: Are you able to create a new GWT project and a new UiBinder file? IOW, is this problem limited to the UiBinder files in your project or to any UiBinder files you edit (including brand new, simple ones created with the GPE wizard)? I have been using 2.3.1 for a couple of days now under both Windows and OSX and have not run into any problems editing UiBinder files. I just tried a fresh install of 2.3.1 under both Windows and OSX and tried it with a large number fo sample UiBinder files without any issues. We took a look at the bug report you submitted and the log contains several suspicious errors. Note that any error message you see that starts with [ERROR] is a being passed through from GWT itself. If there are problems with the project at the basic GWT level, GWT Designer will not be able to edit its contents. At this point, it would be useful to see an entire test case project that reproduces this (just append it to the bug report case you opened). On May 12, 8:39 pm, John Gentilin gent...@gmail.com wrote: I went one step further and deleted both my Eclipse Workspace dirs then reinstalled with no luck.. @cri, I think I had the same problem as you when I first upgraded to 2.3, but my brute force reinstall of eclipse fixed it. This problem only came in with the latest 5/9 release. What GPE version do you have, I have 2.3.1.r36v201105092302 This may be a Mac only issue since there is a different issue if I allow my Mac to upgrade to the latest JVM.. Is there a link where we can download previous releases, this was working fine with the 2.3.0.r36V201104261928 version. -John G On May 12, 10:00 am, cri chuck.irvine...@gmail.com wrote: This sounds very similar to a problem that I was having getting GWT Designer to come up. Try deleting the Google plugins then do a search of your workspace .plugins directory for any file having google in its filename. If you find any delete them. Then re-install the google plugins and try again. Hope this works for you. It did for me. On May 12, 9:47 am, mats mats.kren...@googlemail.com wrote: On 12 Mai, 04:57, John Gentilin gent...@gmail.com wrote: Seems that while initializing GWT Development Mode, it has a problem finding my entry point class.. It's there right where it thinks it should be.. I have the same problem while initializing GWT Designer. Building from Ant buildfile works fine. Deinstalling GPE and GWT Designer, deleting the proper directories in the .plugin folder of my workspace and reinstalling GPE + GWT Designer didn't work. Did anyone has the same issues and eventually solved this? Greetings from Berlin, Mats -- 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: GPE 3.6, breaks again for UIBinder files
I found a clue... If I create a project inside my workspace, then the designer works just fine.. All my projects exist outside my workspace.. If you look at the error log, Unexpected entry in classpath; /Users/gentijo/Eclipse/Gentijo/ SampleGWT/src is neither a directory nor an archive (.jar or .zip) /Users/gentijo/Eclipse/Gentijo is my workspace path SampleGWT/src is the relative offset of my source code in my project dir.. Also I noticed something else, I was trying to see if it was a GWT error so I downloaded different versions of GWT and installed them outside of my Eclipse directory.. The in the Window Builder GWT preferences, I set the path to GWT installation directory to specific versions of GWT.. I was expecting the .gwt-log to reflect the changes I made, but for the session that runs when the designer is loading, I still see it loading classes from the plugin bundle i.e. Loading inherited module 'com.google.gwt.storage.Storage' Module location: jar:file:/Java/eclipse-helios/plugins/ com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt- user.jar!/com/google/gwt/storage/Storage.gwt.xml -John G On May 14, 2:29 am, John Gentilin gent...@gmail.com wrote: I create a sample GWT project (greeter service) then created a UIBinder class and loading the ui.xml in the GWT designer still failed.. The UIBinder is just the default content that you get with the wizard.. I am wondering if this is an issue because I wiped my Eclipse config and reinstalled.. Maybe I am missing a legacy file that was left around from a previous version. I don't think this is a GWT error because my App compiles and runs just fine all my UIBinder widgets render correctly, this is a problem only when I try to go to design mode with the WindowBuilder Editor.. I updated the ticket, and attached my sample project (sans the lib files for size) plus the latest crash dump.. I also provide a link to download a zipped version of my Eclipse install. -John G On May 13, 7:54 pm, Eric Clayberg clayb...@google.com wrote: Are you able to create a new GWT project and a new UiBinder file? IOW, is this problem limited to the UiBinder files in your project or to any UiBinder files you edit (including brand new, simple ones created with the GPE wizard)? I have been using 2.3.1 for a couple of days now under both Windows and OSX and have not run into any problems editing UiBinder files. I just tried a fresh install of 2.3.1 under both Windows and OSX and tried it with a large number fo sample UiBinder files without any issues. We took a look at the bug report you submitted and the log contains several suspicious errors. Note that any error message you see that starts with [ERROR] is a being passed through from GWT itself. If there are problems with the project at the basic GWT level, GWT Designer will not be able to edit its contents. At this point, it would be useful to see an entire test case project that reproduces this (just append it to the bug report case you opened). On May 12, 8:39 pm, John Gentilin gent...@gmail.com wrote: I went one step further and deleted both my Eclipse Workspace dirs then reinstalled with no luck.. @cri, I think I had the same problem as you when I first upgraded to 2.3, but my brute force reinstall of eclipse fixed it. This problem only came in with the latest 5/9 release. What GPE version do you have, I have 2.3.1.r36v201105092302 This may be a Mac only issue since there is a different issue if I allow my Mac to upgrade to the latest JVM.. Is there a link where we can download previous releases, this was working fine with the 2.3.0.r36V201104261928 version. -John G On May 12, 10:00 am, cri chuck.irvine...@gmail.com wrote: This sounds very similar to a problem that I was having getting GWT Designer to come up. Try deleting the Google plugins then do a search of your workspace .plugins directory for any file having google in its filename. If you find any delete them. Then re-install the google plugins and try again. Hope this works for you. It did for me. On May 12, 9:47 am, mats mats.kren...@googlemail.com wrote: On 12 Mai, 04:57, John Gentilin gent...@gmail.com wrote: Seems that while initializing GWT Development Mode, it has a problem finding my entry point class.. It's there right where it thinks it should be.. I have the same problem while initializing GWT Designer. Building from Ant buildfile works fine. Deinstalling GPE and GWT Designer, deleting the proper directories in the .plugin folder of my workspace and reinstalling GPE + GWT Designer didn't work. Did anyone has the same issues and eventually solved this? Greetings from Berlin, Mats -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post
Re: GPE 3.6, breaks again for UIBinder files
I found a workaround... I went in my Workspace directory and created a soft link to my project directory.. seems to satisfy GWT Designer. -JG On May 14, 3:06 am, John Gentilin gent...@gmail.com wrote: I found a clue... If I create a project inside my workspace, then the designer works just fine.. All my projects exist outside my workspace.. If you look at the error log, Unexpected entry in classpath; /Users/gentijo/Eclipse/Gentijo/ SampleGWT/src is neither a directory nor an archive (.jar or .zip) /Users/gentijo/Eclipse/Gentijo is my workspace path SampleGWT/src is the relative offset of my source code in my project dir.. Also I noticed something else, I was trying to see if it was a GWT error so I downloaded different versions of GWT and installed them outside of my Eclipse directory.. The in the Window Builder GWT preferences, I set the path to GWT installation directory to specific versions of GWT.. I was expecting the .gwt-log to reflect the changes I made, but for the session that runs when the designer is loading, I still see it loading classes from the plugin bundle i.e. Loading inherited module 'com.google.gwt.storage.Storage' Module location: jar:file:/Java/eclipse-helios/plugins/ com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt- user.jar!/com/google/gwt/storage/Storage.gwt.xml -John G On May 14, 2:29 am, John Gentilin gent...@gmail.com wrote: I create a sample GWT project (greeter service) then created a UIBinder class and loading the ui.xml in the GWT designer still failed.. The UIBinder is just the default content that you get with the wizard.. I am wondering if this is an issue because I wiped my Eclipse config and reinstalled.. Maybe I am missing a legacy file that was left around from a previous version. I don't think this is a GWT error because my App compiles and runs just fine all my UIBinder widgets render correctly, this is a problem only when I try to go to design mode with the WindowBuilder Editor.. I updated the ticket, and attached my sample project (sans the lib files for size) plus the latest crash dump.. I also provide a link to download a zipped version of my Eclipse install. -John G On May 13, 7:54 pm, Eric Clayberg clayb...@google.com wrote: Are you able to create a new GWT project and a new UiBinder file? IOW, is this problem limited to the UiBinder files in your project or to any UiBinder files you edit (including brand new, simple ones created with the GPE wizard)? I have been using 2.3.1 for a couple of days now under both Windows and OSX and have not run into any problems editing UiBinder files. I just tried a fresh install of 2.3.1 under both Windows and OSX and tried it with a large number fo sample UiBinder files without any issues. We took a look at the bug report you submitted and the log contains several suspicious errors. Note that any error message you see that starts with [ERROR] is a being passed through from GWT itself. If there are problems with the project at the basic GWT level, GWT Designer will not be able to edit its contents. At this point, it would be useful to see an entire test case project that reproduces this (just append it to the bug report case you opened). On May 12, 8:39 pm, John Gentilin gent...@gmail.com wrote: I went one step further and deleted both my Eclipse Workspace dirs then reinstalled with no luck.. @cri, I think I had the same problem as you when I first upgraded to 2.3, but my brute force reinstall of eclipse fixed it. This problem only came in with the latest 5/9 release. What GPE version do you have, I have 2.3.1.r36v201105092302 This may be a Mac only issue since there is a different issue if I allow my Mac to upgrade to the latest JVM.. Is there a link where we can download previous releases, this was working fine with the 2.3.0.r36V201104261928 version. -John G On May 12, 10:00 am, cri chuck.irvine...@gmail.com wrote: This sounds very similar to a problem that I was having getting GWT Designer to come up. Try deleting the Google plugins then do a search of your workspace .plugins directory for any file having google in its filename. If you find any delete them. Then re-install the google plugins and try again. Hope this works for you. It did for me. On May 12, 9:47 am, mats mats.kren...@googlemail.com wrote: On 12 Mai, 04:57, John Gentilin gent...@gmail.com wrote: Seems that while initializing GWT Development Mode, it has a problem finding my entry point class.. It's there right where it thinks it should be.. I have the same problem while initializing GWT Designer. Building from Ant buildfile works fine. Deinstalling GPE and GWT Designer, deleting the proper directories
Re: GPE 2.2 download
Hi Alex, All these URL's return the same result, Code=NoSuchKey.. An update URL to get me back to the 2.3.0.r36V201104261928 release would be greatly appreciated.. -John Gentilin On May 13, 10:16 am, Alex Humesky ahume...@google.com wrote: Note that there's also the2.2.1 release:http://commondatastorage.googleapis.com/eclipse_toolreleases/products... On May 13, 1:07 pm, Alex Humesky ahume...@google.com wrote: Sorry, that's actually the update site URL for installing directly from Eclipse. On May 13, 10:23 am, cri chuck.irvine...@gmail.com wrote: Alex, The link you specify for reverting toGPE2.2seems to be broken. When I try to go there I get: Error CodeNoSuchKey/Code MessageThe specified key does not exist./Message /Error On May 9, 3:01 pm, Alex Humesky ahume...@google.com wrote: Hi Roy,GPE2.2 can be downloaded fromhttp://commondatastorage.googleapis.com/eclipse_toolreleases/products... What problems are you having withGPE2.3? Alex,GPETeam On May 8, 10:30 am, Roy roy.smith@gmail.com wrote: Any ideas where I can download thepreviousversionof the eclipse plugin as myGPE2.3 is lying dead in the water and I have a deadline to meet :-( best regards Roy -- 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: GPE 2.2 download
Those are the problem URL's... Last week I upgraded to 2.3.0 or release 2.3.0.r36V201104261928 then this week, I saw there was an upgrade which installed 2.3.1.r36v201105092302 and now my GWT Designer is dead, it won't load a single UIBinder file. This is different than the previous incompatible version problem. I have gone as far as uninstalling Eclipse and deleting my workspace and redoing the whole thing only installing the latest GPE on Eclipse Helios SR2 SR1... The problem is complaining about my gwt.xml file and the log states that it can't load my Entry point class.. I would like to just get back to 2.3.0.r36V201104261928 so I can get some work done.. I started another thread here with more info... and a bug report with a crash dump. http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f52c06bed9340961/5bb167d5fd246807?lnk=gstq=gentijo#5bb167d5fd246807 -John G On May 13, 2:10 pm, Alex Humesky ahume...@google.com wrote: These are Eclipse update site URLs, so you have to copy one, and in Eclipse (3.6) go to Help - Install New Software... - Add... and enter the URL there. Seehttp://code.google.com/eclipse/docs/download.html for more details. On May 13, 3:53 pm, John Gentilin gent...@gmail.com wrote: Hi Alex, All these URL's return the same result, Code=NoSuchKey.. An update URL to get me back to the 2.3.0.r36V201104261928 release would be greatly appreciated.. -John Gentilin On May 13, 10:16 am, Alex Humesky ahume...@google.com wrote: Note that there's also the2.2.1 release:http://commondatastorage.googleapis.com/eclipse_toolreleases/products... On May 13, 1:07 pm, Alex Humesky ahume...@google.com wrote: Sorry, that's actually the update site URL for installing directly from Eclipse. On May 13, 10:23 am, cri chuck.irvine...@gmail.com wrote: Alex, The link you specify for reverting toGPE2.2seems to be broken. When I try to go there I get: Error CodeNoSuchKey/Code MessageThe specified key does not exist./Message /Error On May 9, 3:01 pm, Alex Humesky ahume...@google.com wrote: Hi Roy,GPE2.2 can be downloaded fromhttp://commondatastorage.googleapis.com/eclipse_toolreleases/products... What problems are you having withGPE2.3? Alex,GPETeam On May 8, 10:30 am, Roy roy.smith@gmail.com wrote: Any ideas where I can download thepreviousversionof the eclipse plugin as myGPE2.3 is lying dead in the water and I have a deadline to meet :-( best regards Roy -- 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: GPE 3.6, breaks again for UIBinder files
I went one step further and deleted both my Eclipse Workspace dirs then reinstalled with no luck.. @cri, I think I had the same problem as you when I first upgraded to 2.3, but my brute force reinstall of eclipse fixed it. This problem only came in with the latest 5/9 release. What GPE version do you have, I have 2.3.1.r36v201105092302 This may be a Mac only issue since there is a different issue if I allow my Mac to upgrade to the latest JVM.. Is there a link where we can download previous releases, this was working fine with the 2.3.0.r36V201104261928 version. -John G On May 12, 10:00 am, cri chuck.irvine...@gmail.com wrote: This sounds very similar to a problem that I was having getting GWT Designer to come up. Try deleting the Google plugins then do a search of your workspace .plugins directory for any file having google in its filename. If you find any delete them. Then re-install the google plugins and try again. Hope this works for you. It did for me. On May 12, 9:47 am, mats mats.kren...@googlemail.com wrote: On 12 Mai, 04:57, John Gentilin gent...@gmail.com wrote: Seems that while initializing GWT Development Mode, it has a problem finding my entry point class.. It's there right where it thinks it should be.. I have the same problem while initializing GWT Designer. Building from Ant buildfile works fine. Deinstalling GPE and GWT Designer, deleting the proper directories in the .plugin folder of my workspace and reinstalling GPE + GWT Designer didn't work. Did anyone has the same issues and eventually solved this? Greetings from Berlin, Mats -- 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.
GPE 3.6, breaks again for UIBinder files
I just installed the update to GPE 3.6 and it refuses to load my UIBinder files now.. This is different than the Designer 8.1.x issue, when upgrading to GWT 2.3, my entire Eclipse installation went south.. So I installed a fresh copy of Eclipse, and installed GWT 2.3 clean.. Its also a different error, instead of a heap space issue it's saying an error with GWT.xml I filed a bug and attached a crash report file there see http://code.google.com/p/google-web-toolkit/issues/detail?id=6346 This is running on a Mac with JVM 1.6.0 and Exlipse Helios Service Release 2 Build id: 20110218-0911 -John G -- 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: GPE 3.6, breaks again for UIBinder files
So I created a fresh Eclipse Install, and only installed the GPE from a URL and the Subclipse plugin.. and I still get the error.. Seems that while initializing GWT Development Mode, it has a problem finding my entry point class.. It's there right where it thinks it should be.. Is there a way to get the Update URL for the previous release ?? -John G On May 11, 4:51 pm, John Gentilin gent...@gmail.com wrote: I just installed the update to GPE 3.6 and it refuses to load my UIBinder files now.. This is different than the Designer 8.1.x issue, when upgrading to GWT 2.3, my entire Eclipse installation went south.. So I installed a fresh copy of Eclipse, and installed GWT 2.3 clean.. Its also a different error, instead of a heap space issue it's saying an error with GWT.xml I filed a bug and attached a crash report file there see http://code.google.com/p/google-web-toolkit/issues/detail?id=6346 This is running on a Mac with JVM 1.6.0 and Exlipse Helios Service Release 2 Build id: 20110218-0911 -John G -- 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: how to integrate eclipse, gwt, maven and gwt designer
I just came across this from another angle.. the problem is that WindowBuilder 8.1.1 is not compatible with GWT 2.2. I got this response below from the Window Builder support system.. Please see the GWT 2.2.0 release notes... http://code.google.com/webtoolkit/release-notes.html#Release_Notes_Current Uninstall GWT Designer 8.1.1 (which is not compatible with GWT 2.2) and use the version of GWT Designer integrated with GWT/GPE 2.2. To uninstall, go to Help About Installation Details Installed Software, select all of the GWT Designer v8.1.1 components (everything with a 8.1.1 version tag), and click Uninstall. On Mar 7, 3:32 am, tanteanni tantea...@hotmail.com wrote: at the moment i am able to generate and launch the gwt-starter app. with both webappcrator (-maven), and mvn archetype:generate ... - DarchetypeVersion=2.2.0 (main difference is the location of ..gwt.xml) both make problems (http://groups.google.com/group/codehaus-mojo-gwt- maven-plugin-users/browse_thread/thread/5529e7636b704686/,http://code.google.com/p/google-web-toolkit/issues/detail?id=5673) for both problems workarounds are available. but with neither i get gwt-designer to work. i allways get: Error loading module(s). GWT Designer can't load a module either because there is not enough heap space available for Eclipse, or some other module or internal error has occurred. The GWT log at $project_dir/.gwt/.gwt-log has the following error messages: [ERROR] Element 'property-provider' beginning on line 75 contains unexpected attribute 'generator' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML [ERROR] Line 38: Unexpected exception while processing element 'inherits' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML [ERROR] Line 4: Unexpected exception while processing element 'inherits' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML Please increase the heap size and/or check your $project_dir/.gwt/.gwt- log for any other GWT-specific errors. since i run eclipse with -Xmx1024m it shouldn't be the heap size? the error in the log-file mentioned begins with: Loading inherited module 'com.google.gwt.safehtml.SafeHtml' Module location: jar:file:/C:/Dokumente%20und%20Einstellungen/ stl1335/.m2/repository/com/google/gwt/gwt-user/2.2.0/gwt- user-2.2.0.jar!/com/google/gwt/safehtml/SafeHtml.gwt.xml Loading inherited module 'com.google.gwt.regexp.RegExp' Module 'com.google.gwt.regexp.RegExp' has already been loaded and will be skipped [ERROR] Element 'property-provider' beginning on line 75 contains unexpected attribute 'generator' [ERROR] Failure while parsing XML com.google.gwt.core.ext.UnableToCompleteException: (see project_dir/.gwt/.gwt-log for details.) at com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedAttribute(DefaultSchema.java: 68) at com.google.gwt.dev.util.xml.Schema.onUnexpectedAttribute(Schema.java: 80) at com.google.gwt.dev.util.xml.Schema.onUnexpectedAttribute(Schema.java: 80) at com.google.gwt.dev.util.xml.ReflectiveParser $Impl.startElement(ReflectiveParser.java:224) the hole trace is very long - i will add it on demand. i set in preferences-windowbuilder-gwt the path to gwt2.2 (tried path to gwt eclipse installation and path to gwt in maven repo) and set Web folder name to src/main/webapp. But these setting seem to make no difference (same errors with default settings). So how to get an eclipse/maven/gwt project with working gwt-designer? -- 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.
Help, UIBinder and mixed mode HTML
I have a UIBinder file that specifies a HTMLPanel that contains a mix of plain HTML and GWT widgets. If I don't bind any of the variables, the Widget will load correctly and display. As soon as I bind a UI field in my code including the @UIField definition, @UiField TextBox userid; then initializing the Widget fails in a NPE. Thanks for any help in advance. John Gentilin This is the exception java.lang.NullPointerException: null at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController_UIDefaultImpl.createAndBindUi(RegistrationController_UIDefaultImpl.java: 61) at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController_UIDefaultImpl.createAndBindUi(RegistrationController_UIDefaultImpl.java: 1) at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController.lt;initgt; (RegistrationController.java:37) at com.CloudTvApps.PicRollr.client.PicRollrEntryPoint.onModuleLoad(PicRollrEntryPoint.java: 32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:680) UIBinder definition !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui ui:style /ui:style g:HTMLPanel div class=regform table cellpadding=2 cellspacing=0 border=0 tr td width=130 labelUser ID:/label /td td width=140 g:TextBox maxLength=15 visibleLength=15 ui:field=userid/ /td /tr tr td labelPassword:/label /td td g:PasswordTextBox maxLength=15 visibleLength=15 ui:field=password/ /td /tr tr td labelConfirm Password:/label /td td g:PasswordTextBox maxLength=15 visibleLength=15 ui:field=password2/ /td /tr tr td labelName:/label /td td g:TextBox maxLength=15 visibleLength=15 ui:field=name/ /td /tr tr td labelE-mail:/label /td td g:TextBox maxLength=15 visibleLength=15 ui:field=email/ /td /tr tr td colspan=2 g:CheckBox text= ui:field=agree/ labelI agree with the terms of service/label /td /tr tr td colspan=2 g:Button ui:field=registerRegister/g:Button input type=reset value=Reset / /td /tr /table /div /g:HTMLPanel /ui:UiBinder -- You received this message because you
Re: Help, UIBinder and mixed mode HTML
My Java class is just the plain vanilla code when you use the wizard to create a UIBinder object, I have not added any functionality. The only changes I have done is to comment out the @UIField definitions that the WindowsBuilder editor inserted. Including any one of the 6 fields I defined results in the widget not rendering.. I am running this on GWT 2.1.1 and I also tried 2.1.0 if fails the same in both modes. -John G On 2/1/11 12:34 AM, Jan Mostert wrote: Maybe post the code that you use to bind the component, problem is most likely there. -- Jan Vladimir Mostert BEngSci Mail: j...@mycee.com mailto:j...@mycee.com MyCee Technologies On Tue, Feb 1, 2011 at 10:20 AM, John Gentilin gent...@gmail.com mailto:gent...@gmail.com wrote: I have a UIBinder file that specifies a HTMLPanel that contains a mix of plain HTML and GWT widgets. If I don't bind any of the variables, the Widget will load correctly and display. As soon as I bind a UI field in my code including the @UIField definition, @UiField TextBox userid; then initializing the Widget fails in a NPE. Thanks for any help in advance. John Gentilin This is the exception java.lang.NullPointerException: null at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController_UIDefaultImpl.createAndBindUi(RegistrationController_UIDefaultImpl.java: 61) at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController_UIDefaultImpl.createAndBindUi(RegistrationController_UIDefaultImpl.java: 1) at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController.lt;initgt; (RegistrationController.java:37) at com.CloudTvApps.PicRollr.client.PicRollrEntryPoint.onModuleLoad(PicRollrEntryPoint.java: 32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:680) UIBinder definition !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui ui:style /ui:style g:HTMLPanel div class=regform table cellpadding=2 cellspacing=0 border=0 tr td width=130 labelUser ID:/label /td td width=140 g:TextBox maxLength=15 visibleLength=15 ui:field=userid/ /td /tr tr td labelPassword:/label /td td g:PasswordTextBox maxLength=15 visibleLength=15 ui:field=password/ /td /tr tr td labelConfirm Password:/label /td td g:PasswordTextBox maxLength=15 visibleLength=15 ui:field=password2/ /td /tr tr td labelName:/label /td td g:TextBox maxLength=15 visibleLength=15 ui:field=name/ /td /tr tr td labelE-mail:/label /td td g:TextBox maxLength=15 visibleLength=15 ui:field=email/ /td /tr tr td colspan=2 g:CheckBox text= ui:field=agree/ labelI agree with the terms of service/label /td /tr tr td colspan=2 g:Button ui:field=registerRegister/g:Button input type=reset value=Reset / /td /tr /table /div /g:HTMLPanel /ui:UiBinder -- 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 mailto:google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com mailto:google-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-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. -- 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
Re: Help, UIBinder and mixed mode HTML
My bad... My java code was generic but I started with a copy of the java code + template from an exiting source which had constructor code of initWidget(uiBinder.createAndBindUi(null)); vs initWidget(uiBinder.createAndBindUi(this)); Which works till you bind something :-) -John G On 2/1/11 1:22 AM, John Gentilin wrote: My Java class is just the plain vanilla code when you use the wizard to create a UIBinder object, I have not added any functionality. The only changes I have done is to comment out the @UIField definitions that the WindowsBuilder editor inserted. Including any one of the 6 fields I defined results in the widget not rendering.. I am running this on GWT 2.1.1 and I also tried 2.1.0 if fails the same in both modes. -John G On 2/1/11 12:34 AM, Jan Mostert wrote: Maybe post the code that you use to bind the component, problem is most likely there. -- Jan Vladimir Mostert BEngSci Mail: j...@mycee.com mailto:j...@mycee.com MyCee Technologies On Tue, Feb 1, 2011 at 10:20 AM, John Gentilin gent...@gmail.com mailto:gent...@gmail.com wrote: I have a UIBinder file that specifies a HTMLPanel that contains a mix of plain HTML and GWT widgets. If I don't bind any of the variables, the Widget will load correctly and display. As soon as I bind a UI field in my code including the @UIField definition, @UiField TextBox userid; then initializing the Widget fails in a NPE. Thanks for any help in advance. John Gentilin This is the exception java.lang.NullPointerException: null at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController_UIDefaultImpl.createAndBindUi(RegistrationController_UIDefaultImpl.java: 61) at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController_UIDefaultImpl.createAndBindUi(RegistrationController_UIDefaultImpl.java: 1) at com.CloudTvApps.PicRollr.client.Modules.Registration.RegistrationController.lt;initgt; (RegistrationController.java:37) at com.CloudTvApps.PicRollr.client.PicRollrEntryPoint.onModuleLoad(PicRollrEntryPoint.java: 32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:680) UIBinder definition !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui ui:style /ui:style g:HTMLPanel div class=regform table cellpadding=2 cellspacing=0 border=0 tr td width=130 labelUser ID:/label /td td width=140 g:TextBox maxLength=15 visibleLength=15 ui:field=userid/ /td /tr tr td labelPassword:/label /td td g:PasswordTextBox maxLength=15 visibleLength=15 ui:field=password/ /td /tr tr td labelConfirm Password:/label /td td g:PasswordTextBox maxLength=15 visibleLength=15 ui:field=password2/ /td /tr tr td labelName:/label /td td g:TextBox maxLength=15 visibleLength=15 ui:field=name/ /td /tr tr td labelE-mail:/label /td td g:TextBox maxLength=15 visibleLength=15 ui:field=email/ /td /tr tr td colspan=2 g:CheckBox text= ui:field=agree/ labelI agree with the terms of service/label /td /tr tr td colspan=2 g:Button ui:field=registerRegister/g:Button input type=reset value=Reset / /td /tr /table /div /g:HTMLPanel /ui:UiBinder -- 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 mailto:google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com mailto:google-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-toolkit@googlegroups.com. To unsubscribe from this group
UIBinder, widget creation factory
Is it possible to have a UIBinder template as follows. !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui xmlns:widget='urn:import:com.widget' g:HTMLPanel widget:Factory name='MyWidget' / g:HTMLPanel /ui:UiBinder Where the class com.widget.Factory can create the the Widget MyWidget and return that as the widget injected into the HTMLPanel div ? -John Gentilin -- 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: Firefox Plugin for GWT not downloading
I am trying to update for Mac and I am also getting an error The requested URL |/gwt/plugins/firefox/1.0.9639.20110127155635/gwt-dev-plugin.xpi| was not found on this server. On 1/27/11 9:18 PM, Noor wrote: Today, i installed windows again on my laptop, as usual for the firsttime when firefox starts a gwt host page, it asks to download the plugin, but when i download the plugin, it says, Google Error Not Found The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not found on this server. Can someone help, i need to fix this asap -- 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 does UIBinder attributes map to methods / properties of the Java object ?
I am trying to determine what attributes are available for different GWT widgets and it is unclear to me how the attribute mapping exists from UIBinder to the actual Java implementation. Also how are constructors mapped. i.e. How would you specify a g:Grid to be sized to 5 x 5 from the UIBinder specification.. Right now I resize my table after calling initWidget() in my view constructor... -John Gentilin -- 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.
GWT Modules
I am trying to create a framework for a GWT app I am writing. This framework will want to implement and handle all the Service, ServiceAsync and ServiceImpl classes. The main application classes will extend the framework view class, and the application serverImpl class will extend the frameworkImpl class. I have implemented the framework as a child of my main App so it goes.. app client server shared framework client server shared and I have added framework/client and framework/shared to my source definition.. The App compiles and sort of runs, but I am having two problems.. 1) the App compiles fine, but in my main app client classes, the classes I refer to from my framework package are reported as unreachable in the editor. Source path problems... 2) when I run the app, my click event successfully invokes my client side handler, but I never get a response, actually I don't think it sends a request as my server impl. The serverImpl servlet is never loaded or goes thru init() My questions are: Given the code below does anything look out of line ? Is this the way to implement a module ? How do you debug into the RPC call to see what GWT is calling ? Thank you John Gentilin the client side handler is public void performAction( RemoteCommandProxy cmd ) { final RemoteCommandProxy _cmd = cmd; YAVCFService.performAction(_cmd.getName(), _cmd, new AsyncCallbackMapString,String() { public void onFailure(Throwable caught) { _cmd.executionCompleteFailure(caught); } public void onSuccess(MapString, String result) { _cmd.executionCompleteSuccess(result); } }); } where RemoteCommandProxy extends HashMap and represents the parameters passed to the server impl. The idea is I am invoking one servlet interface that takes as parameters a command name and a map of named value pairs as parameters. This function returns a Map of named value pairs in response. My interfaces are defined as follows @RemoteServiceRelativePath(yavcf) public interface YAVCFClient extends RemoteService { MapString, String performAction(String name, MapString, String parameters) throws IllegalArgumentException, InvalidCommandException, NoSessionException;; } public interface YAVCFClientAsync { void performAction(String name, MapString, String parameters, AsyncCallbackMapString,String callback); } and my web.xml has the following servlet mapping. servlet servlet-nameyavcfServlet/servlet-name servlet-classcom.ecs.toodlejirado.server.ToodleJiraDoServer/ servlet-class /servlet servlet-mapping servlet-nameyavcfServlet/servlet-name url-pattern/toodlejirado/yavcf/url-pattern /servlet-mapping -- 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.
Re: GWT Modules
I found my problem, my RemoteCommandProxy class which is used as a wrapper around a HashMap also defined some instance variables and it appears that GWT had a problem serializing the class. I also moved my framework code outside of the main app package and created a Module xml file for it, that is included as an Inherit in the main application module. It all works fine except for this one annoying thing when I go to compile, the module xml file shows up as an EntryPoint that I need to delete so it will successfully compile. Is there any Ignore me for an EntryPoint attribute that needs to be set ??? -John Gentilin On 11/7/10 4:22 PM, John Gentilin wrote: I am trying to create a framework for a GWT app I am writing. This framework will want to implement and handle all the Service, ServiceAsync and ServiceImpl classes. The main application classes will extend the framework view class, and the application serverImpl class will extend the frameworkImpl class. I have implemented the framework as a child of my main App so it goes.. app client server shared framework client server shared and I have added framework/client and framework/shared to my source definition.. The App compiles and sort of runs, but I am having two problems.. 1) the App compiles fine, but in my main app client classes, the classes I refer to from my framework package are reported as unreachable in the editor. Source path problems... 2) when I run the app, my click event successfully invokes my client side handler, but I never get a response, actually I don't think it sends a request as my server impl. The serverImpl servlet is never loaded or goes thru init() My questions are: Given the code below does anything look out of line ? Is this the way to implement a module ? How do you debug into the RPC call to see what GWT is calling ? Thank you John Gentilin the client side handler is public void performAction( RemoteCommandProxy cmd ) { final RemoteCommandProxy _cmd = cmd; YAVCFService.performAction(_cmd.getName(), _cmd, new AsyncCallbackMapString,String() { public void onFailure(Throwable caught) { _cmd.executionCompleteFailure(caught); } public void onSuccess(MapString, String result) { _cmd.executionCompleteSuccess(result); } }); } where RemoteCommandProxy extends HashMap and represents the parameters passed to the server impl. The idea is I am invoking one servlet interface that takes as parameters a command name and a map of named value pairs as parameters. This function returns a Map of named value pairs in response. My interfaces are defined as follows @RemoteServiceRelativePath(yavcf) public interface YAVCFClient extends RemoteService { MapString, String performAction(String name, MapString, String parameters) throws IllegalArgumentException, InvalidCommandException, NoSessionException;; } public interface YAVCFClientAsync { void performAction(String name, MapString, String parameters, AsyncCallbackMapString,String callback); } and my web.xml has the following servlet mapping. servlet servlet-nameyavcfServlet/servlet-name servlet-classcom.ecs.toodlejirado.server.ToodleJiraDoServer/ servlet-class /servlet servlet-mapping servlet-nameyavcfServlet/servlet-name url-pattern/toodlejirado/yavcf/url-pattern /servlet-mapping -- 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.