GWT Designer still supported?
Is GWT Designer still supported? This piece of software has always been "touchy" (been using it for 2+years now). Now, I can't get the thing running on 3.6 nor 4.2 Eclipse. I've uninstalled and reinstalled the whole Google suite (sdk, designer, plugin etc.) a couple of times to no avail. I always get the unhelpful message "java.lang.NoSuchMethodError: java.lang.Iterable.java_lang_Iterable_iterator()Ljava/util/Iterator;". Is it time to abandon GWT Designer? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dmA8lGe_pv0J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Designer fails under Eclipse 3.7 with latest update
In the "Eclipse SDK Installation details" under "Plugins" I see GWT Designer WebKit Support 2.0 2.4.2.r37x201109270337 com.google.gdt.eclipse.designer.hosted.2_0.webkit GWT Designer WebKit Support 2.2 2.4.2.r37x201109270337 com.google.gdt.eclipse.designer.hosted.2_2.webkit Everything was working fine until the last time I was offered to update the Google Plugin and now I can't get work done :( On Oct 14, 5:35 pm, "Eric Clayberg (Google)" wrote: > Nothing at the library level has changed in GWT Designer any time recently. > The requirements under Linux are (and have been for quite some time) > libwebkit.so or xulrunner-1.9.x. GWT Designer tries to use WebKit first. If > it isn't available for some reason (older Linux distro or wrong/different > library name), GWT Designer tries to fallback to Mozilla and use > xulrunner-1.9.x. Keeping up with the incompatibilities between Linux distros > and versions is rather mind numbing at times. > > Is the GWT Designer bundle com.google.gdt.eclipse.designer.hosted.2_2.webkit > installed in your Eclipse environment. If that is not installed for some > reason, GWT Designer can't use WebKit, and you would see that same > exception. -- 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 Designer fails under Eclipse 3.7 with latest update
But there is " libwebkit-1.0.so.2 " on my system in /usr/lib Up until the latest release of the Google plugin (which included an update to GWT Designer), everything was working fine. There isn't any " libwebkitgtk " installed on my system (nor did I remove it or ever installed it intentionally). It seems the problem is elsewhere... any clue? On Oct 14, 4:37 pm, "Eric Clayberg (Google)" wrote: > This is caused by incompatibility between Linux versions and inconsistent > library naming across versions and distros. > > As a work around you can... > > 1) Open terminal and change dir to /usr/lib. > > 2) Execute sudo ln -s libwebkitgtk-1.0.so.0.6.0 libwebkit-1.0.so.2 command, > where "libwebkitgtk-1.0.so.0.6.0" is the webkit lib file (it's name could > have a different version number on your system). > > 3) Restart Eclipse. -- 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 Designer fails under Eclipse 3.7 with latest update
I get the stack trace whilst trying to access the "Design" view. I am running Eclipse 3.7.1 under Linux Ubuntu 10.04. !ENTRY org.eclipse.wb.core 4 4 !MESSAGE Designer [2.4.2.r37x201109270347]: 4107 (Unable to load native library.). gwt-ll !STACK 0 org.eclipse.wb.internal.core.utils.exception.DesignerException: 4107 (Unable to load native library.). gwt-ll at com.google.gdt.eclipse.designer.GwtExceptionRewriter.rewrite(GwtExceptionRewriter.java: 74) at org.eclipse.wb.internal.core.utils.exception.DesignerExceptionUtils.rewriteException(DesignerExceptionUtils.java: 225) at org.eclipse.wb.internal.core.editor.DesignPage.showExceptionOnDesignPane(DesignPage.java: 472) at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java: 414) at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java: 381) at org.eclipse.wb.internal.core.editor.DesignPage.refreshGEF(DesignPage.java: 377) at org.eclipse.wb.internal.core.editor.actions.RefreshAction.run(RefreshAction.java: 46) at org.eclipse.wb.internal.core.editor.actions.DesignPageAction.run(DesignPageAction.java: 34) at org.eclipse.wb.internal.core.editor.errors.JavaExceptionComposite.doRefresh(JavaExceptionComposite.java: 87) at org.eclipse.wb.internal.core.editor.errors.ExceptionComposite $3.widgetSelected(ExceptionComposite.java:129) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java: 240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: 2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: 667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java: 123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: 196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: 110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: 79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) Caused by: java.lang.UnsatisfiedLinkError: no gwt-ll in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at com.google.gdt.eclipse.designer.moz.BrowserShellLinux.(BrowserShellLinux.java: 86) at com.google.gdt.eclipse.designer.moz.BrowserShellLinux32.(BrowserShellLinux32.java: 42) at com.google.gdt.eclipse.designer.moz.BrowserShellFactory.create(BrowserShellFactory.java: 30) at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createBrowserShell(HostedModeSupport.java: 311) at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.(HostedModeSupport.java: 88) at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupportFactory.create(HostedModeSupportFactory.java: 33) at com.google.gdt.eclipse.designer.model.widgets.support.GwtState.getHostedModeSupport(GwtState.java: 939) at com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize0(GwtState.java: 228) at com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize(GwtState.java: 204) at com.google.gdt.eclipse.designer.parser.ParseFactory.getClassLoader(ParseFactory.java: 430) at org.eclipse.wb.internal.core.parser.AbstractParseFactory.initializeClassLoader(AbstractParseFactory.java: 732) at com.google.gdt.eclipse.designer.parse
Re: GWT links are not working with Internet Expolrer
I would suggest looking at this thread: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/85512dc19ea1b8fd/bc457e779df57f08 assuming you are referring to HTML elements. jld. On Oct 24, 12:22 am, "Ian Petersen" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 24, 2008 at 12:16 AM, ramesh_mantra <[EMAIL PROTECTED]> wrote: > > please give me your valuable suggestions to fix this issue. > > If you expect any kind of useful answer, you're going to have to > present a lot more information. What do you mean by links? > Hyperlinks? What's the failure mode in IE? Do they all fail in IE or > only some of them? Do the ones that fail fail all the time? > > GWT is, generally, very good at hiding the differences between > browsers so I'd be willing to bet it's you that's doing something > wrong. You're going to have to post code and a description of how you > replicate the problem. > > Ian --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Image Anchor widget.
The work-around for anybody who cares: add a 'click listener' to the Anchor widget and do the navigation "manually". Yet another reason why I don't like IE as much as the others... On Sep 26, 11:43 am, Jean-Lou Dupont <[EMAIL PROTECTED]> wrote: > How would I go in creating a cross-browser Image Anchor ( i.e. href="#somewhere"> ) using an image > bundle? > > I am having some troubles with IE6: there is an extra tag called > "clipper" (e.g. ) that seems to be > created with a style attribute that prevents the image from being > clickable i.e. navigating to the anchor's link when clicked. > > 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: HTML anchor issue with IE6 / History
Thanks Isaac. on #1) I have played quite enough with trying to dynamically link DOM elements to GWT widgets and let me tell you it is not a pretty sight on #2) I must have posted my solution at the ~same time you posted this suggestion! On Sep 26, 4:03 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote: > There are a few things you could do. Here are a couple of options: > > 1. Find tags in your HTML and replace them with Hyperlink widgets. > 2. Use JSNI to expose History.newItem() and call that method from your > tags onClick. > > On Fri, Sep 26, 2008 at 2:46 PM, Jean-Lou Dupont > > <[EMAIL PROTECTED]> wrote: > > > It seems that putting a simple HTML anchor does not work as > > expected i.e. when the user clicks on the anchor, IE6's location bar > > changes BUT the "onHistoryChanged" event is NOT fired. Works fine on > > Chrome and FF. I am pretty certain this used to work on GWT 1.4 . > > > Is there a work-around? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: HTML anchor issue with IE6 / History
Found a work-around: fix-up the HTML anchors: import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.NodeList; /** * Fixes HTML element for IE's shortcoming * when it comes to triggering History's 'onHistoryChanged' event. * * @author Jean-Lou Dupont * */ public class AnchorsUtil { public static void updateAnchors() { Document doc = Document.get(); NodeList anchors = doc.getElementsByTagName("a"); if (null==anchors) return; for(int i=0;i --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
HTML anchor issue with IE6 / History
It seems that putting a simple HTML anchor does not work as expected i.e. when the user clicks on the anchor, IE6's location bar changes BUT the "onHistoryChanged" event is NOT fired. Works fine on Chrome and FF. I am pretty certain this used to work on GWT 1.4 . Is there a work-around? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Image Anchor widget.
How would I go in creating a cross-browser Image Anchor ( i.e. ) using an image bundle? I am having some troubles with IE6: there is an extra tag called "clipper" (e.g. ) that seems to be created with a style attribute that prevents the image from being clickable i.e. navigating to the anchor's link when clicked. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
IE6 ImageBundle + Anchor problem.
Hi, I've got the following custom widget: public class GearsStatus extends Anchor { Image img = null; public GearsStatus() { super(); final WidgetMessages MSG = (WidgetMessages) GWT.create(WidgetMessages.class); WidgetImageBundle bundle = (WidgetImageBundle) GWT.create( WidgetImageBundle.class ); AbstractImagePrototype p = null; if (isGearsInstalled()) { p = bundle.gears(); this.setHref(MSG.gears_href_installed()); this.setTitle(MSG.gears_title_installed()); } else { p = bundle.gears_grey(); this.setHref(MSG.gears_href_not_installed()); this.setTitle(MSG.gears_title_not_installed()); } img = p.createImage(); this.getElement().appendChild(img.getElement()); } which works fine on Chrome, FF, Safari but the can not be clicked on IE6. Any 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: I18N messages: support for multi-Line?
Thanks for the link. I must have inadvertently added something after the \ in my first try; all works now! Cheers. On Sep 6, 7:10 pm, Folke <[EMAIL PROTECTED]> wrote: > On Sep 6, 2:34 pm, Jean-Lou Dupont <[EMAIL PROTECTED]> wrote: > > > I tried: \ > > Yes, this works for properties files. Put a single backslash at the > end of the line. > > http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#loa...) > Second paragraph if you don't believe me. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
I18N messages: support for multi-Line?
Is there a way to do multi-line messages using the I18N package? I tried: \, single-quote, double-quote, triple-quote 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---