On 10/15/11, [email protected]
<[email protected]> wrote:
> =============================================================================
> Today's Topic Summary
> =============================================================================
>
> Group: [email protected]
> Url: http://groups.google.com/group/google-web-toolkit/topics
>
>   - XMLParser EndOfFile question [2 Updates]
>     http://groups.google.com/group/google-web-toolkit/t/6ec276d877144b68
>   - Global Event Bus ? [4 Updates]
>     http://groups.google.com/group/google-web-toolkit/t/c9ba8a48bc600d99
>   - Thoughts on Adding Widgets [1 Update]
>     http://groups.google.com/group/google-web-toolkit/t/906bbce069d9033a
>   - UiBinder & setVisible - Confusing (Inconsistent?) Behaviour [1 Update]
>     http://groups.google.com/group/google-web-toolkit/t/9648047d608c47c2
>   - GWT Designer fails under Eclipse 3.7 with latest update [5 Updates]
>     http://groups.google.com/group/google-web-toolkit/t/3ea91b1d6f613038
>   - Developers, please don't ignore reported GWT issues. [3 Updates]
>     http://groups.google.com/group/google-web-toolkit/t/e60b4d63569e2f08
>   - AutoBean: decoding JSON with an array at the root? [1 Update]
>     http://groups.google.com/group/google-web-toolkit/t/731257d0ca6f6258
>   - How do I use a boolean parameter in the Message.Select annotation? [2
> Updates]
>     http://groups.google.com/group/google-web-toolkit/t/a2f7376654aca9c4
>   - How to create war file in GWT 2.4 / Eclipse Indigo [1 Update]
>     http://groups.google.com/group/google-web-toolkit/t/8689b5258647a2bb
>   - How to add click events to multiple images in a cell/celltable [1
> Update]
>     http://groups.google.com/group/google-web-toolkit/t/35f6b316e18b1dfa
>   - GWT App Indexing [1 Update]
>     http://groups.google.com/group/google-web-toolkit/t/7a44acce7d8cea24
>   - Is it possible to have a div overlay something, but not catch the clicks
> (ie, "transparent" to clicks?) [1 Update]
>     http://groups.google.com/group/google-web-toolkit/t/ee265196c3fa3a4d
>   - Invisible DataGrid [1 Update]
>     http://groups.google.com/group/google-web-toolkit/t/52946b8244cd8a24
>   - Compiler exception occured. Not able to compile GWT application [1
> Update]
>     http://groups.google.com/group/google-web-toolkit/t/2ed8c5ac7dd0abc1
>
>
> =============================================================================
> Topic: XMLParser EndOfFile question
> Url: http://groups.google.com/group/google-web-toolkit/t/6ec276d877144b68
> =============================================================================
>
> ---------- 1 of 2 ----------
> From: coffeMan <[email protected]>
> Date: Oct 14 09:32AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/91503267b9a7c63b
>
> I got the solution resolved.....i am parsing over 11,000 different
> file types...it is going slow using the DOM Xml Parser...any ideas on
> how to improve performance?
>
> I cannot think of any other way to parse it
>
>
>
> ---------- 2 of 2 ----------
> From: Jeff Chimene <[email protected]>
> Date: Oct 14 06:51PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/f7c92df98c256a5a
>
> On 10/14/2011 09:32 AM, coffeMan wrote:
>> file types...it is going slow using the DOM Xml Parser...any ideas on
>> how to improve performance?
>
>> I cannot think of any other way to parse it
>
> Well, first things first: let's clear-up the terminology. I think you
> mean 11x10^3 different documents, all conforming to the same schema.
> You only have /one/ document type: xml.
>
> Please correct my impression otherwise.
>
> Short answer: Form a NodeList of "interesting" leaf nodes, and don't
> worry about the path from the document root to each leaf.
>
> Long answer follows.
>
> 11x10^3 different documents is not unusual in a production environment.
> For example, consider the single DocBook schema, and the count of
> documents derived from that single schema.
>
> Apparently, all you know is that the current document is well-formed.
> You do not know if it's valid. Some might argue that you do not even
> know if the document is well-formed, but let's assume the document was
> produced mechanically, and that all elements, attributes, and PCDATA are
> well-formed.
>
> So, you should only write code that relies on the document's physical
> structure, not its logical structure.
>
> I think that the best you can do is to treat the document as a "flat
> space". Go directly to the child nodes of interest. There's probably
> nothing to gain by parsing the document as though it were a tree (which
> it is, I know...). In other words, given what little I know about your
> specific problem, I believe you are probably just interested in leaf
> nodes. So, form a NodeList of those leaf nodes, and don't worry about
> the path from the document root to each leaf. The leaf nodes in the list
> will probably have different parents, but I don't think that matters in
> this instance.
>
> Forget my earlier advice about GQuery. It's probably over-kill, given
> what little I know about the problem you're trying to solve.
>
> Bueno Suerte,
> jec
>
>
>
>
> =============================================================================
> Topic: Global Event Bus ?
> Url: http://groups.google.com/group/google-web-toolkit/t/c9ba8a48bc600d99
> =============================================================================
>
> ---------- 1 of 4 ----------
> From: Tomasz Gawel <[email protected]>
> Date: Oct 14 04:50PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/4f931ff063887673
>
> If you want to pass objects between to separately compiled gwt modules
> via javascript it can only be object that extend JavaScriptObject or
> primitives.
> but these can also be your custom overlay objects defined on both
> sides.
> for example when  module A knows about
> com.google.gwt.core.client.JsDate and module B knows it either they
> can pass this object over javascript and "overlay it properly" as
> JsDate extends JavaScriptObject, but it is not valid as to "plain java
> objects" as they are (or most possibly are) differently compiled on
> both sides.
> If you need to share a "plain java objects" you can make a JavaScript
> wrapper over it and pass the wrapper js object to another module which
> can treat it as overlay object - but as you see it is rather a
> emergency hack than the solution to be use extensively :).
>
>
> ---------- 2 of 4 ----------
> From: Tomasz Gawel <[email protected]>
> Date: Oct 14 04:50PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/3801557005a2d331
>
> package samples;
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.core.client.JavaScriptObject;
> import com.google.gwt.core.client.JsDate;
> import com.google.gwt.event.shared.HandlerRegistration;
> import com.google.gwt.json.client.JSONObject;
> import com.google.gwt.json.client.JSONParser;
> import com.google.gwt.json.client.JSONString;
> import com.google.gwt.user.client.Timer;
> import com.google.gwt.user.client.Window;
>
> public class JsBus extends JavaScriptObject {
>
>       public static class JsHandlerRegistration extends JavaScriptObject
> implements HandlerRegistration {
>               protected JsHandlerRegistration() {}
>               @Override
>               public native final void removeHandler() /*-{
>                       this.removeHandler();
>               }-*/;
>       }
>
>       public static interface Callback {
>               void call(JavaScriptObject event);
>       }
>
>       public static final native JsBus getInstance() /*-{
>               var name = "jsBusSingletonInstance";
>               return $wnd[name] || ($wnd[name] = (function(){
>                       var _h = {};
>                       return {
>                               fire:function(key, evt){
>                                       if(_h[key]){
>                                               for(var 
> i=0;i<_h[key].length;i++){
>                                                       try {
>                                                               _h[key][i](evt);
>                                                       }
>                                                       catch(e) {}
>                                               }
>                                       }
>                               },
>                               addHandler:function(key, handler){
>                                       (_h[key] || (_h[key] = 
> [])).push(handler);
>                                       return {
>                                               removeHandler:function(){
>                                                       if(_h[key]){
>                                                               for(var 
> i=_h[key].length-1; i>-1; i--){
>                                                                       
> if(_h[key][i] === handler){
>                                                                               
> _h[key].splice(i, 1);
>                                                                               
> if(_h[key].length == 0){
>                                                                               
>         _h[key] = null;
>                                                                               
>         delete _h[key];
>                                                                               
> }
>                                                                               
> return;
>                                                                       }
>                                                               }
>                                                       }
>                                               }
>                                       };
>                               }
>                       }
>               })());
>       }-*/;
>
>       protected JsBus() {}
>
>       public void fire(String key, JSONObject event) {
>               fire(key, event.getJavaScriptObject());
>       }
>
>       public native void fire(String key, JavaScriptObject event) /*-{
>               this.fire(key, event);
>       }-*/;
>
>       public native JsHandlerRegistration addHandler(String key, Callback
> callback) /*-{
>               return this.addHandler(key, function(evt){
>                       
> [email protected]::call(Lcom/google/gwt/core/client/
> JavaScriptObject;)(evt);
>               });
>       }-*/;
>
> }
>
> class A implements EntryPoint {
>
>       @Override
>       public void onModuleLoad() {
>               final JsBus jsBus = JsBus.getInstance();
>               jsBus.addHandler("timer_in_b", new JsBus.Callback() {
>
>                       @Override
>                       public void call(JavaScriptObject event) {
>                               Window.alert(event.<JsDate> 
> cast().toLocaleTimeString());
>                       }
>
>               });
>
>               new Timer() {
>
>                       @Override
>                       public void run() {
>                               JSONObject event = new JSONObject();
>                               event.put("message", new JSONString("Message 
> from class A!"));
>                               event.put("data", JSONParser
>                                               
> .parseStrict("{\"someData\":[1,2,3]}"));
>                               jsBus.fire("event_from_A", event);
>                       }
>               }.schedule(10000);
>       }
> }
>
> class B implements EntryPoint {
>
>       @Override
>       public void onModuleLoad() {
>
>               final Timer timer = new Timer() {
>
>                       @Override
>                       public void run() {
>                               JsBus.getInstance().fire("timer_in_b", 
> JsDate.create());
>                       }
>               };
>               timer.scheduleRepeating(1500);
>
>               JsBus.getInstance().addHandler("event_from_A", new 
> JsBus.Callback()
> {
>
>                       @Override
>                       public void call(JavaScriptObject event) {
>                               timer.cancel();
>
>                               Window.alert(new 
> JSONObject(event).get("message")
>                                               .isString().stringValue());
>                       }
>               });
>       }
> }
>
>
> ---------- 3 of 4 ----------
> From: Stefan Ollinger <[email protected]>
> Date: Oct 15 02:22AM +0200
> Url: http://groups.google.com/group/google-web-toolkit/msg/6cec0d73370f873
>
> Hello,
>
> you could use a common library to define your message classes and import
> that library in both gwt modules. Then use something like comet to push
> your messages to the clients: http://code.google.com/p/gwt-comet/
>
> Regards,
> Stefan
>
>
> ---------- 4 of 4 ----------
> From: Stefan Ollinger <[email protected]>
> Date: Oct 15 02:25AM +0200
> Url: http://groups.google.com/group/google-web-toolkit/msg/c605284b11a17e50
>
> Oh, and if you want to do local communication between separate modules,
> i would use a JSNI approach and de-/serialize the common message
> classes. Using the AutoBean framework for example:
> http://code.google.com/p/google-web-toolkit/wiki/AutoBean
>
> Am 15.10.2011 02:22, schrieb Stefan Ollinger:
>
>
>
> =============================================================================
> Topic: Thoughts on Adding Widgets
> Url: http://groups.google.com/group/google-web-toolkit/t/906bbce069d9033a
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: gangurg gangurg <[email protected]>
> Date: Oct 14 05:03PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/e37a66954791c777
>
> Good Idea , I will ponder my head on this one .
>
>
>
>
> =============================================================================
> Topic: UiBinder & setVisible - Confusing (Inconsistent?) Behaviour
> Url: http://groups.google.com/group/google-web-toolkit/t/9648047d608c47c2
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: Hilco Wijbenga <[email protected]>
> Date: Oct 14 03:33PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/22113c79e4902358
>
> Hi all,
>
> If I use (in UiBinder) something like
>
> <g:Label visible="false">Hello World!</g:Label>
>
> then the widget is hidden as expected. This calls
> UIObject.setVisible(boolean), IIUC.
>
> When I try this for my own widgets this doesn't work, however. I have
>
> public interface MiniGameWidget
> {
>   @UiTemplate("MiniGameWidget.ui.xml")
>   interface UiBinder
>     extends
>       com.google.gwt.uibinder.client.UiBinder<Widget,
> DefaultMiniGameWidgetView>
>   {}
>   interface View
>     extends IsWidget, HasVisibility
>   { ... }
>   ...
> }
>
> and
>
> public class DefaultMiniGameWidgetView
>   extends Composite
>   implements View
> {  ... }
>
> Using
>
> <ip:MiniGameWidget.View visible="false"/>
>
> (in another widget) fails with
>
> [ERROR] Class MiniGameWidget.View has no appropriate setVisible()
> method Element <ip:MiniGameWidget.View visible='false'> (:17)
>
> even though View extends HasVisibility.
>
> But it gets stranger. If I add a different method (like setXyz) which
> then calls this.setVisible() everything works fine. So
>
> <ip:MiniGameWidget.View xyz="false"/>
>
> and
>
> void setXyz(boolean visible) {
>   this.setVisible(visible);
> }
>
> works like a charm.
>
> So it looks like the "visible" property is special somehow? How do I
> get it to work for my widget?
>
> Cheers,
> Hilco
>
>
>
> =============================================================================
> Topic: GWT Designer fails under Eclipse 3.7 with latest update
> Url: http://groups.google.com/group/google-web-toolkit/t/3ea91b1d6f613038
> =============================================================================
>
> ---------- 1 of 5 ----------
> From: Claudio Pomo <[email protected]>
> Date: Oct 14 07:47AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/196a7ccab6c2c662
>
> I've the same problem with eclipse 3.6
>
> this is the stack trace
>
>
> !SESSION 2011-10-14 11:26:52.651
> -----------------------------------------------
> eclipse.buildId=M20110210-1200
> java.version=1.6.0_26
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=it_IT
> Framework arguments:  -product org.eclipse.epp.package.jee.product
> Command-line arguments:  -os linux -ws gtk -arch x86 -product
> org.eclipse.epp.package.jee.product
> !ENTRY org.eclipse.wb.core 4 4 2011-10-14 12:41:45.212
> !MESSAGE Designer [2.4.2.r36x201109270347]: 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.xml.editor.XmlDesignPage.showExceptionOnDesignPane(XmlDesignPage.java:
> 509)
>       at
> org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.internal_refreshGEF(XmlDesignPage.java:
> 394)
>       at
> org.eclipse.wb.internal.core.xml.editor.UndoManager.refreshDesignerEditor(UndoManager.java:
> 254)
>       at
> org.eclipse.wb.internal.core.xml.editor.UndoManager.activate(UndoManager.java:
> 85)
>       at
> org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.setActive(XmlDesignPage.java:
> 167)
>       at
> org.eclipse.wb.internal.core.xml.editor.AbstractXmlEditor.pageChange(AbstractXmlEditor.java:
> 649)
>       at org.eclipse.ui.part.MultiPageEditorPart
> $2.widgetSelected(MultiPageEditorPart.java:290)
>       at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
> 234)
>       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.Widget.sendEvent(Widget.java:1282)
>       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
>       at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
>       at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:
> 2743)
>       at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
>       at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:
> 257)
>       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:
> 3540)
>       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
>       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
> 2640)
>       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
>       at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
>       at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
>       at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
> 332)
>       at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
> 664)
>       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
> 149)
>       at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
> 115)
>       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:
> 369)
>       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:
> 39)
>       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
>       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
>       at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
> Caused by: java.lang.UnsatisfiedLinkError: no gwt-ll in
> java.library.path
>       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
>       at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>       at java.lang.System.loadLibrary(System.java:1028)
>       at
> com.google.gdt.eclipse.designer.moz.BrowserShellLinux.<init>(BrowserShellLinux.java:
> 86)
>       at
> com.google.gdt.eclipse.designer.moz.BrowserShellLinux32.<init>(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.<init>(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.uibinder.parser.UiBinderContext.createGWTState(UiBinderContext.java:
> 433)
>       at
> com.google.gdt.eclipse.designer.uibinder.parser.UiBinderContext.createProjectClassLoader(UiBinderContext.java:
> 294)
>       at
> org.eclipse.wb.internal.core.xml.model.EditorContext.createClassLoader(EditorContext.java:
> 146)
>       at
> com.google.gdt.eclipse.designer.uibinder.parser.UiBinderContext.createClassLoader(UiBinderContext.java:
> 251)
>       at
> org.eclipse.wb.internal.core.xml.model.EditorContext.initialize(EditorContext.java:
> 100)
>       at
> com.google.gdt.eclipse.designer.uibinder.parser.UiBinderParser.parse(UiBinderParser.java:
> 107)
>       at
> com.google.gdt.eclipse.designer.uibinder.editor.UiBinderDesignPage.parse(UiBinderDesignPage.java:
> 109)
>       at
> org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.internal_refreshGEF(XmlDesignPage.java:
> 447)
>       at org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.access
> $2(XmlDesignPage.java:439)
>       at org.eclipse.wb.internal.core.xml.editor.XmlDesignPage
> $7$1.run(XmlDesignPage.java:413)
>       at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:
> 179)
>       at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:
> 150)
>       at org.eclipse.swt.widgets.Display.syncExec(Display.java:4282)
>       at org.eclipse.wb.internal.core.xml.editor.XmlDesignPage
> $7.run(XmlDesignPage.java:410)
>       at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:
> 464)
>       at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:
> 372)
>       at
> org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:
> 507)
>       at
> org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.internal_refreshGEF_withProgress(XmlDesignPage.java:
> 431)
>       at
> org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.internal_refreshGEF(XmlDesignPage.java:
> 384)
>       ... 38 more
>
>
> ---------- 2 of 5 ----------
> From: "Eric Clayberg (Google)" <[email protected]>
> Date: Oct 14 01:37PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/8686d1c046699d31
>
> 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.
>
>
> ---------- 3 of 5 ----------
> From: Jean-Lou Dupont <[email protected]>
> Date: Oct 14 01:52PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/1781c76836cb44b9
>
> 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)" <[email protected]>
> wrote:
>
>
> ---------- 4 of 5 ----------
> From: "Eric Clayberg (Google)" <[email protected]>
> Date: Oct 14 02:35PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/1a43ab67300d4224
>
> 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.
>
>
> ---------- 5 of 5 ----------
> From: Jean-Lou Dupont <[email protected]>
> Date: Oct 14 02:47PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/24952681ce7487af
>
> 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)" <[email protected]>
> wrote:
>
>
>
> =============================================================================
> Topic: Developers, please don't ignore reported GWT issues.
> Url: http://groups.google.com/group/google-web-toolkit/t/e60b4d63569e2f08
> =============================================================================
>
> ---------- 1 of 3 ----------
> From: "Eric Clayberg (Google)" <[email protected]>
> Date: Oct 14 01:46PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/b1708c501fdf8c5c
>
> If you follow the *correct
> procedure<http://code.google.com/webtoolkit/makinggwtbetter.html#submittingpatches>
> * for submitting patches, it should get looked at.
>
> Attaching a patch to an issue won't get it looked at. You also need to sign
> a CLA and submit the patch to Rietveld <http://code.google.com/p/rietveld/>.
>
>
> ---------- 2 of 3 ----------
> From: "Eric Clayberg (Google)" <[email protected]>
> Date: Oct 14 02:08PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/b151d5d590d8c258
>
> It was somewhat of a coincidence as we were starting a small project to
> clean up and triage the issue tracker (which had been unfortunately
> neglected for awhile). We definitely took notice of your post and looked at
> each of the issues you referenced.
>
> "PatchesWelcome" does indeed mean that we think it is a good idea, but it
> isn't something we are going to get to any time soon (making it a great
> opportunity for the community to contribute a patch). Depending on our own
> priorities we may or may not ever get to a given PatchesWelcome issue, so if
> it is something very important to you ("you" as in anyone in the community),
> I would strongly encourage you to create and submit a patch.
>
> If you do submit a patch, it is important to follow the correct
> procedure<http://code.google.com/webtoolkit/makinggwtbetter.html#submittingpatches>for
> submitting patches. Simply attaching a patch to an issue (as was
> originally the in the case
> 6530<http://code.google.com/p/google-web-toolkit/issues/detail?id=6530>)
> won't get it seen by the GWT development team. As you can see from case
> 6530<http://code.google.com/p/google-web-toolkit/issues/detail?id=6530>,
> that patch has now been submitted to the right place,
> reviewed<http://gwt-code-reviews.appspot.com/1567803>,
> and
> submitted<http://code.google.com/p/google-web-toolkit/source/detail?r=10703>
> .
>
> As has been said by others and by us in the past, we are very much looking
> for community support and contributions. We will continue to step up our
> efforts to review and submit any patches that we receive.
>
>
> ---------- 3 of 3 ----------
> From: Jens <[email protected]>
> Date: Oct 14 02:32PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/641e93891fb276b4
>
> As you now have your small clean up project phase it might be a good time to
> update the duties column
> in http://code.google.com/p/google-web-toolkit/people/list or create a
> similar list as wiki page to help the community to decide which persons
> should be assigned for reviewing patches in Rietveld
> (http://gwt-code-reviews.appspot.com/).
>
> Just assigning "someone" to a patch so it gets recognized (and later maybe
> reassigned) somehow doesn't feel right to me. I think its definitely better
> if the community can see who is active in the development team and who would
> be a good review candidate for, e.g. UiBinder patches, compiler patches,
> RequestFactory patches, Editor patches, ....
>
> -- J.
>
>
>
> =============================================================================
> Topic: AutoBean: decoding JSON with an array at the root?
> Url: http://groups.google.com/group/google-web-toolkit/t/731257d0ca6f6258
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: alexp <[email protected]>
> Date: Oct 14 12:09PM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/a897d984525851ec
>
> Assume I the following JSON:
>
> [
>    { "foo": 1, "bar": 2 },
>    { "foo": 3, "bar": 4 }
> ]
>
> How would I set up my AutoBean and factory to parse this?
>
> If the array were a child of another object, like this:
>
> { "items": [
>           { "foo": 1, "bar": 2 },
>           { "foo": 3, "bar": 4 }
>      ]
> }
>
> Then the AutoBean would be easy, because the array is identified by
> the enclosing object:
>
> interface Foo {
>     List<Item> items;
> }
>
> interface Item {
>     int getFoo();
>     int GetBar();
> }
>
> However, when the array is at the root, there doesn't seem a way to
> decode a list at the root.  In other words, I cannot do this:
>
> MyFactory {
>     List<Item> itemList();
> }
>
> Because I would not be able to specify List<Item> as the cass (e.g.
> type) to be decoded:
>
> AutoBean<List<Item> bean = AutoBeanCodex.decode(myFactory, ???.class,
> jsonString);
>
> I tried adding a list bean that extended list, like this:
>
> interface ItemList extends List<Item> {
> }
>
> But I quickly realized that the AutoBean code would try to look for
> JSON properties or Category methods for all the methods in the List
> interface.
>
> Any ideas?
>
> Thanks in advance,
>
> Alex
>
>
>
> =============================================================================
> Topic: How do I use a boolean parameter in the Message.Select annotation?
> Url: http://groups.google.com/group/google-web-toolkit/t/a2f7376654aca9c4
> =============================================================================
>
> ---------- 1 of 2 ----------
> From: Zak Linder <[email protected]>
> Date: Oct 14 11:15AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/42beca88aba2f732
>
> According to the Messages.Select
> javadoc<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/i18n/client/Messages.Select.html>I
> can use a boolean-type parameter, but I can't seem to get it to work. For
> example:
>
> @DefaultMessage("{1} just did something.")
> @AlternateMessage({
>     "true", "You just did something in another session."
> })
> String contextInvalidTherapyStopped(@Select boolean me, @Optional String
> userName);
>
> I've tried using "TRUE" and using Boolean instead of boolean and nothing has
> worked. I do not want to use an enum if I can avoid it.
>
>
> ---------- 2 of 2 ----------
> From: Zak Linder <[email protected]>
> Date: Oct 14 11:39AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/47f4e0a9f8844f0c
>
> Hmm, may be related to
> http://code.google.com/p/google-web-toolkit/issues/detail?id=6426
>
>
>
> =============================================================================
> Topic: How to create war file in GWT 2.4 / Eclipse Indigo
> Url: http://groups.google.com/group/google-web-toolkit/t/8689b5258647a2bb
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: TBirch <[email protected]>
> Date: Oct 14 11:08AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/cbf080fa3d1316e4
>
> Hi Sachin,
> I believe I had the same issue when I first started working with
> Indigo and here is what I remember doing. I started over with a fresh
> download of Eclipse 3.7. Then I installed just the GWT sdk 2.4 through
> the Eclipse update function (not the designer or any other of the
> choices). At that point I checked and the option to deploy was there.
> Only then did I go back in to the Eclipse update function and add the
> additional features.
>
> On Oct 14, 2:57 am, sachin sreenivasan
>
>
>
> =============================================================================
> Topic: How to add click events to multiple images in a cell/celltable
> Url: http://groups.google.com/group/google-web-toolkit/t/35f6b316e18b1dfa
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: Adam <[email protected]>
> Date: Oct 14 10:16AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/6fa2ce667e4e45d8
>
> I use CompositeCell for this type of thing.  Create a composite of 2
> cells, each with an image in them, and each cell handling "click"
> events.  Each cell can detect clicks in their respective FieldUpdaters
> and still be rendered in the same cell.
>
> Hope this helps,
> Adam
>
> On Oct 14, 9:41 am, Thomas Trebbien Pedersen
>
>
>
> =============================================================================
> Topic: GWT App Indexing
> Url: http://groups.google.com/group/google-web-toolkit/t/7a44acce7d8cea24
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: "Kb ." <[email protected]>
> Date: Oct 14 10:10AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/7aa635291d519e8b
>
> I want to make an app which allows users to Post Content with GWT/GAE
>
> Can the text in the Content be indexed by Search Engines?
>
> or i have to use something else to build this ?
>
>
>
> =============================================================================
> Topic: Is it possible to have a div overlay something, but not catch the
> clicks (ie, "transparent" to clicks?)
> Url: http://groups.google.com/group/google-web-toolkit/t/ee265196c3fa3a4d
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: darkflame <[email protected]>
> Date: Oct 14 09:40AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/8f6ad4e2059f291c
>
> Ok, dont mean to spam, but I think I'm getting near a solution and it
> could be usefull to other people.
>
> Based on;
> http://groups.google.com/group/gwt-cal/browse_thread/thread/7e756151acbd9b14
>
> I came up with this;
>
>
> /** a class designed to catch events and forward them to a panel under
> it
>  * uses the techique specified in;
>  * http://www.vinylfox.com/forwarding-mouse-events-through-layers/
>  * In future, css3 might be used instead to make this whole thing more
> simple **/
> public class SpiffyOverlay extends FocusPanel {
>
>
>       static Logger Log = Logger.getLogger("SpiffyOverlay");
>
>       public SpiffyOverlay(Widget forwardEventsToThis){
>
>               //set temp background
>               this.getElement().getStyle().setBackgroundColor("blue");
>               this.getElement().getStyle().setOpacity(0.5);
>
>               this.add(new Label("test"));
>               this.setSize("100%", "100%");
>
>               sinkEvents(Event.ONMOUSEUP | Event.ONDBLCLICK | 
> Event.ONCONTEXTMENU
>                               | Event.ONCLICK | Event.ONMOUSEOVER | 
> Event.ONMOUSEOUT);
>
>       }
>
>       //capture events
>       @Override
>       public void onBrowserEvent(Event event){
>               Log.info("______________________onBrowserEvent from overlay");
>               //event.cancelBubble(true);// This will stop the event from 
> being
>                                                                       // 
> propagated
>               DOM.eventCancelBubble(event, true);
>
>
>
>               event.preventDefault();
>
>               switch (DOM.eventGetType(event)) {
>
>               case Event.ONCLICK:
>       
> Log.info("________________________________________________________Event.ONCLICK
> ");
>
>
>                   int x = DOM.eventGetClientX(event);
>                    int y = DOM.eventGetClientY(event);
>
>                    Element clickedElement =
> DOM.eventGetCurrentTarget(event);
>
>                   // temporarily hide the appointment canvas
>                    //clickedElement.setAttribute("style",
> "visibility:hidden");
>       
> clickedElement.getStyle().setVisibility(Visibility.HIDDEN);
>
>                   // use a native JavaScript method to find the element at
> the   doubleclick event
>                    Element elementBehind = getElementFromPoint(x, y);
>
>       
> Log.info("________________________________________________________restoring
> visibility ");
>
>                   // restore the appointment canvas
>       
> clickedElement.getStyle().setVisibility(Visibility.VISIBLE);
>       
> Log.info("________________________________________________________found
> element : "+elementBehind.getParentElement().getOffsetWidth());
>
>
>       
> Log.info("________________________________________________________firing
> event ");
>
>                   //copy the event
>                    NativeEvent eventcopy =
> Document.get().createClickEvent(event.getTypeInt(),
>                                       event.getScreenX(),
>                                       event.getScreenY(),
>                                       event.getClientX(),
>                                       event.getClientY(),
>                                       event.getCtrlKey(),
>                                       event.getAltKey(),
>                                       event.getShiftKey(),
>                                       event.getMetaKey());
>
>                  elementBehind.getParentElement().dispatchEvent(eventcopy);
>
>                    elementBehind.getParentElement().setTitle("test title
> from overlay");
>
>
>
>               }
>
>
>       }
>
>     private native Element getElementFromPoint(int x, int y) /*-{
>              return $wnd.document.elementFromPoint(x, y);
>      }-*/;
>
>
> }
>
>
> This works for basic click events, allthough I cant seem to adapt it
> for other types.
>
> The problem is I need to copy the event and I have no idea how to do
> that for anything other then clicks. Document has "createClickEvent"
> but nothing thats just "createEvent".
>
> If I just parse the event on without copying I get a
> "EventException.DISPATCH_REQUEST_ERR  (1)" error.
>
>
>
>
>
>
>
>
> =============================================================================
> Topic: Invisible DataGrid
> Url: http://groups.google.com/group/google-web-toolkit/t/52946b8244cd8a24
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: Jeff Larsen <[email protected]>
> Date: Oct 14 09:23AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/9f00ba1f108f17ff
>
> DataGrid needs to live inside a LayoutPanel
>
>
>
> =============================================================================
> Topic: Compiler exception occured. Not able to compile GWT application
> Url: http://groups.google.com/group/google-web-toolkit/t/2ed8c5ac7dd0abc1
> =============================================================================
>
> ---------- 1 of 1 ----------
> From: Raghul <[email protected]>
> Date: Oct 14 02:52AM -0700
> Url: http://groups.google.com/group/google-web-toolkit/msg/3e2c8193a94c517e
>
> I getting the following error while compiling the GWT application.
>
> Any one please help resolve this issue.
>
> Validating newly compiled units
>    Ignored 3 units with compilation errors in first pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see
> all errors.
> [ERROR] An internal compiler exception occurred
> com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
>       at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140)
>       at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
>       at com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:
> 730)
>       at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.createField(BuildTypeMap.java:
> 570)
>       at com.google.gwt.dev.jjs.impl.BuildTypeMap.access
> $300(BuildTypeMap.java:99)
>       at com.google.gwt.dev.jjs.impl.BuildTypeMap
> $BuildDeclMapVisitor.visit(BuildTypeMap.java:180)
>       at
> org.eclipse.jdt.internal.compiler.ast.FieldDeclaration.traverse(FieldDeclaration.java:
> 285)
>       at
> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:
> 1232)
>       at
> org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
> 687)
>       at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:
> 637)
>       at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:
> 514)
>       at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:
> 523)
>       at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
> 599)
>       at
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
> 33)
>       at com.google.gwt.dev.Precompile.validate(Precompile.java:187)
>       at com.google.gwt.dev.Compiler.run(Compiler.java:222)
>       at com.google.gwt.dev.Compiler.run(Compiler.java:198)
>       at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
>       at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
> 88)
>       at
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
> 82)
>       at com.google.gwt.dev.Compiler.main(Compiler.java:177)
>    [ERROR] <no source info>: public class com.gwt.demo.User   extends
> java.lang.Object
> /*   fields   */
> private [unresolved] java.lang.String firstName
> private [unresolved] java.lang.String lastName
> /*   methods   */
> public void <init>(java.lang.String, java.lang.String) throws
> java.lang.Exception
> [unresolved] public void setLastName(java.lang.String)
> [unresolved] private void getLastName() throws java.lang.Exception
>
>
>
>       org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding
>    [ERROR] at LoginDemo.java(18): public User user = null;
>       org.eclipse.jdt.internal.compiler.ast.FieldDeclaration
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> 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.
>
>

-- 
Sent from my mobile device

R D Vij

*"Whatever it be... whatever.. Just remeber at the End you are left to make
everything go good...." Luv yourself and have faith in yourself.*
*
*
*Cheers!!!*

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
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.

Reply via email to