Re: Problems while installing Google Updates for Eclipse 3.6
I reported the problem to Eclipse - Bugzilla Team. Here is the answer: --- Comment #1 from Ankur Sharma ankur_sha...@in.ibm.com 2011-02-14 03:25:44 EST --- Please report the problem to Google. There might be some missing prerequisites. Seems to be a Google problem. Can anybody from the Google team help solving this? Thanks On 14 Feb, 08:51, alexoffspring alessales...@gmail.com wrote: Today i tried to install these new updates: 1) Google Plugin for Eclipse 3.6 Ver.: 2.2.0 2) Google App Engine Java SDK 1.4.2 Ver.: 1.4.2 3) GWT SDK 2.2.0 Ver.: 2.2.0 And i get the following error messages: An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Artifact not found: osgi.bundle,com.google.gdt.eclipse.core, 2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gwt.eclipse.core, 2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclips... Artifact not found: osgi.bundle,com.google.appengine.eclipse.sdkbundle. 1.4.2,1.4.2.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.appengine Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer, 2.2.0.r36x201102111505.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 1_6,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0.webkit_win32x64,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gwt.eclipse.sdkbundle. 2.2.0,2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclips... Artifact not found: osgi.bundle,org.eclipse.wb.core, 0.9.0.r36x201102111430.http://dl.google.com/eclipse/plugin/3.6/plugins/org.eclipse.wb.core_0... Artifact not found: osgi.bundle,org.eclipse.wb.core.lib, 0.9.0.r36x201102111430.http://dl.google.com/eclipse/plugin/3.6/plugins/org.eclipse.wb.core.l... -- 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.
gwt-maven-plugin: missing module HTML CSS with version 2.1.0+ of the plugin
Dear all, I sucessfully used the gwt-maven-plugin version 1.2 with GWT version 2.0.4. I now wanted to upgrade to the newest GWT version 2.1. Therefore I also needed to upgrade the gwt-maven-plugin version to at least 2.1.0. Unfortunately, after I upgrading to the new version of the plugin, the internal Jetty can't find the module HTML (with the reference to the GWT js file) as well as the coresponding CSS and web.xml file anymore. It seems that a new folder was created in target/${artifactId}-$ {version}, which contains the compiled GWT Javascript and all static resources besides the entry point HTML, CSS and web.xml. There is also a war folder that is always created, which contains all necessary resources, including the HTML CSS file. It seems that the 1.2 version of the plugin used this war folder, whereas the newer versions use the folder under target, which doesn't contain vital parts of the compiler output. Also before there wasn't any compiler output under the target folder. This happens with version 2.1.0-1 2.1.1-SNAPSHOT version of the plugin as well as with GWT version 2.1.0 and 2.1.1 I've already searched the web and found 2 threads with a similar problem, but no real solution: http://maven.40175.n5.nabble.com/gwt-maven-plugin-how-to-create-amp-c... http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg52... Any help is much appreciated! Best regards, Henry -- 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 2.2 and maven
how I can set to maven work with 2.2? repository id/id name???/name url/url /repository On 13 fev, 16:54, David Chandler drfibona...@google.com wrote: Maven Central push should come out Monday. Until then, you can try it out from the staging repo: https://oss.sonatype.org/content/repositories/comgoogle-108/ /dmc On Sun, Feb 13, 2011 at 4:27 AM, Jakub Grabowski ja...@perfectsource.plwrote: Do you have any idea when GWT 2.2.0 will be available in maven central repo? Currently projects generated with -maven option don't work, because dependencies cannot be retrieved. Is there any other repo containing maven artifacts for GWT before they're published to central repo? Thanks for help. Regards, Jakub Grabowski Perfectsource Sp. z o.o. http://www.perfectsource.pl -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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 to create a dynamic map as the Trip Advisor use case?
Hi all, I would like to do a GWT project reproducing this behaviour: http://www.tripadvisor.com/Restaurants-g60763-New_York_City_New_York.html As you can see, there is a map on the right, where it is possible to type the area where the engine should look for restaurants and see the real location on the map after consulting to the server. At this point, I have displayed on my own GWT project a map initially displaying some markers, then it is necessary to select an operation to perform (and this will make a query to a remote server) and then the resulting map with the requested data (within an Infowindow baloon) it is shown. My REAL problem is that doing the things like this, I get TWO maps (the one from the markers and the second one) and I just want a DYNAMIC one as in the Trip Advisor example. Due to the features of this project, I think I need to separate the map creation in different classes, so I believe I can't access again the Root Panel for changing the main layout and draw again the map. What to do? Delete all the layout and draw again the full interface to present the resulting map? Is there any way of modyfing just one element drawn in the entry point class from another secondary class? Please, could you give me some advise or some ideas? Thanks for your comments :) -- 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: Problems while installing Google Updates for Eclipse 3.6
I see this, too. The funny thing is, the installation worked yesterday, on a different machine. The only difference is that this time I started the installation behind a proxy. (Later I tried without a proxy, too, but it still did not work.) I would be very happy if this would be solved, really soon. Best wishes: Csillag -- 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 create a dynamic map as the Trip Advisor use case?
Sorry, I forgot to mention that I have tried to delete the element by using remove() function, but the problem is that my application really needs a footer credits bar, so if I delete the map and draw it again from the other class, the result is that the resultin map is shown BELOW the credit bar and it is something that should not happen. -- 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: Load/Display KML file in GWT Google Maps
Ok guys, many thanks for your tips. I didn't know about putting the overlay on a public location. @Chad: I will start developing my code from the sample you provided, it is exactly what I need to understant properly how does this work. :) Thanks On 8 Feb, 15:52, Chad chad...@gmail.com wrote: Irene, I don't have a tutorial for you, but it is rather simple and straightforward. The process goes like this: pre GeoXmlOverlay.load(key, new GeoXmlLoadCallback() { @Override public void onSuccess(String url, GeoXmlOverlay overlay) { map.addOverlay(overlay); overlay.gotoDefaultViewport(map); } @Override public void onFailure(String url, Throwable caught) { Window.alert(Retrieving data for the overlay caused the + following error:\n\n + caught.getMessage()); } }); /pre It's a simple call to the static load method of GeoXmlOverlay. It takes the url of the KML/KMZ file (must be a public location) and a callback. The callback will contain an actual GeoXmlOverlay object that can be added to your map via addOverlay. It also has a method that lets you recenter the map to the overlay itself so in the example above, I add the overlay to the map and then make sure the new overlay is visible to the user. HTH, Chad Bourquewww.milamade.com On Feb 8, 4:30 am, Irene irenegarciaima...@gmail.com wrote: Hi all, I am developing a small project using GWT with embedded Google Maps. I have a KML file representing some 2D elements such as polylines and markers, so I would like to know if there is any way of loading these data from the GWT project and display it on runtime. I have found a Demo project called KmlOverlayDemo.java but as it is part of a bigger example, I do not understand properly the execution flow so I can't reproduce this behaviour on my own project. I was expecting a more simple case to extend it step by step, does any one know any? Thanks to all -- 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.
Error installing GWT 2.2 in eclipse 3.6
Using the Add new software funtion in eclipse 3.6.0 (Build id: I20100608-0911), I attempted to install GWT 2.2 from http://dl.google.com/eclipse/plugin/3.6 This operation failed, however, with the below errors. I have numerous previous versions of GWT installed, including the various milestones and RCs of 2.1. Is anyone else getting issues like this? If not, it could be a result of our corporate firewall. An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Artifact not found: osgi.bundle,com.google.gdt.eclipse.core, 2.2.0.v201102111811. http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclipse.core_2.2.0.v201102111811.jar Artifact not found: osgi.bundle,com.google.gwt.eclipse.core, 2.2.0.v201102111811. http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.core_2.2.0.v201102111811.jar Artifact not found: osgi.bundle,com.google.appengine.eclipse.sdkbundle. 1.4.2,1.4.2.v201102111811. http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.appengine.eclipse.sdkbundle.1.4.2_1.4.2.v201102111811.jar Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer, 2.2.0.r36x201102111505. http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclipse.designer_2.2.0.r36x201102111505.jar Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 1_6,2.2.0.r36x201102111446. http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclipse.designer.hosted.1_6_2.2.0.r36x201102111446.jar Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0,2.2.0.r36x201102111446. http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclipse.designer.hosted.2_0_2.2.0.r36x201102111446.jar Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0.webkit_win32,2.2.0.r36x201102111446. http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclipse.designer.hosted.2_0.webkit_win32_2.2.0.r36x201102111446.jar Artifact not found: osgi.bundle,com.google.gwt.eclipse.sdkbundle. 2.2.0,2.2.0.v201102111811. http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.sdkbundle.2.2.0_2.2.0.v201102111811.jar Artifact not found: osgi.bundle,org.eclipse.wb.core, 0.9.0.r36x201102111430. http://dl.google.com/eclipse/plugin/3.6/plugins/org.eclipse.wb.core_0.9.0.r36x201102111430.jar Artifact not found: osgi.bundle,org.eclipse.wb.core.lib, 0.9.0.r36x201102111430. http://dl.google.com/eclipse/plugin/3.6/plugins/org.eclipse.wb.core.lib_0.9.0.r36x201102111430.jar -- 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.
GWT 2.2 and gwt-maps.jar not compatible
Just upgraded to GWT 2.2 and getting in error in project compilation, looks gwt-maps library no longer compatible. Do I need something to make it work? [ERROR] Errors in 'jar:file:/myproject/war/WEB-INF/lib/gwt- maps.jar!/com/google/gwt/maps/client/impl/InfoWindowImpl.java' [ERROR] Internal compiler error java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected at com.google.gwt.maps.jsio.rebind.JSWrapperGenerator.generate(JSWrapperGenerator.java: 277) at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java: 48) at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java: 60) at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java: 662) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 41) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:74) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 259) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 248) at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java: 91) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 106) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.process(AbstractCompiler.java:254) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 444) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:175) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:288) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access $400(AbstractCompiler.java:145) at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: 632) at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: 124) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java: 54) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: 517) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 35) at com.google.gwt.dev.Precompile.precompile(Precompile.java:541) at com.google.gwt.dev.Precompile.precompile(Precompile.java:495) at com.google.gwt.dev.Precompile.precompile(Precompile.java:407) at com.google.gwt.dev.Compiler.run(Compiler.java:215) at com.google.gwt.dev.Compiler.run(Compiler.java:187) at com.google.gwt.dev.Compiler$1.run(Compiler.java:159) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 81) at com.google.gwt.dev.Compiler.main(Compiler.java:166) -- 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.
Create an Image from received bytes on client side - possible?
Hey guys. I did some researching on this matter but besides ClientBundle I failed to find something that would help me here. ClientBundle would work OK in case I would have the images as static references, but what I am trying to do (just playing around, getting to know this GWT) is similar to file explorer. A tree on the left side of my workspace shows folders with files inside them. For my purposes, picture files. And these folders can be anywhere on the HDD. Now, how would I go about sending selected image (or complete folder content) to client side? What I had in mind is that I would create a widget that would hold an Image object on it + perhaps a label or two. Nothing fancy. This widget would call a asnyc service to get the picture data from the server. Bytes. But, once I would get the data to the client side, how can I create an Image object out of it? I did not find a way. Alternative I could probably make browsing only possible on such folders that are accessible over the internet (virtual folders I think is the correct term) and just send over appropriate URLs, since Image does accept such parameter. But I would really like to know if original idea is feasible. ImageResource from received bytes? Thank you all. -- 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.
radio button listener/handler issue on IE8.
Hi, I have installed IE8 yesterday and Win XP OS. The problem is radio button selection is not working properly. I have two radio buttons in each vertical panel and I can able to select only one radio button at a time on the page. My requirement is i want to select radio button from each vertical panel. Is there any thing I need to do extra setttings for IE8 to support radio button handlers/ Listeners? From, Dallas007 -- 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.
Can't work with GWT Designer
Hi, I am working with eclipse 3.4 I install gpe-e34-latest, gwt-2.1.1 and GWTDesigner_v8.1.1_UpdateSite_for_Eclipse3.4. I am able to create a gwt project. But, I can not see any designer in my eclipse! When I click on a html file in created project, I expect it to be opened by GWT Designer; but i dose not happen! Would you help me plz? -- 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.
Sorting CellTable, AsyncData but Sort Locally
I've been developing an application in GWT that has data I've been displaying in a CellTable. I've set it up with a few TextColumns and a few EditTextColumns. I've got it set up to where if someone changes the data in an EditText cell, it sends an asynchronous request to the database and updates that row in the DB table. In short, I've got all this working using AsyncCallbacks and an AsyncDataProvider. Since 2.2 came out, I want to implement column sorting, kind of like is seen in this example: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable , but with an AsyncDataProvider. I want to sort the columns locally because I think it'd be faster than making an Async DB call again each time someone clicks to sort (which is the impression of what was supposed to happen if I used an AsyncHandler. So I THINK what I'm looking for is some way to use a ListHandler with an AsyncDataProvider? Can anyone shed some light on this? Maybe done it before or know the direction I'm supposed to? If it's even do-able? -- 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: Can CellWidgets contain custom composite widgets ?
Is the UiBinder variation available in GWT 2.2? If it is, is there any example on how to use it ? Thanks. On Wednesday, February 2, 2011 4:06:35 PM UTC+1, John LaBanca wrote: Also, we're working on a variation of UiBinder that can generate HTML strings and works with Cells. That should make it easier to template complex cells using HTML/XML. Thanks, John LaBanca jlab...@google.com -- 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: Error installing GWT 2.2 in eclipse 3.6
I got the same error this morning. and i already wrote a post for this in the forum, but seems that nobody from google is interested in answering this point! On 14 Feb, 11:12, Andrew Scully andrewscu...@gmail.com wrote: Using the Add new software funtion in eclipse 3.6.0 (Build id: I20100608-0911), I attempted to install GWT 2.2 fromhttp://dl.google.com/eclipse/plugin/3.6 This operation failed, however, with the below errors. I have numerous previous versions of GWT installed, including the various milestones and RCs of 2.1. Is anyone else getting issues like this? If not, it could be a result of our corporate firewall. An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Artifact not found: osgi.bundle,com.google.gdt.eclipse.core, 2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gwt.eclipse.core, 2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclips... Artifact not found: osgi.bundle,com.google.appengine.eclipse.sdkbundle. 1.4.2,1.4.2.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.appengine Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer, 2.2.0.r36x201102111505.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 1_6,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0.webkit_win32,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gwt.eclipse.sdkbundle. 2.2.0,2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclips... Artifact not found: osgi.bundle,org.eclipse.wb.core, 0.9.0.r36x201102111430.http://dl.google.com/eclipse/plugin/3.6/plugins/org.eclipse.wb.core_0... Artifact not found: osgi.bundle,org.eclipse.wb.core.lib, 0.9.0.r36x201102111430.http://dl.google.com/eclipse/plugin/3.6/plugins/org.eclipse.wb.core.l... -- 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: Error installing GWT 2.2 in eclipse 3.6
for sure they are! but probably due to this GWT 2.2 update they obviously dont have time to answer, seems like this recent update has broken a lot of things... so please be patient On 14 Feb., 13:19, alexoffspring alessales...@gmail.com wrote: I got the same error this morning. and i already wrote a post for this in the forum, but seems that nobody from google is interested in answering this point! On 14 Feb, 11:12, Andrew Scully andrewscu...@gmail.com wrote: Using the Add new software funtion in eclipse 3.6.0 (Build id: I20100608-0911), I attempted to install GWT 2.2 fromhttp://dl.google.com/eclipse/plugin/3.6 This operation failed, however, with the below errors. I have numerous previous versions of GWT installed, including the various milestones and RCs of 2.1. Is anyone else getting issues like this? If not, it could be a result of our corporate firewall. An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Artifact not found: osgi.bundle,com.google.gdt.eclipse.core, 2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gwt.eclipse.core, 2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclips... Artifact not found: osgi.bundle,com.google.appengine.eclipse.sdkbundle. 1.4.2,1.4.2.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.appengine Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer, 2.2.0.r36x201102111505.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 1_6,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0.webkit_win32,2.2.0.r36x201102111446.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gdt.eclips... Artifact not found: osgi.bundle,com.google.gwt.eclipse.sdkbundle. 2.2.0,2.2.0.v201102111811.http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclips... Artifact not found: osgi.bundle,org.eclipse.wb.core, 0.9.0.r36x201102111430.http://dl.google.com/eclipse/plugin/3.6/plugins/org.eclipse.wb.core_0... Artifact not found: osgi.bundle,org.eclipse.wb.core.lib, 0.9.0.r36x201102111430.http://dl.google.com/eclipse/plugin/3.6/plugins/org.eclipse.wb.core.l... -- 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 2.2 and gwt-maps.jar not compatible
You probably need to check out gwt-maps.jar and recompile the source with gwt 2.2 instead of previous versions. There were some internal changes to generator classes and some old libraries will be binary incompatible with 2.2. -- 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: which classname is used by SelectionModel ?
Have a look in the CellTable. Its constructor (http://google-web- toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/cellview/ client/CellTable.html#CellTable(int, com.google.gwt.user.cellview.client.CellTable.Resources) takes a second parameter, which is a Resource object. If you create your own, and bind it with your custom css, you csn change the appearance of the cell widget. On Feb 13, 2:20 pm, norberthu norberth...@gmail.com wrote: I want to substitute the backgroud pic which is used by SelectionModel when selected. I saw the source code,but cannot find relevant classname. can someone give me some hint? 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.
SerializationException problem, please advice!
I use GWT to develop my app, deploying it to GAE. Sometimes, (more often when switching between different versions) i get this exception: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'ro.expert.evt.shared.entities.UserProfile' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized. My entities classes (like UserProfile above) extends an EObject class that also extends EEntity (which is the only class that implements java.io.Serializable). I cannot reproduce it exactly, but i found some posts on the web saying that adding a default empty constructor to all entities will resolve the problem. I'm not sure about that so i would like some advice on implementing IsSerializable (GWT) or Serializable (java.io). Can I use both GWT's IsSerializable AND java.io.Serializable to be implemented by the top level class ? (EEntity in my case) so that my entities can also be passed through a wire or GWT RPC. Or does the GWT IsSerializable needs to be implemented by every entity class ? (like UserProfile) -- 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 2.2 and gwt-maps.jar not compatible
True. You can go here: http://code.google.com/p/gwt-google-apis/wiki/GettingStartedSource and follow the instructions to rebuild the maps with GWT 2.2. After the build you will get a .../maps/build/lib/ directory with the gwt-maps.jar inside. -- 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: Error installing GWT 2.2 in eclipse 3.6
On febr. 14, 15:44, jonsm...@gmail.com jonsm...@gmail.com wrote: I have 2.2 running now. Initially I had a bunch of errors too. I uninstalled all versions WindowBuilder, GWT Plugin, GWT Designer - then reinstalled the GWT Plugin. You don't need to mess with the SDKs. In my case pieces from various releases of the GWT Designers were interfering with each other. You have to use the GWT designer that comes in the GWT Plugin. -- Jon Smirl jonsm...@gmail.com 1. I have tried that (removing all GWT-related component, and then re- installing all the latest versions), but it did not work; I still got the same errors. 2. The DOCS clearly states that there are now two versions of the GWT designer: one integrated and one standalone. So, no, one is not supposed to be forced to use the integrated version. (Where to download the matching version of the standalone edition is a hard question, though...) Csillag -- 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: Can't work with GWT Designer
On Mon, Feb 14, 2011 at 2:48 AM, ehsan ehsan.at...@gmail.com wrote: Hi, I am working with eclipse 3.4 I install gpe-e34-latest, gwt-2.1.1 and GWTDesigner_v8.1.1_UpdateSite_for_Eclipse3.4. I am able to create a gwt project. But, I can not see any designer in my eclipse! When I click on a html file in created project, I expect it to be opened by GWT Designer; but i dose not happen! Would you help me plz? Uninstall all of these in Eclipse: GWT Plugin GWT Designer WindowBuilder Then reinstall GWT Plugin GWT Designer has been incorporated into the plugin, you have to remove the standalone version. -- 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. -- Jon Smirl jonsm...@gmail.com -- 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.
is using DivElement instead of Label recommended?
Hello, I wonder if it is a usual practice to use Element objects instead of Widgets in GWT to achieve better performacne. For instance, instead of adding a list of labels to a HTMLPanel I could do the following: HTMLPanel pnl = new HTMLPanel(myPanel); DivElement div = DivElement.as(DOM.createDiv()); pnl.getElement().appendChild(div); My motivation is that since these divs shouldn't act on any events there is no reason to imposing more overhead and making them widgets. That's what UiBinder at least does, as far as I understand. I would have also used UiBinder instead, the problem is though that it is a dynamic list of items changing at runtime and since can not be created declaratively and statically? Am I on the right path? What are possible repercussions, memory leaks or maintainability? 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: Error installing GWT 2.2 in eclipse 3.6
I have 2.2 running now. Initially I had a bunch of errors too. I uninstalled all versions WindowBuilder, GWT Plugin, GWT Designer - then reinstalled the GWT Plugin. You don't need to mess with the SDKs. In my case pieces from various releases of the GWT Designers were interfering with each other. You have to use the GWT designer that comes in the GWT Plugin. -- Jon Smirl jonsm...@gmail.com -- 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: Error installing GWT 2.2 in eclipse 3.6
well if this is the real and only solution, i think that it should be formally stated by google team. This means that, every time i will need to upgrade sdks, or designer, or whatever, i will need to uninstall and install everything?!? this is crazy There must be a better solution. On 14 Feb, 15:44, jonsm...@gmail.com jonsm...@gmail.com wrote: I have 2.2 running now. Initially I had a bunch of errors too. I uninstalled all versions WindowBuilder, GWT Plugin, GWT Designer - then reinstalled the GWT Plugin. You don't need to mess with the SDKs. In my case pieces from various releases of the GWT Designers were interfering with each other. You have to use the GWT designer that comes in the GWT Plugin. -- Jon Smirl jonsm...@gmail.com -- 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: Error installing GWT 2.2 in eclipse 3.6
1. I have tried that (removing all GWT-related component, and then re- installing all the latest versions), but it did not work; I still got the same errors. 2. The DOCS clearly states that there are now two versions of the GWT designer: one integrated and one standalone. So, no, one is not supposed to be forced to use the integrated version. (Where to download the matching version of the standalone edition is a hard question, though...) So is the integrated version of GWT designer within Eclipse the problem? -- 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: Error installing GWT 2.2 in eclipse 3.6
On Mon, Feb 14, 2011 at 9:52 AM, csillag csillag.kris...@gmail.com wrote: On febr. 14, 15:44, jonsm...@gmail.com jonsm...@gmail.com wrote: I have 2.2 running now. Initially I had a bunch of errors too. I uninstalled all versions WindowBuilder, GWT Plugin, GWT Designer - then reinstalled the GWT Plugin. You don't need to mess with the SDKs. In my case pieces from various releases of the GWT Designers were interfering with each other. You have to use the GWT designer that comes in the GWT Plugin. -- Jon Smirl jonsm...@gmail.com 1. I have tried that (removing all GWT-related component, and then re- installing all the latest versions), but it did not work; I still got the same errors. 2. The DOCS clearly states that there are now two versions of the GWT designer: one integrated and one standalone. So, no, one is not supposed to be forced to use the integrated version. (Where to download the matching version of the standalone edition is a hard question, though...) On Mon, Feb 14, 2011 at 7:38 AM, WindowBuilder Support wb-support-37...@google.com wrote: GWT Designer v8.1.1 does not support GWT 2.2. You need to uninstall v8.1.1 and use the version of GWT Designer that was provided with GWT/GPE 2.2. -Original Message- From: jonsm...@gmail.com Date: Mon, 14 Feb 2011 03:38:18 + To: wb-support-37...@google.com wb-support-37...@google.com Subject: GWT design broken on GWT 2.2 SDK Submitted by: jonsm...@gmail.com Jon Smirl The generater attribute is in the international gwt.xml line on line 75. I can't use designer on any Views. Backing off to 2.1 SDK fixes. I just updated to the latest GWT design via Eclipse. Csillag -- 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. -- Jon Smirl jonsm...@gmail.com -- 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: SerializationException problem, please advice!
I have ran into this problem also. First thing make sure everything is implementing IsSerializable, second make sure that you refresh your webapp folder in the web-inf so your .rpc files get refreshed. Most of the time I have to encounter a RPC exception in order to force the rpc file to be created. Once you get the new rpc file you might have to restart the server and try your rpc call again. If this still does not work, read about DTO objects that are basically objects that are just used to transfer data for RPC. On Mon, Feb 14, 2011 at 9:05 AM, Ice13ill andrei.fifi...@gmail.com wrote: I use GWT to develop my app, deploying it to GAE. Sometimes, (more often when switching between different versions) i get this exception: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'ro.expert.evt.shared.entities.UserProfile' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized. My entities classes (like UserProfile above) extends an EObject class that also extends EEntity (which is the only class that implements java.io.Serializable). I cannot reproduce it exactly, but i found some posts on the web saying that adding a default empty constructor to all entities will resolve the problem. I'm not sure about that so i would like some advice on implementing IsSerializable (GWT) or Serializable (java.io). Can I use both GWT's IsSerializable AND java.io.Serializable to be implemented by the top level class ? (EEntity in my case) so that my entities can also be passed through a wire or GWT RPC. Or does the GWT IsSerializable needs to be implemented by every entity class ? (like UserProfile) -- 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 love of HTML tables
Have you looked at TabLayoutPanel ? http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideUiPanels.html -- 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 2.2 and gwt-maps.jar not compatible
I have the same problem since I updated to 2.2. I reinstalled everything, but nothing changed. -- 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 2.2 and gwt-maps.jar not compatible
You made a new build of gwt-maps ? -- 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: Error installing GWT 2.2 in eclipse 3.6
Up until now, GWT Designer was independent of GWT and GPE. Now they are integrating and (kind of) uniting. So I consider it acceptable that one must remove and old and incompatible version of GWT designer before installing the new one, which is now integrated into GPE. HOWEVER 1. I did not have any GWT designer installed (only the GWT SDK, GAE SDK, and GPE), and installation still failed. 2. It's specifically stated (in the changelog of GWT 2.2) that GPE _can_ be used with a standalone GWT designer, too; but obviously, it has to be the right version. But that't one (or two) steps forward from where we are now; we are just trying to install GPE. -- 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: Error installing GWT 2.2 in eclipse 3.6
Same problem as you. I do not have any GWT designer installed and installation fails: An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer, 2.2.0.r36x20110242. http://dl.google.com/eclipse/inst/d2gwt/latest/3.6/plugins/com.google.gdt.eclipse.designer_2.2.0.r36x20110242.jar Artifact not found: osgi.bundle,com.google.gdt.eclipse.designer.GWTExt, 2.2.0.r36x20110255. http://dl.google.com/eclipse/inst/d2gwt/latest/3.6/plugins/com.google.gdt.eclipse.designer.GWTExt_2.2.0.r36x20110255.jar ... ... On Feb 14, 4:45 pm, csillag csillag.kris...@gmail.com wrote: Up until now, GWT Designer was independent of GWT and GPE. Now they are integrating and (kind of) uniting. So I consider it acceptable that one must remove and old and incompatible version of GWT designer before installing the new one, which is now integrated into GPE. HOWEVER 1. I did not have any GWT designer installed (only the GWT SDK, GAE SDK, and GPE), and installation still failed. 2. It's specifically stated (in the changelog of GWT 2.2) that GPE _can_ be used with a standalone GWT designer, too; but obviously, it has to be the right version. But that't one (or two) steps forward from where we are now; we are just trying to install GPE. -- 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.
Gwt 2.2, guice and gin...
Hello everybody, this morning I had the (bad) idea to update my eclipse environment to use gwt 2.2... (with 2.1 everything was fine)... now I'm experiencing a lot of problems... maybe it's my fault (I'm a new gwt related techs user)... My application is using gin and guice; before this morning I was using gin v1.0 and guice 2.0. Now: *1. after upgrading to gwt (to 2.2) I got this exception (still the original guice and gin versions):* [WARN] failed JettyContainerService$ApiProxyHandler@ae281c: java.lang.NoClassDefFoundError: com/google/inject/internal/Lists [WARN] Error starting handlers java.lang.NoClassDefFoundError: com/google/inject/internal/Lists at com.google.inject.servlet.FiltersModuleBuilder.init( FiltersModuleBuilder.java:36) at com.google.inject.servlet.ServletModule.init(ServletModule.java:219) * 2. then I updated the guice version to 3.0-rc2 *mantaining* the original gin version (1.0), but I got this unlikely mix*: gin-1.0.jar guice-2.0.jar guice-servlet-3.0-rc2.jar as expected, my application threw this exception: [WARN] Error starting handlers java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Preconditions at com.google.inject.servlet.ServletModule.configure(ServletModule.java:44) at com.google.inject.AbstractModule.configure(AbstractModule.java:59) ... *3. after some investigations, I discovered that gwt 3.2 requires a new gin (see this post **http://groups.google.com/group/google-gin/browse_thread/thread/70520a9f495f5747/7930eda17843aea8#7930eda17843aea8 ). **I also updated gin to 1.1-2.2-SNAPSHOT. *The dependencies looked right now: gin-1.1-2.2-20110211.140818-5.jar guice-3.0-rc2.jar guice-assistedinject-3.0-rc2.jar guice-servlet-3.0-rc2.jar gwt-servlet-2.2.0.jar javax.inject-1.jar **BUT* the application threw another exception:* com.google.inject.CreationException: Guice creation errors: 1) No implementation for javax.inject.Providercom.google.gwt.inject.rebind.GinjectorBindings was bound. while locating javax.inject.Providercom.google.gwt.inject.rebind.GinjectorBinding for parameter 4 at com.google.gwt.inject.rebind.GinjectorBindings.init(GinjectorBindings.java:182) at com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGeneratorModule.java:69) So: - where am I wrong? - do you have suggestions to solve this? Thanks in advance for any help CA -- 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: Sorting CellTable, AsyncData but Sort Locally
If you are supporting paging, then a local sort will only sort the current page, whereas a database sort would sort the data return the results for the current page. For example, if you are on the first page and do a reverse sort, do you want to see all the names that start with z (database sort), or do you want to see all of the names that start with a in reverse order (local sort of the current page). That being said, you can cache the values locally in a list and use ListSortHandler. Alternatively, you can add a ColumnSortEvent.Handler to CellTable and copy and sort the return of CellTable#getVisibleItems(). The code would be something like the following: cellTable.addColumnSortHandler(new ColumnSortEvent.Handler() { public void onColumnSort(ColumnSortEvent event) { ListT newData = new ArrayList(cellTable.getVisibleItems()); // Copy the data if (event.isSortAscending) { Collections.sort(newData, myAscComparator); // Sort ascending. } else { Collections.sort(newData, myDescComparator); // Sort descending. } cellTable.setRowData(cellTable.getVisibleRange(), newData); } }); Thanks, John LaBanca jlaba...@google.com On Mon, Feb 14, 2011 at 12:53 AM, Josh K kendrick.j...@gmail.com wrote: I've been developing an application in GWT that has data I've been displaying in a CellTable. I've set it up with a few TextColumns and a few EditTextColumns. I've got it set up to where if someone changes the data in an EditText cell, it sends an asynchronous request to the database and updates that row in the DB table. In short, I've got all this working using AsyncCallbacks and an AsyncDataProvider. Since 2.2 came out, I want to implement column sorting, kind of like is seen in this example: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable , but with an AsyncDataProvider. I want to sort the columns locally because I think it'd be faster than making an Async DB call again each time someone clicks to sort (which is the impression of what was supposed to happen if I used an AsyncHandler. So I THINK what I'm looking for is some way to use a ListHandler with an AsyncDataProvider? Can anyone shed some light on this? Maybe done it before or know the direction I'm supposed to? If it's even do-able? -- 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 2.2, guice and gin...
GWT 2.2 introduces a binary incompatibility in generators (some classes have been replaced with interfaces), hence the error with GIN (though honestly, it should have been another error thatn the one you pasted here) It is still source compatible with the previous versions though, so recompiling the generators (GIN in this case) is enough. Technically, you don't have to upgrade GIN to a 1.1-SNAPSHOT version if you don't want to, but you then have to recompile it against the GWT 2.2 SDK. I'm not aware of any GIN 1.0 recompiled for GWT 2.2 available for download though, so given that GIN 1.1 is compatible with GIN 1.0 (unless you're doing hardcore things with it), you can safely use a GIN 1.1-SNAPSHOT if you don't want to recompile GIN by yourself. -- 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: is it possible to add animation to CellWidgets as RangeChangeEvent fires ?
Not currently, but it sounds like a cool feature. Can you create a GWT issue to track it? Thanks, John LaBanca jlaba...@google.com On Sun, Feb 13, 2011 at 11:19 PM, zixzigma zixzi...@gmail.com wrote: Hello Everyone, is it possible to add animation to CellWidgets as RangeChangeEvent fires ? for example lets say our CellTable/CellList has a Pager. what can be done so that as user clicks forward/backward on Pager, the CellWidget have some sort of animation, the impression of its going right or left. Thank You -- 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.
GWT runasync
Hi there, I have a question regarding GWT's runAsync feature. We have a complete list of all views within the application. What I understand each time a user access our webapp the complete list of view is downloaded to the clients machine. I am sure we are going to have more than 200 views sometime so the app is getting very big. I want to implement now the async feature but I am not sure how to do this as I need the list of view to display them later in my app. Example: - User trigger click event - Click event gets an ID with button clicked and is forwarded to page controller - Page controller looks in view list with id and display the correct view Can somebody help me with a hint? Maybe my approach is wrong. Thanks a lot! -- 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 auto-complete only partially working for UiBinder tags
Hi Jeff, We were unable to reproduce this behavior. Do you see anything in the Eclipse Error Log (Window - Show View - Error Log). Rajeev On Wed, Feb 2, 2011 at 2:40 PM, Jeff Chimene jchim...@gmail.com wrote: On 02/02/2011 12:37 PM, Jeff Chimene wrote: Hi: I notice that in GPE version 2.2.0.ms1-201101251930 when editing a UiBinder file I get a suggestion list after CTRL+SPACE, but after RETURN, the selected element is not copied. For example, the following sequence g:Vert CTRL+SPACE == auto-complete popup cursor over VerticalPanel RETURN text not copied Maybe pilot error - but this auto-complete works for Java code. It's more complicated than I originally thought: auto complete + auto-close works for the g:cell When there's no alternative, auto-complete works. For example, auto-complete works for /g:VerticalPanel -- 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: GPE auto-complete only partially working for UiBinder tags
I've had this happen to me also. I haven't checked my eclipse logs either. I haven't noticed it with the newest version of the plugin however. -- 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 2.2, guice and gin...
Thanks Thomas ! On Mon, Feb 14, 2011 at 11:06 AM, Thomas Broyer t.bro...@gmail.com wrote: GWT 2.2 introduces a binary incompatibility in generators (some classes have been replaced with interfaces), hence the error with GIN (though honestly, it should have been another error thatn the one you pasted here) It is still source compatible with the previous versions though, so recompiling the generators (GIN in this case) is enough. Technically, you don't have to upgrade GIN to a 1.1-SNAPSHOT version if you don't want to, but you then have to recompile it against the GWT 2.2 SDK. I'm not aware of any GIN 1.0 recompiled for GWT 2.2 available for download though, so given that GIN 1.1 is compatible with GIN 1.0 (unless you're doing hardcore things with it), you can safely use a GIN 1.1-SNAPSHOT if you don't want to recompile GIN by yourself. -- 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. -- Christian Goudreau www.arcbees.com -- 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: Error installing GWT 2.2 in eclipse 3.6
It cannot be considered acceptable to have all these problems just for an upgrade. Somebody from Google should tell where in the release notes (http:// code.google.com/intl/it-IT/webtoolkit/doc/latest/ReleaseNotes.html) it is written that GWT 2.2.0 have all these dependency problems. The procedure for installation linked in the releasenotes is the same as always, and the unique way to ask for help with installation problems is this forum. But still nobody from Google is giving the solution. Up until now, GWT Designer was independent of GWT and GPE. Now they are integrating and (kind of) uniting. So I consider it acceptable that one must remove and old and incompatible version of GWT designer before installing the new one, which is now integrated into GPE. -- 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: SerializationException problem, please advice!
So basicaly there is no pb if every entity implements IsSerializable and the top class, that is extended by those entities, implements java.io.Serializable? On Feb 14, 2011 5:13 PM, joe kolba joekolb...@gmail.com wrote: I have ran into this problem also. First thing make sure everything is implementing IsSerializable, second make sure that you refresh your webapp folder in the web-inf so your .rpc files get refreshed. Most of the time I have to encounter a RPC exception in order to force the rpc file to be created. Once you get the new rpc file you might have to restart the server and try your rpc call again. If this still does not work, read about DTO objects that are basically objects that are just used to transfer data for RPC. On Mon, Feb 14, 2011 at 9:05 AM, Ice13ill andrei.fifi...@gmail.com wrote: I use GWT to develop my app, deploying it to GAE. Sometimes, (more often when switching between different versions) i get this exception: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'ro.expert.evt.shared.entities.UserProfile' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized. My entities classes (like UserProfile above) extends an EObject class that also extends EEntity (which is the only class that implements java.io.Serializable). I cannot reproduce it exactly, but i found some posts on the web saying that adding a default empty constructor to all entities will resolve the problem. I'm not sure about that so i would like some advice on implementing IsSerializable (GWT) or Serializable (java.io). Can I use both GWT's IsSerializable AND java.io.Serializable to be implemented by the top level class ? (EEntity in my case) so that my entities can also be passed through a wire or GWT RPC. Or does the GWT IsSerializable needs to be implemented by every entity class ? (like UserProfile) -- 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. -- 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: Sorting CellTable, AsyncData but Sort Locally
Here's the question you want to ask yourself: Why am I using an AsyncDataProvider and data paging? Because I use one in my app with sortable columns. And I'm using one because I've got thousands to tens of thousands of rows of data to display. And since I don't want to try to download all that data in one go, I sort things on the server (actually, I sort the data within the database, and get a scrollable results set with everything in the right order). If you really have a little enough data that you want to sort it on the client, do yourself a favor, and just download all the data and don't use the AsyncDataProvider at all. Greg On Feb 13, 11:53 pm, Josh K kendrick.j...@gmail.com wrote: I've been developing an application in GWT that has data I've been displaying in a CellTable. I've set it up with a few TextColumns and a few EditTextColumns. I've got it set up to where if someone changes the data in an EditText cell, it sends an asynchronous request to the database and updates that row in the DB table. In short, I've got all this working using AsyncCallbacks and an AsyncDataProvider. Since 2.2 came out, I want to implement column sorting, kind of like is seen in this example:http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable , but with an AsyncDataProvider. I want to sort the columns locally because I think it'd be faster than making an Async DB call again each time someone clicks to sort (which is the impression of what was supposed to happen if I used an AsyncHandler. So I THINK what I'm looking for is some way to use a ListHandler with an AsyncDataProvider? Can anyone shed some light on this? Maybe done it before or know the direction I'm supposed to? If it's even do-able? -- 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: Create an Image from received bytes on client side - possible?
I could not find any way to build an Image other than by sending one from the server, when I tried to solve a similar problem two months ago. On Feb 14, 3:16 am, MJ zuti...@gmail.com wrote: Hey guys. I did some researching on this matter but besides ClientBundle I failed to find something that would help me here. ClientBundle would work OK in case I would have the images as static references, but what I am trying to do (just playing around, getting to know this GWT) is similar to file explorer. A tree on the left side of my workspace shows folders with files inside them. For my purposes, picture files. And these folders can be anywhere on the HDD. Now, how would I go about sending selected image (or complete folder content) to client side? What I had in mind is that I would create a widget that would hold an Image object on it + perhaps a label or two. Nothing fancy. This widget would call a asnyc service to get the picture data from the server. Bytes. But, once I would get the data to the client side, how can I create an Image object out of it? I did not find a way. Alternative I could probably make browsing only possible on such folders that are accessible over the internet (virtual folders I think is the correct term) and just send over appropriate URLs, since Image does accept such parameter. But I would really like to know if original idea is feasible. ImageResource from received bytes? Thank you all. -- 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 runasync
One way to do this would be to put your view list inside of a factory object. This factory object would have a method to request a view for a given id, and return a new instance of it. The creation of that view would take place inside of a runAsync block. Your page controller would have to pass in a callback so it can get a handle on the view when its done loading. -Ben On Feb 14, 10:09 am, Gambo mark.vanv...@gmail.com wrote: Hi there, I have a question regarding GWT's runAsync feature. We have a complete list of all views within the application. What I understand each time a user access our webapp the complete list of view is downloaded to the clients machine. I am sure we are going to have more than 200 views sometime so the app is getting very big. I want to implement now the async feature but I am not sure how to do this as I need the list of view to display them later in my app. Example: - User trigger click event - Click event gets an ID with button clicked and is forwarded to page controller - Page controller looks in view list with id and display the correct view Can somebody help me with a hint? Maybe my approach is wrong. Thanks a lot! -- 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 2.2 and gwt-maps.jar not compatible
For me it worked !! On 14 Feb, 16:44, Miroslav Genov mge...@gmail.com wrote: You made a new build of gwt-maps ? -- 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 2.2 and gwt-maps.jar not compatible
FYI, I updated an issue in the issue tracker on this problem: http://code.google.com/p/gwt-google-apis/issues/detail?id=447 On Mon, Feb 14, 2011 at 10:44 AM, Miroslav Genov mge...@gmail.com wrote: You made a new build of gwt-maps ? -- 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. -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- 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: is using DivElement instead of Label recommended?
Sounds like some Cell Widgets might be a perfect fit for you. http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html -Ben On Feb 14, 8:51 am, denis56 denis.ergashb...@gmail.com wrote: Hello, I wonder if it is a usual practice to use Element objects instead of Widgets in GWT to achieve better performacne. For instance, instead of adding a list of labels to a HTMLPanel I could do the following: HTMLPanel pnl = new HTMLPanel(myPanel); DivElement div = DivElement.as(DOM.createDiv()); pnl.getElement().appendChild(div); My motivation is that since these divs shouldn't act on any events there is no reason to imposing more overhead and making them widgets. That's what UiBinder at least does, as far as I understand. I would have also used UiBinder instead, the problem is though that it is a dynamic list of items changing at runtime and since can not be created declaratively and statically? Am I on the right path? What are possible repercussions, memory leaks or maintainability? 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: radio button listener/handler issue on IE8.
Did you give each of your radio button sets different names? Radio button groups are defined by their names. -Ben On Feb 13, 2:13 pm, Dallas007 nandigam...@gmail.com wrote: Hi, I have installed IE8 yesterday and Win XP OS. The problem is radio button selection is not working properly. I have two radio buttons in each vertical panel and I can able to select only one radio button at a time on the page. My requirement is i want to select radio button from each vertical panel. Is there any thing I need to do extra setttings for IE8 to support radio button handlers/ Listeners? From, Dallas007 -- 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 2.2, guice and gin...
Thomas thanks for your answer... when you say but you then have to recompile it against the GWT 2.2 SDK, you mean I have to take the sources and repackage or simply start a gwt compilation? This error is generated by that or am I missing something else? No implementation for javax.inject.Providercom.google.gwt.inject.rebind.GinjectorBindings was bound. while locating javax.inject.Providercom.google.gwt.inject.rebind.GinjectorBindings for parameter 4 at com.google.gwt.inject.rebind.GinjectorBindings.init(GinjectorBindings.java:182) at com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGeneratorModule.java:69) Thanks thanks 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: gwt-maven-plugin: missing module HTML CSS with version 2.1.0+ of the plugin
On 14 February 2011 00:40, Henry henry.rotz...@googlemail.com wrote: Unfortunately, after I upgrading to the new version of the plugin, the internal Jetty can't find the module HTML (with the reference to the GWT js file) as well as the coresponding CSS and web.xml file anymore. It seems that a new folder was created in target/${artifactId}-$ {version}, which contains the compiled GWT Javascript and all static resources besides the entry point HTML, CSS and web.xml. There is also a war folder that is always created, which contains all necessary resources, including the HTML CSS file. It seems that the 1.2 version of the plugin used this war folder, whereas the newer versions use the folder under target, which doesn't contain vital parts of the compiler output. Also before there wasn't any compiler output under the target folder. I'm using Jetty together with the GWT Maven plugin with the configuration below. plugin groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId version2.1.0-1/version configuration runTarget/index.html/runTarget hostedWebapp${project.build.directory}/${project.artifactId}/hostedWebapp webappDirectory${project.build.directory}/${project.artifactId}/webappDirectory copyWebapptrue/copyWebapp /configuration /plugin plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId version8.0.0.M0/version configuration webAppConfig contextPath/${project.artifactId}/contextPath /webAppConfig /configuration /plugin outputDirectory${project.build.directory}/${project.artifactId}/WEB-INF/classes/outputDirectory -- 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 auto-complete only partially working for UiBinder tags
On 02/14/2011 09:18 AM, Jeff Larsen wrote: I've had this happen to me also. I haven't checked my eclipse logs either. I haven't noticed it with the newest version of the plugin however. Good point. I'll check. -- 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 auto-complete only partially working for UiBinder tags
On 02/14/2011 09:12 AM, Rajeev Dayal wrote: Hi Jeff, We were unable to reproduce this behavior. Do you see anything in the Eclipse Error Log (Window - Show View - Error Log). Yes. With your permission, I'll forward the log to you (rather than pollute the list) Cheers, jec -- 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 2.2, guice and gin...
On Monday, February 14, 2011 6:12:23 PM UTC+1, Carlo Alberto Degli Atti wrote: Thomas thanks for your answer... when you say but you then have to recompile it against the GWT 2.2 SDK, you mean I have to take the sources and repackage or simply start a gwt compilation? I meant repackage GIN from sources. But actually I was a bit wrong about source compatibility (the issue is in GIN's side though): GIN uses GWT internals (including those modified classes), so it's not source compatible with any version of GWT. See https://groups.google.com/d/topic/google-gin/FZ2MeAY39O8/discussion -- 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.
Losing RequestBuilder headers in Firefox?
We are seeing some strange behavior in our GWT 2.0.3 application where some of the headers that I setup in RequestBuilder are not making it to the server. I should say right off that I'm not convinced this is a GWT specific problem; it would not surprise me to find out that it is potentially a Firefox issue instead. But since I don't really know, I thought I would post this question here and see if anyone had any valuable input since we are rather stymied at the moment. I will find a Firefox forum to ask as well. Of course, in development, I always had the Firebug plug-in installed and never saw this problem, but now that we are starting to deploy our app to QA and beta customers, we have started to see this. So far - we have identified 2 http headers that are getting lost. 1. Content-type In our GWT code, we create a RequestBuilder and do a setHeader(Content-Type, application/json). In the cases we've found so far where the Content-Type does not make it to the server, we are doing a POST with no content. Since our server is expecting a Content-Type no matter what, we are failing on this request. In particular, this is happening for us with users running Firefox 3.6.13 on Windows 7. They are downloading the latest Firefox from mozilla.org, not adding any add-ons, and then immediately running our app and getting the missing 'Content-Type' header. If they add in the Firebug add-on, the problem disappears. Remove Firebug, and the problem comes back. They are not seeing this on Windows in Chrome or IE. So far we have been able to reproduce this locally only by bringing up Firefox in safe mode - at which point we've been able to reproduce both on Windows 7 and OS/X. Any idea why this would be happening? I'm confident the header is being set in all cases, since it is getting to the server in other browsers and when firebug is installed. Is GWT and/or Firefox 'helping' us by removing Content-Type on empty POSTS? Or...? Since we own the server code as well, we can work around this specific issue by allowing no Content-Type with empty POSTs - but once we do so, the next missing header we ran into is causing us problems... 2. Authorization We are using the Authorization header to send a session id on all requests after login. Again, while running Firefox in safe mode, we are seeing this header get dropped from our request before we get to the server. In FF in safe mode on Windows, I am seeing it striped from the request every time. In FF in safe mode on OS/X, it appears to happen interrmittently - we get 15-20 successful requests before it disappears. Again, in other browsers, or in Firefox with Firebug installed, the header is passed as expected all the time. After entering safe mode, I added in the Live Http Headers add-on; it helps me verify the headers aren't there as well, but doesn't get me any further towards understanding where they are disappearing from. Any ideas on what is happening to our missing http headers or the best way to troubleshoot this would be most appreciated at this point. Thanks, Jo -- 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: Sorting CellTable, AsyncData but Sort Locally
What I was getting confused about doing it this way though is if I'm allowing the data to be sorted by 4 or 5 different columns, would I have to say something like: if (event.isSortAscending nameColumn) { Collections.sort(newData, nameAscComparator) } else if (nameColumn) { Collections.sort(newData, nameDescComparator) } else if (event.isSortAscending timeRequestedColumn) { Collections.sort(newData, timeRequestedAscComparator) } ya know where I have to have a different asc and desc comparator for each column and figure out which column was selected before I sort? I'm thinking that I'll have a small enough set of rows (probably max 100 rows at a time), that if I just make the columns sortable, it will be fine if I don't use paging. So maybe I should do what Greg mentioned and download all the data and use a ListDataProvider. What I liked about the AsyncDataProvider though is that people can change the value of a cell and hit enter and it's updated in the database because this will be an application a couple are using at one time all dealing with the same data so I need changes to show up on what other people are seeing. BTW, thanks a lot guys! On Feb 14, 10:00 am, John LaBanca jlaba...@google.com wrote: If you are supporting paging, then a local sort will only sort the current page, whereas a database sort would sort the data return the results for the current page. For example, if you are on the first page and do a reverse sort, do you want to see all the names that start with z (database sort), or do you want to see all of the names that start with a in reverse order (local sort of the current page). That being said, you can cache the values locally in a list and use ListSortHandler. Alternatively, you can add a ColumnSortEvent.Handler to CellTable and copy and sort the return of CellTable#getVisibleItems(). The code would be something like the following: cellTable.addColumnSortHandler(new ColumnSortEvent.Handler() { public void onColumnSort(ColumnSortEvent event) { ListT newData = new ArrayList(cellTable.getVisibleItems()); // Copy the data if (event.isSortAscending) { Collections.sort(newData, myAscComparator); // Sort ascending. } else { Collections.sort(newData, myDescComparator); // Sort descending. } cellTable.setRowData(cellTable.getVisibleRange(), newData); } }); Thanks, John LaBanca jlaba...@google.com On Mon, Feb 14, 2011 at 12:53 AM, Josh K kendrick.j...@gmail.com wrote: I've been developing an application in GWT that has data I've been displaying in a CellTable. I've set it up with a few TextColumns and a few EditTextColumns. I've got it set up to where if someone changes the data in an EditText cell, it sends an asynchronous request to the database and updates that row in the DB table. In short, I've got all this working using AsyncCallbacks and an AsyncDataProvider. Since 2.2 came out, I want to implement column sorting, kind of like is seen in this example: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable , but with an AsyncDataProvider. I want to sort the columns locally because I think it'd be faster than making an Async DB call again each time someone clicks to sort (which is the impression of what was supposed to happen if I used an AsyncHandler. So I THINK what I'm looking for is some way to use a ListHandler with an AsyncDataProvider? Can anyone shed some light on this? Maybe done it before or know the direction I'm supposed to? If it's even do-able? -- 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.
IE problems
Hi I have my GWT module working in FF, I am trying to launch the same in IE and get the following error: In general, I would like to know how to approach/debug problems of this nature in IE? Thanks Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Message: Object doesn't support this property or method Line: 714 Char: 3 Code: 0 URI: http://localhost:9080/DashboardWeb/gwt/51F5EB69C1BCD1B2A8D104D2BCD28C76.cache.html -- 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: SerializationException problem, please advice!
Does every entity follow the required serialization policy for gwt? i.e. have a default constructor and all nested objects are serializable. Note Class? is not serializable. -- 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: SerializationException problem, please advice!
Some of them have no constructor. The rest is ok On Feb 14, 2011 8:40 PM, Jeff Larsen larse...@gmail.com wrote: Does every entity follow the required serialization policy for gwt? i.e. have a default constructor and all nested objects are serializable. Note Class? is not serializable. -- 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: SerializationException problem, please advice!
No constructor is the same as a default constructor, so you should be fine. -- 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: Installing the full version of GWT Designer for 2.2
The later link now works; I guess it's just that I was too early to check this. (The repository seems to have been updated since yesterday.) -- 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: radio button listener/handler issue on IE8.
Yes it was assigned to different names. Here is the logic to set group names. String groupName = + new Date().getTime(); It works fine if I run the application in debug mode but it does not work with compilation code. Not sure if it is because of groupName. FYI, this is happening only on IE and with Win XP OS. Could you please suggest me if this is because of group Name or some thing else? From Narayana On Mon, Feb 14, 2011 at 9:07 AM, Ben Imp benlee...@gmail.com wrote: Did you give each of your radio button sets different names? Radio button groups are defined by their names. -Ben On Feb 13, 2:13 pm, Dallas007 nandigam...@gmail.com wrote: Hi, I have installed IE8 yesterday and Win XP OS. The problem is radio button selection is not working properly. I have two radio buttons in each vertical panel and I can able to select only one radio button at a time on the page. My requirement is i want to select radio button from each vertical panel. Is there any thing I need to do extra setttings for IE8 to support radio button handlers/ Listeners? From, Dallas007 -- 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.
UI Binder File Not Loaded During Runtime
Whenever I run the application nothing is displayed on the main page (using the development server). The only thing that is displayed is the page's title. Everything has been checked including adding a widget to the Root Panel when the module is loaded. Is there anything else that is worth checking? -- 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: Problems while installing Google Updates for Eclipse 3.6
On febr. 14, 12:11, csillag csillag.kris...@gmail.com wrote: I see this, too. The funny thing is, the installation worked yesterday, on a different machine. The only difference is that this time I started the installation behind a proxy. (Later I tried without a proxy, too, but it still did not work.) Now I have connected the problematic machine to the network I used to upgrade the other computer (to rule out any network/proxy issues), and the installation still failed. Now I have no further ideas what to check. Csillag -- 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: UI Binder File Not Loaded During Runtime
Are you using layout panels? If so, have you set the doctype to standards mode? Also, if you are using layout panels, you need to attach them to RootLayoutPanel, not RootPanel. Another thing to check is to see if the widgets are attached to the DOM with something like firebug. -- 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 2.2, guice and gin...
I run into the same problem yesterday but finally, after taking new GIN snapshot and migrate to GUICE 3.0 (as is described in your post) I was successful and everything seems working now. The only problem I spent several hours on was that Nullable annotation disappeared from Guice internals and it took me a lot of time until I understood what was going on. http://groups.google.com/group/google-guice/browse_frm/thread/38859fab8f8aaa0a You have to be prepared for a lot of surprises if you bank on google code, is it bad news, but good news is that - on the whole - it works. On 14 Lut, 16:57, Carlo Alberto Degli Atti lordk...@gmail.com wrote: Hello everybody, this morning I had the (bad) idea to update my eclipse environment to use gwt 2.2... (with 2.1 everything was fine)... now I'm experiencing a lot of problems... maybe it's my fault (I'm a new gwt related techs user)... My application is using gin and guice; before this morning I was using gin v1.0 and guice 2.0. Now: *1. after upgrading to gwt (to 2.2) I got this exception (still the original guice and gin versions):* [WARN] failed JettyContainerService$ApiProxyHandler@ae281c: java.lang.NoClassDefFoundError: com/google/inject/internal/Lists [WARN] Error starting handlers java.lang.NoClassDefFoundError: com/google/inject/internal/Lists at com.google.inject.servlet.FiltersModuleBuilder.init( FiltersModuleBuilder.java:36) at com.google.inject.servlet.ServletModule.init(ServletModule.java:219) * 2. then I updated the guice version to 3.0-rc2 *mantaining* the original gin version (1.0), but I got this unlikely mix*: gin-1.0.jar guice-2.0.jar guice-servlet-3.0-rc2.jar as expected, my application threw this exception: [WARN] Error starting handlers java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Preconditions at com.google.inject.servlet.ServletModule.configure(ServletModule.java:44) at com.google.inject.AbstractModule.configure(AbstractModule.java:59) ... *3. after some investigations, I discovered that gwt 3.2 requires a new gin (see this post **http://groups.google.com/group/google-gin/browse_thread/thread/70520a... ). **I also updated gin to 1.1-2.2-SNAPSHOT. *The dependencies looked right now: gin-1.1-2.2-20110211.140818-5.jar guice-3.0-rc2.jar guice-assistedinject-3.0-rc2.jar guice-servlet-3.0-rc2.jar gwt-servlet-2.2.0.jar javax.inject-1.jar **BUT* the application threw another exception:* com.google.inject.CreationException: Guice creation errors: 1) No implementation for javax.inject.Providercom.google.gwt.inject.rebind.GinjectorBindings was bound. while locating javax.inject.Providercom.google.gwt.inject.rebind.GinjectorBinding for parameter 4 at com.google.gwt.inject.rebind.GinjectorBindings.init(GinjectorBindings.jav a:182) at com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGe neratorModule.java:69) So: - where am I wrong? - do you have suggestions to solve this? Thanks in advance for any help CA -- 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: UI Binder File Not Loaded During Runtime
Doc type is set to standards mode and I have switched from RootPanel to RootLayoutPanel, but it has not changed anything with displaying the main page. There doesn't appear to be anything in the DOM related to the application. What should I specifically look for with GWT in the DOM? On Feb 15, 10:15 am, Jeff Larsen larse...@gmail.com wrote: Are you using layout panels? If so, have you set the doctype to standards mode? Also, if you are using layout panels, you need to attach them to RootLayoutPanel, not RootPanel. Another thing to check is to see if the widgets are attached to the DOM with something like firebug. -- 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: UI Binder File Not Loaded During Runtime
Pop open firebug and start drilling down into the DOM and see if you can find your code in there. I.e. any of your labels, widgets, panels. If they aren't there, then maybe an error is being caught somewhere and not thrown, if they are there but not visible, start mucking around with CSS properties to see if you've attached stuff correctly. Note, if you're using layout panels, you're best case scenario is to use layoutpanels from rootpanel all the way through to your top level panels. doing something like FlowPanel panel = new FlowPanel(); DockLayoutPanel dockPanel = new DockLayoutPanel(); //do stuff with docklayoutpanel RootLayoutPanel.get().add(panel); this will cause nothing to be displayed. For more information, http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html -- 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: UI Binder File Not Loaded During Runtime
After looking at a similar application that does something very similar (in code) it displays the main page just fine. In the corresponding DOM the are 3 defined GWT variables (__gwt_SessionID, __gwt_scriptsLoaded, __gwt_stylesLoaded). With the problematic application it doesn't have the defined GWT variables, and it does not compile (no compile error messages appear in Eclipse's Console window). Hence Firefox doesn't freeze when the application is loaded the first time. On Feb 15, 10:51 am, Jeff Larsen larse...@gmail.com wrote: Pop open firebug and start drilling down into the DOM and see if you can find your code in there. I.e. any of your labels, widgets, panels. If they aren't there, then maybe an error is being caught somewhere and not thrown, if they are there but not visible, start mucking around with CSS properties to see if you've attached stuff correctly. Note, if you're using layout panels, you're best case scenario is to use layoutpanels from rootpanel all the way through to your top level panels. doing something like FlowPanel panel = new FlowPanel(); DockLayoutPanel dockPanel = new DockLayoutPanel(); //do stuff with docklayoutpanel RootLayoutPanel.get().add(panel); this will cause nothing to be displayed. For more information,http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html -- 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: IE problems
Hi SVR, that's indeed a challenge - if nothing else does help any more, try pinning down the problem by inserting debug statements (e.g. alerts) closely (and even more closely as you move along) around the spot where you fail. Maybe it helps to look into the source but most probably you won't see so much - probably you recognize the problem... Hope this helps a little - good luck! Sebastian Rothbucher On 14 Feb., 19:34, SVR svr...@gmail.com wrote: Hi I have my GWT module working in FF, I am trying to launch the same in IE and get the following error: In general, I would like to know how to approach/debug problems of this nature in IE? Thanks Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Message: Object doesn't support this property or method Line: 714 Char: 3 Code: 0 URI:http://localhost:9080/DashboardWeb/gwt/51F5EB69C1BCD1B2A8D104D2BCD28C... -- 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 auto-complete only partially working for UiBinder tags
I have been seeing the same issue since loading the GWT Designer tools. I am still on 1.4.1.v201012170127. The warning says: Unhandled event loop exception The top of my stack trace is: java.lang.NullPointerException at com.google.gwt.eclipse.core.uibinder.contentassist.AbstractCompletionProposal.getActiveViewer(AbstractCompletionProposal.java:136) at com.google.gwt.eclipse.core.uibinder.contentassist.AbstractCompletionProposal.apply(AbstractCompletionProposal.java:74) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:933) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertSelectedProposalWithMask(CompletionProposalPopup.java:879) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey(CompletionProposalPopup.java:1305) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.verifyKey(ContentAssistant.java:806) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:489) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:65) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) I can send the entire stack trace if needed. -- 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: SerializationException problem, please advice!
Hi, this is a mean exception - as it seems to happen irregularly. In case you have the same problems I also had already: take the outermost object (the one you directly pass into the service or return from the service) and create private local variables for ALL types that have ever caused problems. You don't have to assign the variable ever (just type private SomeType var1;). The background on this is that GWT seems to examine the classpath for all possible subclasses and fails if it can not guess all of them. Creating the variable reminds GWT and you should be save. Of course, this won't work for many variables as you blow up the size of each RPC request, but for a handful of objects (and I did never have more) this works more than well... Hope this helps - best regards Sebastian Rothbucher On 14 Feb., 15:05, Ice13ill andrei.fifi...@gmail.com wrote: I use GWT to develop my app, deploying it to GAE. Sometimes, (more often when switching between different versions) i get this exception: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'ro.expert.evt.shared.entities.UserProfile' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized. My entities classes (like UserProfile above) extends an EObject class that also extends EEntity (which is the only class that implements java.io.Serializable). I cannot reproduce it exactly, but i found some posts on the web saying that adding a default empty constructor to all entities will resolve the problem. I'm not sure about that so i would like some advice on implementing IsSerializable (GWT) or Serializable (java.io). Can I use both GWT's IsSerializable AND java.io.Serializable to be implemented by the top level class ? (EEntity in my case) so that my entities can also be passed through a wire or GWT RPC. Or does the GWT IsSerializable needs to be implemented by every entity class ? (like UserProfile) -- 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: Create an Image from received bytes on client side - possible?
Hi, you might try using a base 64 string as source. So when you have a base 64 string, you might try: Image myimage=new Image(); myimage.setUrl(data:image/jpeg;base64,+picdata.getText()); Maybe this works; to be honest, I'm not 100% sure but GWT seems to do this for some image coming with the framework... Best regards Sebastian Rothbucher On 14 Feb., 10:16, MJ zuti...@gmail.com wrote: Hey guys. I did some researching on this matter but besides ClientBundle I failed to find something that would help me here. ClientBundle would work OK in case I would have the images as static references, but what I am trying to do (just playing around, getting to know this GWT) is similar to file explorer. A tree on the left side of my workspace shows folders with files inside them. For my purposes, picture files. And these folders can be anywhere on the HDD. Now, how would I go about sending selected image (or complete folder content) to client side? What I had in mind is that I would create a widget that would hold an Image object on it + perhaps a label or two. Nothing fancy. This widget would call a asnyc service to get the picture data from the server. Bytes. But, once I would get the data to the client side, how can I create an Image object out of it? I did not find a way. Alternative I could probably make browsing only possible on such folders that are accessible over the internet (virtual folders I think is the correct term) and just send over appropriate URLs, since Image does accept such parameter. But I would really like to know if original idea is feasible. ImageResource from received bytes? Thank you all. -- 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 disable the context menu
Hi Koen, you could use the oncontextmenu event handler and return false to hide the menu. IE seems to require this be in the body but at least Firefox is quite straightforward... There is also a quite good blog post on the web on that: http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/ Hope this helps - best regards Sebastian Rothbucher On 13 Feb., 10:29, KoenP koen.pil...@gmail.com wrote: Hi, I would like to disable the rightclick context menu on pictures in my Googlewebs website. Any idea where I should implent which code? KoenP -- 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: Exposing only the interfaces of the Data Entities to GWT
Hi Nitiraj, I guess in that case you have to chance but create another (entirely dumb) implementation of IUser, etc. that does nothing but store the properties - and to copy over into these objects before performing the actual service / before returning. As you'd still be on the server you can probably make use of reflection (or reflection-based stuff such as beanutils) to realize that... Hope this helps - best regards Sebastian Rothbucher On 11 Feb., 06:25, Nitiraj crazy.na...@gmail.com wrote: Hi, I have a architecture where one jar contains the interfaces of Entities used in the project. Say, IUser, IGroup etc. Other jar contains the implementation (concrete classes) of these Entities, say User.java, Group.java etc .. I only want to expose the interface jar to the GWT front end UI project and hide all the implementation object. But I want to pass these objects directly into the client code. I have seen Objectify (http://code.google.com/p/objectify-appengine/ ) but this will also need me to expose the User.java and Group.java implementations. How should I go about it. Any help is deeply appreciated. ! -- 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: Frame not refreshing when call setURL
Hi Greg, which part of the URL do you customize? Is there probably a # before that (accidentially)? (all after the hash won't work, at least not in IE)... IN case you really can't find any solution, could you completely randomize the filename and use a rewrite rule on the server (mod_rewrite) to compensate? Hope this helps - best regards Sebastian Rothbucher On 10 Feb., 18:45, Greg Dougherty dougherty.greg...@mayo.edu wrote: So, I have a hidden frame, and I set its URL to download a file from my server. The first time I do this, it works like a charm. Any subsequent times I do it, my server never gets the call. I am changing at least one of the parameters of the URL each time, so I don't believe that Firefox would be caching the call (and, even if it was, shouldn't it give me the file to save again?). Firefox 3.6.13, on Windows XP. -- 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: Problems while installing Google Updates for Eclipse 3.6
On febr. 14, 22:14, csillag csillag.kris...@gmail.com wrote: Now I have no further ideas what to check. Finally, a full Eclipse reinstall solved the problem. (Still no idea what went wrong, though.) -- 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: Parsing objects of persistent classes from server side code to client side.
Hi Ambegbodas, there was a quite similar post on the same forum: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f55bda67f02fbb67 I guess you really have to copy into simple objects as the most simplistic solution... Best regards Sebastian Rothbucher On 10 Feb., 19:11, Ambegodas ambego...@gmail.com wrote: I working on project where i have a class called Product in server side. Since i need to use JDO to store product objects in data store i must include the product class in server side. But the problem i have is that i cant pass the retrieved product objects from data store to client side. As i figured out, the problem is being unable to import server side classes to client side code. I would be glad if any body has a proper solution for this problem. Thanks. Ambegodas. -- 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 webapp into an IFRAME
Hi, I can also confirm this works quite smoothly: embed into an Iframe and redirect to the own URL or a #marker URL with target=top to prevent that. Best Regards Sebastian Rothbucher On 2 Feb., 17:02, aditya sanas 007aditya.b...@gmail.com wrote: hi, yeah ofcourse it will work i have implemented it in my projects but you might require to check browser compatibility for frame size and some minor changes but this works for sure. -- Aditya On Wed, Feb 2, 2011 at 9:20 PM, obesga obe...@gmail.com wrote: Hello I've done a GWT app which is running on it's own page; but I've a request to embed the page into a portal. As I need to get the job done ASAP; I'm thinking about embedding the GWT weapp into a iframe, as iframe src=app/myapp.html/iframe Would it work ? Can a GWT app detect when it's running on a top page or on a iframe ? 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.comgoogle-web-toolkit%2Bunsubs cr...@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: Load Testing GWT applications
Hi Chandrasekar, you could of course simulate 20 users via Selenium - but that rather load-tests the browser and not the application. From my point of view, the server-side code is the one to be load tested. What I did was: get myself tamper data for firefox (check out https://addons.mozilla.org/en-us/firefox/addon/tamper-data/) and use the application while recording the server interaction. With good test data, you can quickly reverse-engineer the protocol and derive (random / listed) parameters. Then, you can use a quite normal load test tool like Jakarta JMeter to do a simulation... Hope this helps! Best regards Sebastian Rothbucher On 10 Feb., 09:02, Chandrasekar Venkatraman s.its.chan...@gmail.com wrote: Hello, I need to implement Load Testing(say for some 20 users) on my GWT application running in tomcat server on my machine. I am working on Ubuntu OS. On googling, I find NeoTys that satisfies my requirement, but the trial version has few conditions: 1. It supports only Windows Users 2. the server shouldn't be localhost. Can anyone provide some light on the possible tools out in the market that would meet my expectations? Regards, Chandrasekar V. -- 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.
Replace AbstractPlaceHistoryMapper with a custom mapper using deferred binding
Looks like the class that is generated for PlaceHistoryMapper is hard-coded to used AbstractPlaceHistoryMapper as the super class. So, I am trying to work around this by trying to replace this AbstractPlaceHistoryMapper with a custom mapper of mine using deferred binding . I am using the following rule in my *.gwt.xml: replace-with class=com.google.gwt.place.impl.AbstractPlaceHistoryMapper when-type-is class=com.test.sampleapp.CustomPlaceHistoryMapper / /replace-with But for some reason the replace does not seem to be happening. CustomPlaceHistoryMapper is not getting kicked in and the generated class still uses AbstractPlaceHistoryMapper. Any thoughts/pointers as to what might be resulting this behavior are much appreciated. 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.
CellTable:: Deselecting an already selected row
I wish to deselect an already selected row on a CellTable. For example, a user comes and selects a row, then for him to de-select the currently selected row, he has to click on another row, but the problem is that, when we have ONLY 1 row available there is no way to deselect the currently selected row. Also, once you select a row on CellTable and you later refresh the data, the CellTable continues holding the currently selected row, i need it to forget about its past selection. Anyone tinkered with such case, any solutions? -- 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: HandlerManager is deprecated and theres no removeHandler(...) method at SimpleEventBus class
Excuse me for coming in late to the whole HandlerManager deprecation business, but I just found out about it because I upgraded GWT and got deluged with deprecation warnings, but... What exactly is the problem with HandlerManager? I've seen some references in old threads to its complexity. Is that it? Or did that also mean it has performance issues? Or is there something inherently wrong with the designs it lends itself to? For me it seemed to be exactly what I needed. I implemented my event bus so that it had a set of static methods that delegated to a singleton instance of HandlerManager. That meant that my classes that implemented an event handler looked like this: public class SomeThing implements MyEventHandler{ public SomeThing(){ MyEventBus.addHandler(MyEvent.TYPE,this); ... } @Override protected void finalize() throws Throwable } MyEventBus.removeHandler(this); ... } } and the classes that fired events just made calls to MyEventBus.fireEvent(new MyEvent()). To implement this with SimpleEventBus, I will have to keep my own MapH extends EventHandler,HandlerRegistration that I will have to manage. So, it doesn't seem like a big plus to me. The javadocs on SimpleEventBus suggest a design based on creating handlers as anonymous inner classes and having the Event class take care the handler registration (although it still seems to be the handler class that knows how to find the eventBus). Is there an advantage to doing things this way? -- 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: CellTable:: Deselecting an already selected row
On Tuesday, February 15, 2011 12:37:26 AM UTC+1, Veeren wrote: I wish to deselect an already selected row on a CellTable. For example, a user comes and selects a row, then for him to de-select the currently selected row, he has to click on another row, but the problem is that, when we have ONLY 1 row available there is no way to deselect the currently selected row. Ctrl+clicking should do it (at least with GWT 2.2, not sure for 2.1) Also, once you select a row on CellTable and you later refresh the data, the CellTable continues holding the currently selected row, i need it to forget about its past selection. If you use a SingleSelectionModel, it's as easy as sm.setSelected(sm.getSelectedObject(), false), and if you're using a MultiSelectionModel: sm.clear() -- 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: HandlerManager is deprecated and theres no removeHandler(...) method at SimpleEventBus class
http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/2e4c986ae1bd2c8b/551c19bbff3ed942 On Feb 14, 3:43 pm, malcolm.davis malcolm.da...@bms.com wrote: Excuse me for coming in late to the whole HandlerManager deprecation business, but I just found out about it because I upgraded GWT and got deluged with deprecation warnings, but... What exactly is the problem with HandlerManager? I've seen some references in old threads to its complexity. Is that it? Or did that also mean it has performance issues? Or is there something inherently wrong with the designs it lends itself to? For me it seemed to be exactly what I needed. I implemented my event bus so that it had a set of static methods that delegated to a singleton instance of HandlerManager. That meant that my classes that implemented an event handler looked like this: public class SomeThing implements MyEventHandler{ public SomeThing(){ MyEventBus.addHandler(MyEvent.TYPE,this); ... } @Override protected void finalize() throws Throwable } MyEventBus.removeHandler(this); ... } } and the classes that fired events just made calls to MyEventBus.fireEvent(new MyEvent()). To implement this with SimpleEventBus, I will have to keep my own MapH extends EventHandler,HandlerRegistration that I will have to manage. So, it doesn't seem like a big plus to me. The javadocs on SimpleEventBus suggest a design based on creating handlers as anonymous inner classes and having the Event class take care the handler registration (although it still seems to be the handler class that knows how to find the eventBus). Is there an advantage to doing things this way? -- 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 2.2 Eclipse update fails -- needs PDE
Hi Tim, If you navigate to Help - Software Updates, what Update Sites are listed there? Thanks, Rajeev On Sun, Feb 13, 2011 at 2:49 PM, Tim McCormack ti...@ccs.neu.edu wrote: I tried upgrading to the latest GWT in Eclipse 3.4 Ganymede SR2 and received this message: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.pde.build [3.4.1.R34x_v20081217]. Using Ubuntu 10.04 Lucid Lynx x64, running 32-bit Eclipse with ia32 Java libs. Wiping out the Eclipse install did not help -- and in fact made things worse: Now I don't have GWT at all! - Tim McCormack -- 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.
GWT 2.2 / GWT Designer / Add CellTable Crashes GWT Designer
I don't know if I'm doing something naive or not. I've not used a CellTable widget before so maybe I am. Any way, doing this crashes GWT Designer: 1. Create class extending Composite. 2. Open the class with GWT Designer. 3. Try to add a CellTable to it. Specify String as the row type. GWT Designer crashes with message: WindowBuilder encountered unexpected internal error. Please contact support. org.eclipse.wb.internal.core.utils.check.AssertionFailedException: null argument: Can not find method setRowData(java.util.List) in class com.google.gwt.user.cellview.client.CellTable -- 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: Error installing GWT 2.2 in eclipse 3.6
Thanks for all of the feedback. We're looking into the installation issues and will have an update asap. -- Chris On Feb 14, 2011 11:33 AM, alexoffspring alessales...@gmail.com wrote: It cannot be considered acceptable to have all these problems just for an upgrade. Somebody from Google should tell where in the release notes (http:// code.google.com/intl/it-IT/webtoolkit/doc/latest/ReleaseNotes.html) it is written that GWT 2.2.0 have all these dependency problems. The procedure for installation linked in the releasenotes is the same as always, and the unique way to ask for help with installation problems is this forum. But still nobody from Google is giving the solution. Up until now, GWT Designer was independent of GWT and GPE. Now they are integrating and (kind of) uniting. So I consider it acceptable that one must remove and old and incompatible version of GWT designer before installing the new one, which is now integrated into GPE. -- 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.
has this patch made it to 2.2
http://gwt-code-reviews.appspot.com/1316801/patch/9001/10001 -- 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 2.2 and gwt-maps.jar not compatible
Thanks dilbert, that worked. Built new jar, also attached here http://code.google.com/p/gwt-google-apis/issues/detail?id=447 may help some other people. On Feb 14, 4:52 pm, Eric Ayers zun...@google.com wrote: FYI, I updated an issue in the issue tracker on this problem: http://code.google.com/p/gwt-google-apis/issues/detail?id=447 On Mon, Feb 14, 2011 at 10:44 AM, Miroslav Genov mge...@gmail.com wrote: You made a new build of gwt-maps ? -- 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. -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- 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 2.2 / GWT Designer / Add CellTable Crashes GWT Designer
My bad, it looks like. I saw another post saying that one should be sure to first uninstall all Window Builder stuff. I thought I had uninstalled everything, but overlooked these. After doing a complete uninstall and reinstall, the aforementioned problem no longer exists. Thanks for GWT! On Feb 14, 6:25 pm, cri chuck.irvine...@gmail.com wrote: I don't know if I'm doing something naive or not. I've not used a CellTable widget before so maybe I am. Any way, doing this crashes GWT Designer: 1. Create class extending Composite. 2. Open the class with GWT Designer. 3. Try to add a CellTable to it. Specify String as the row type. GWT Designer crashes with message: WindowBuilder encountered unexpected internal error. Please contact support. org.eclipse.wb.internal.core.utils.check.AssertionFailedException: null argument: Can not find method setRowData(java.util.List) in class com.google.gwt.user.cellview.client.CellTable -- 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: CellTable:: Deselecting an already selected row
If you use a SingleSelectionModel, it's as easy as sm.setSelected(sm.getSelectedObject(), false) I am using this method on my CellTable and it works. But somehow I get always an com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses Exception. Is this a know issue or do you think that my implementation cout cause the problem? My Code looks like this: ... final SingleSelectionModelMember selectionModel = new SingleSelectionModelMember(); Handler selectionHandler = new SelectionChangeEvent.Handler() { public void onSelectionChange(SelectionChangeEvent event) { Member selection = selectionModel.getSelectedObject(); eventBus.fireEvent(new ShowMemberEvent(selection.getBarcodeID())); selectionModel.setSelected(selection, false); } }; selectionModel.addSelectionChangeHandler(selectionHandler); ... Thanks, Michael -- 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.
Application No Longer Compiles with 2.2
My application works fine when I run it from within Eclipse, but when I hit Compile for deployment, it starts to compile, then outputs the warnings below and then just stays there. I let it sit for a half and and no other information comes out. The odd part is, the warning is coming from within the GWT 2.2.0/gwt-user.jar. Anyone have a suggestion? Compiling module com.sean.CelticLock Scanning for additional dependencies: jar:file:/C:/gwt-2.2.0/gwt-user.jar!/com/google/gwt/cell/client/IconCellDecorator.java Computing all possible rebind results for 'com.google.gwt.cell.client.IconCellDecorator.Template' Rebinding com.google.gwt.cell.client.IconCellDecorator.Template Invoking generator com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator Constructing interface com.google.gwt.cell.client.IconCellDecorator.Template Generating method body for imageWrapperTop() [WARN] Template with variable in CSS context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually Generating method body for imageWrapperBottom() [WARN] Template with variable in CSS context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually Generating method body for outerDiv() [WARN] Template with variable in CSS context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually [WARN] Template with variable in CSS context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually Generating method body for imageWrapperMiddle() [WARN] Template with variable in CSS context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually [WARN] Template with variable in CSS context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually -- 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.
CellTable with ListDataProvider and AsyncDataProvider
I think I'm wanting to use both a ListDataProvider and an AsyncDataProvider for a CellTable. I want to use the AsyncDataProvider to keep my rows and database in sync when someone makes a change to a row, and I want to use the ListDataProvider to sort the rows locally (I don't want to make a server hit everytime). Is this possible? Having 2 DataProviders for a CellTable? Does anyone have a suggestion to a starting place or direction I should take? -- 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: CellTable with ListDataProvider and AsyncDataProvider
If your AsyncDataProvider can keep all database rows locally, there is no need for ListDataProvider because you can sort your list with Collections.sort() http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html#Package_java_util -- 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: CellTable with ListDataProvider and AsyncDataProvider
Can you provide an example? I understand what you're saying but I don't know how to code it. I've got a celltable and so I would add what to it to say when you click the header for this column, sort? On Feb 14, 10:18 pm, Y2i yur...@gmail.com wrote: If your AsyncDataProvider can keep all database rows locally, there is no need for ListDataProvider because you can sort your list with Collections.sort()http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html#Pac... -- 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: Create an Image from received bytes on client side - possible?
Thanks Sebastian. I'll give this a try before I go the pure URL way :) Thanks. On 2/14/11, Sebastian Rothbucher sebastian.rothbuc...@clarities.de wrote: Hi, you might try using a base 64 string as source. So when you have a base 64 string, you might try: Image myimage=new Image(); myimage.setUrl(data:image/jpeg;base64,+picdata.getText()); Maybe this works; to be honest, I'm not 100% sure but GWT seems to do this for some image coming with the framework... Best regards Sebastian Rothbucher On 14 Feb., 10:16, MJ zuti...@gmail.com wrote: Hey guys. I did some researching on this matter but besides ClientBundle I failed to find something that would help me here. ClientBundle would work OK in case I would have the images as static references, but what I am trying to do (just playing around, getting to know this GWT) is similar to file explorer. A tree on the left side of my workspace shows folders with files inside them. For my purposes, picture files. And these folders can be anywhere on the HDD. Now, how would I go about sending selected image (or complete folder content) to client side? What I had in mind is that I would create a widget that would hold an Image object on it + perhaps a label or two. Nothing fancy. This widget would call a asnyc service to get the picture data from the server. Bytes. But, once I would get the data to the client side, how can I create an Image object out of it? I did not find a way. Alternative I could probably make browsing only possible on such folders that are accessible over the internet (virtual folders I think is the correct term) and just send over appropriate URLs, since Image does accept such parameter. But I would really like to know if original idea is feasible. ImageResource from received bytes? Thank you all. -- 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.
Object-backed ValueListBoxInteger Editor?
I'm trying to create an editor that features a ListBox of Strings (mapped to integer values) that binds to an integer. More specifically, a ListBox of proxy objects rendered to a string from a name property which associates to its integer binding based off of a separate integer property. For example: public interface IceCreamProxy { Integer getId(); String getName(); } public interface PersonProxy { Integer favoriteIceCreamId(); } My implementation (IceCreamBox extends ValueListBoxInteger) binds to the integer properly but has no notion of IceCreamProxy. I can set the available ids for the proper number of items in the list but I'm not sure how to make it aware of the actual available ice cream's rather than just their ids. Any guidance would be appreciated. I'm using GWT's MVP and RequestFactories if that has any bearing on the format your response and/or code. -- 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.
showcase scrollable pager
I would like to use that showcaes ScrollPanel Pager with the CellList from the example. http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/view/client/AsyncDataProvider.html In TestScrollPanel.ui.xml, g:VerticalPanel ui:field=uiVPanel s:ScrollPagerPanel ui:field='scrollPagerPanel' / /g:VerticalPanel In TestScrollPanel.java initWidget(uiBinder.createAndBindUi(this)); CellListString cellList = new CellListString(new TextCell()); cellList.setPageSize(10); // Create a data provider. MyDataProvider dataProvider = new MyDataProvider(); // Add the cellList to the dataProvider. dataProvider.addDataDisplay(cellList); scrollPagerPanel.setDisplay(cellList); And then public void onModuleLoad() { // RootPanel.get().add(new TestScrollPanel()); RootLayoutPanel.get().add(new TestScrollPanel()); // RootPanel.get().add(new ScrollPanel().asWidget()); } But I do not see anything on the panel. Any help please. -- 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.