Re: Eclipse Update has broken all GWT Projects?
I've seen this before. To fix it, just go to properties for the project, open the 'Google' section, then select 'Web Toolkit'. Change to 'Use specific SDK' and then pick a valid one. If there are no valid ones, just add the path manually in 'Configure SDKs'. At least, that's always worked for me. On Saturday, July 28, 2012 12:58:57 AM UTC+2, Chris wrote: I just updated eclipse and now all GWT projects are broken. I inspect the installation and I see everything is installed, the problem is that: *All my run configurations are gone *There is no option to run anything as Web Application. *Error log includes: -Unable to restore perspective: Workspace - Java. -Problems occurred when invoking code from plug-in: org.eclipse.ui.workbench. *Errors in build path: [Persisted Container] com.google.gwt.eclipse.core.GWT_CONTAINER gwt-user.jar (missing) gwt-dev.jar (missing) Can anyone offer a suggestion what I might do to fix this? What is a persisted container? Is there a roll-back mechanism in Eclipse? -- 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/-/7MkA07Sflr4J. 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: Eclipse Update has broken all GWT Projects?
On 7/29/2012 7:10 AM, RyanZA wrote: I've seen this before. To fix it, just go to properties for the project, open the 'Google' section, then select 'Web Toolkit'. Change to 'Use specific SDK' and then pick a valid one. If there are no valid ones, just add the path manually in 'Configure SDKs'. At least, that's always worked for me. Haven't heard from the OP, but if he's upgraded to Juno, he might need the newer GPE. It's always possible to add the GWT libraries, but that might not be enough to get out of the ditch. On Saturday, July 28, 2012 12:58:57 AM UTC+2, Chris wrote: I just updated eclipse and now all GWT projects are broken. I inspect the installation and I see everything is installed, the problem is that: *All my run configurations are gone *There is no option to run anything as Web Application. *Error log includes: -Unable to restore perspective: Workspace - Java. -Problems occurred when invoking code from plug-in: org.eclipse.ui.workbench. *Errors in build path: [Persisted Container] com.google.gwt.eclipse.core.GWT_CONTAINER gwt-user.jar (missing) gwt-dev.jar (missing) Can anyone offer a suggestion what I might do to fix this? What is a persisted container? Is there a roll-back mechanism in Eclipse? -- 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/-/7MkA07Sflr4J. 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. 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
hi, windows.open (url)or addClickHandler 2012/7/29 nesrine doghri nesrine.dogh...@gmail.com Hi , haw can I build a GWT web site (the interaction between the different pages ? and how can I implement the navigation between diernt pages ?? -- 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. -- Assiya EL Master Qualité Logiciel Plz consider environment - Only print this if necessary -- 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: GWT
you can put everything on one. Am 29.07.2012 19:03, schrieb nesrine doghri: Hi , haw can I build a GWT web site (the interaction between the different pages ? and how can I implement the navigation between diernt pages ?? -- 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. 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
How does this work exactly ?? As I understood in the .HTML page I define the divs I need and then form each Ui java class I use the methode RootPanel.get(content).add(Widget()); Is this true ?, Does anyone have an example ?? -- 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/-/Q4ytBWBfUk0J. 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
please read some beginner tutorials. page switch: RootPanel.get(content).add(page1()); RootPanel.get(content).clear(); RootPanel.get(content).add(page2()); Am 29.07.2012 19:47, schrieb nessrinovitta: How does this work exactly ?? As I understood in the .HTML page I define the divs I need and then form each Ui java class I use the methode RootPanel.get(content).add(Widget()); Is this true ?, Does anyone have an example ?? -- -- 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.
shall we use assert in GWT project in the development period
i have tryed to write assert sentence in the development period,but it occur an error when being run as a GWT project. -- 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/-/Oui25LnFfWMJ. 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.
GWT RPC RequestFactory -server-side on another server
Is it possible to make server-side and client-side in different apps to deploy them on different servers? -- 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/-/Rb54IAQLl_8J. 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.
Eclipse Update has broken all GWT Projects?
There are not this problem with Maven. -- 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/-/GgPXMyoYh-sJ. 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.
New version not being detected by browser
Hello all. I'm facing an issue almost everytime I upload a new version of my app to tomcat. The browser does not detect that there is a new app ... and the RPC calls fail. Then I have to click refresh a few times (or CTRL+F5) ... then the browser gets the new version. But end-users dont know that and may quit early... Is it normal? What should I do during deployment? 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-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: PlaceController constructor Deprecated
On Friday, September 9, 2011 4:01:37 PM UTC+2, Thomas Broyer wrote: There must be somewhere in your code where you have a dependency on com.google.gwt.event.shared.EventBus rather than com.google.web.bindery.event.shared.EventBus. Oh yes, there is indeed. The GWTP plugin in its latest version creates a presenter with import com.google.gwt.event.shared.EventBus; However, the INIT() method placed on the GIN module apprently only sets a binding for the com.google.web.bindery.event. shared.EventBus What happens is: in the absence of a binding, GIN will use a GWT.create() (contrary to Guice which will fail to build the injector), and com.google.gwt.event.shared.EventBus has no deferred-binding rule (replace-with or generate-with) so GWT tries to instantiate it with its zero-arg constructor; but EventBus is abstract, so GWT complains. -- 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/-/FZ_0-aCPHWIJ. 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.
GWT RPC and RequestBuilder-server side and client side on different servers
I need to do server side and client side on different servers, so they cant be in one app. Is it possible to do with GWT RPC or/and RequestBuilder? -- 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/-/KUvbkARR2kkJ. 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 do you over ride a css definition in GWT using CSSResource?
Hello! Been working on my first GWT app and have come across this problem where I need to override a CSS in an existing widget. Specifically to remove the Grid Selection border around a cell when a row has focus. From my research I gather I need to perform several steps. I've traced this css down to .dataGridSelectedRowCell So I create this in a new css file (lets say mods.css). --- mods.css @external dataGridSelectedRowCell .dataGridSelectedRowCell { } --- At this point I have to include it in a RssResource. public interface NewGridStyle extends com.google.gwt.user.cellview.client.DataGrid.Style { @Override @Source({DataGrid.Style.DEFAULT_CSS,NewGridStyle.css}) public String dataGridSelectedRowCell(); } In my code I use the following lines DataGrid.Resources resources = GWT.create(NewGridStyle.class); dg = new DataGridPlan(PAGE_SIZE, resources, getDataProvider() .getKeyProvider()); When I try to compile my app, I get the following error: Rebind result 'net.tofusoft.GWT.NewGridStyle' must be a class So what did I do wrong? -- 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/-/S__vS33u2Z8J. 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 do you over ride a css definition in GWT using CSSResource?
I found my errors! --- NewGridStyle.css --- @external dataGridSelectedRowCell .dataGridSelectedRowCell { *border:inherit;* } --- end --- I have to include it in as a RssResource not a Style. public interface NewGridStyle extends * com.google.gwt.user.cellview.client.DataGrid.Resources* { @Override @Source({DataGrid.Style.DEFAULT_CSS,NewGridStyle.css}) // public String dataGridSelectedRowCell(); // delete this line DataGrid.Style dataGridStyle(); } On Sunday, 29 July 2012 22:50:11 UTC+8, Jerome Chan wrote: Hello! Been working on my first GWT app and have come across this problem where I need to override a CSS in an existing widget. Specifically to remove the Grid Selection border around a cell when a row has focus. From my research I gather I need to perform several steps. I've traced this css down to .dataGridSelectedRowCell So I create this in a new css file (lets say mods.css). --- mods.css @external dataGridSelectedRowCell .dataGridSelectedRowCell { } --- At this point I have to include it in a RssResource. public interface NewGridStyle extends com.google.gwt.user.cellview.client.DataGrid.Style { @Override @Source({DataGrid.Style.DEFAULT_CSS,NewGridStyle.css}) public String dataGridSelectedRowCell(); } In my code I use the following lines DataGrid.Resources resources = GWT.create(NewGridStyle.class); dg = new DataGridPlan(PAGE_SIZE, resources, getDataProvider() .getKeyProvider()); When I try to compile my app, I get the following error: Rebind result 'net.tofusoft.GWT.NewGridStyle' must be a class So what did I do wrong? -- 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/-/InRlOf2ufsYJ. 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 can we save state of a GWT page?
Hi Rubina, Take a look at this: https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces GWT can store state in url using hashes, e.g. http://myserver.com/myapp#myplace:state, and this is bookmarkable. Hope this helps, Taylor On Wednesday, July 25, 2012 8:14:20 AM UTC-4, Rubina wrote: Hi All, We have one requirement to implement in GWT application. Below example will clear the requirement – There are 3 screens in application. Suppose, user is on 2nd screen after moving from 1st screen to 2nd screen. When user clicks on Next button on first screen, then some RPC call is executed and fetch data from some external database. This data is used to display on 2nd screen. Now user bookmarks the browser URL (2nd screen) and closes the browser window. Next time, now user directly wants to navigate to the 2nd screen without repeating the work done on 1st screen. We want to store the state of 2ndscreen somehow on browser. If this screen launches, all Next and Previous button should also work properly. Is this requirement achievable, if yes then which GWT APIs provides this feature? Please advice. -- 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/-/_QMfnGXFXDAJ. 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: error while porting GWT 2.4.0 to GWT 2.5.0-rc1.
I am able to solve the issue. When changed the version of all the libraries, some how I missed to change the version of requestfactory-server library. And it was still referring to 2.4.0 verion of it. When I changed its version to use 2.5.0-rc1 it worked. Thanks, -Vasu. On Sunday, 29 July 2012 09:27:10 UTC+5:30, Vasu wrote: Hi All, I am getting below error while using GWT 2.5.0-rc1 for my existing GWT 2.4.0 application. 09:08:19.886 [ERROR] [config] Unable to load module entry point class null (see associated exception for details) com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit. at com.google.gwt.dev.js.ast.JsVisitor.translateException(JsVisitor.java:483) at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:470) at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445) at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109) at com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisitor.java:638) at com.google.gwt.dev.js.ast.JsIf.traverse(JsIf.java:71) at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468) at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445) at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109) at com.google.gwt.dev.js.JsToStringGenerationVisitor.printJsBlock(JsToStringGenerationVisitor.java:1032) at com.google.gwt.dev.js.JsSourceGenerationVisitor.visit(JsSourceGenerationVisitor.java:59) at com.google.gwt.dev.js.ast.JsBlock.traverse(JsBlock.java:47) at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468) at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445) at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109) at com.google.gwt.dev.shell.Jsni.generateJavaScriptForHostedMode(Jsni.java:253) at com.google.gwt.dev.shell.Jsni.getJavaScriptForHostedMode(Jsni.java:241) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.createNativeMethods(ModuleSpaceOOPHM.java:52) at com.google.gwt.dev.shell.CompilingClassLoader.injectJsniMethods(CompilingClassLoader.java:1385) at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1158) at com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1203) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:663) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:353) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.VerifyError: (class: com/google/gwt/core/client/GWT, method: setBridge signature: (Lcom/google/gwt/core/client/GWTBridge;)V) Incompatible argument to function at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethod(Class.java:1935) at com.google.gwt.dev.shell.CompilingClassLoader.updateGwtClass(CompilingClassLoader.java:1422) at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1169) at com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1203) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassFromBinaryName(CompilingClassLoader.java:223) at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassFromBinaryOrSourceName(CompilingClassLoader.java:257) at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassInfoFromClassName(CompilingClassLoader.java:279) at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getDispId(CompilingClassLoader.java:151) at com.google.gwt.dev.shell.CompilingClassLoader.getDispId(CompilingClassLoader.java:1031) at com.google.gwt.dev.shell.Jsni$JsSourceGenWithJsniIdentFixup.visit(Jsni.java:171) at com.google.gwt.dev.js.ast.JsInvocation.traverse(JsInvocation.java:69) at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468) at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445) at
Re: [gwt-contrib] GWT 2.5 RC1 increases mgwt showcase by 22%
I didn't have the time yet to build a test case without mgwt put here is a very basic entry point. Compiled with GWT 2.4 its around 30k with GWT 2.5-rc its 45k (many styles not being removed): I have attached an entrypoint which can be run with the latest mgwt jar in the classpath: https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshotsg=com.googlecode.mgwta=mgwte=jarv=LATEST inherits name=com.googlecode.mgwt.MGWT / Let me know if you need more input. -Daniel 2012/7/23 Daniel Kurka kurka.dan...@gmail.com We are not using any cell widgets (we wrote our own for mgwt, because the current ones don work for mobile). I already have a good guess where this might be coming from. I'll try to provide a decent test case for it (without mgwt dependencies). -Daniel 2012/7/23 Rajeev Dayal rda...@google.com Daniel mentioned that somehow the CSS for the blackberry permutation is ending up in the iPhone permutation. That can't just be a Cell Widget issue. On Mon, Jul 23, 2012 at 12:24 AM, Ray Cromwell cromwell...@google.comwrote: Are you using any Cell widgets by any chance? I've seen that the Mail sample and ShowCase sample both shrunk, but the MobileWebApp sample increased in size. This leads me to believe it's not a compilation issue, but something in the user library pulling in a lot of extra code. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors MGWTEntryPoint.java Description: Binary data