Could not find http://dl.google.com/eclipse/plugin/3.6 neither download zip file
I just can't install Google Plugin from eclipse helios (3.6) Adding update site http://dl.google.com/eclipse/plugin/3.6 site returns Could not find http://dl.google.com/eclipse/plugin/3.6; I also tried downloading the zip files but the following error is displayed on the page: http://dl.google.com/eclipse/plugin/3.6/zips/gpe-e36-latest-updatesite.zip Error CodeNoSuchKey/Code MessageThe specified key does not exist./Message /Error Regards, -- 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/-/R-KLY9j5KRIJ. 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: Image does neither load nor error
What is the best way to load images for a canvas then? Do I have to add them to the document and hide them with css? Or are there other / better ways? -- 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.
Image does neither load nor error
Hi, I just tried to load an image in GWT. The code is the following: final Image image = new Image(); image.addLoadListener(new LoadListener() { public void onError(Widget sender) { Test.label.setText(An error occurred while loading.); } public void onLoad(Widget sender) { Test.label.setText(Image loaded.); } }); // Point the image at a real URL. image.setUrl(images/kitty.jpg); The kitty.jpg file is located in war/images folder. The test label never shows any of the texts. Also setting breakpoints in onLoad and onError are never reached. This means that the image is neither loaded nor an error is raised. What can be the source of this problem? Thanks in advance for your help -- 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: Image does neither load nor error
You need to add the image to the document (e.g. RootPanel.get().add(image) as a bare minimum) On Thu, Jan 27, 2011 at 9:19 AM, gex jan_fi...@gmx.de wrote: Hi, I just tried to load an image in GWT. The code is the following: final Image image = new Image(); image.addLoadListener(new LoadListener() { public void onError(Widget sender) { Test.label.setText(An error occurred while loading.); } public void onLoad(Widget sender) { Test.label.setText(Image loaded.); } }); // Point the image at a real URL. image.setUrl(images/kitty.jpg); The kitty.jpg file is located in war/images folder. The test label never shows any of the texts. Also setting breakpoints in onLoad and onError are never reached. This means that the image is neither loaded nor an error is raised. What can be the source of this problem? Thanks in advance for your help -- 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%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] [google-web-toolkit] r9358 committed - Undeprecate HandlerManager and TabPanel, neither of which is quite...
Revision: 9358 Author: gwt.mirror...@gmail.com Date: Mon Dec 6 07:53:26 2010 Log: Undeprecate HandlerManager and TabPanel, neither of which is quite ready to die yet. Review at http://gwt-code-reviews.appspot.com/1187801 Review by: jlaba...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9358 Modified: /trunk/user/src/com/google/gwt/event/shared/HandlerManager.java /trunk/user/src/com/google/gwt/user/client/ui/TabPanel.java /trunk/user/src/com/google/gwt/user/client/ui/Widget.java === --- /trunk/user/src/com/google/gwt/event/shared/HandlerManager.java Tue Oct 5 11:03:13 2010 +++ /trunk/user/src/com/google/gwt/event/shared/HandlerManager.java Mon Dec 6 07:53:26 2010 @@ -19,12 +19,16 @@ /** * Manager responsible for adding handlers to event sources and firing those - * handlers on passed in events. Primitive ancestor of {...@link EventBus}, - * and used at the core of {com.google.gwt.user.client.ui.Widget}. - * - * @deprecated use {...@link SimpleEventBus}. + * handlers on passed in events. Primitive ancestor of {...@link EventBus}, and + * used at the core of {com.google.gwt.user.client.ui.Widget}. + * p + * While widget authors should continue to use + * {...@link com.google.gwt.user.client.ui.Widget#addDomHandler(EventHandler, com.google.gwt.event.dom.client.DomEvent.Type)} + * and + * {...@link com.google.gwt.user.client.ui.Widget#addHandler(EventHandler, Type)}, + * application developers are strongly discouraged from using a HandlerManager + * instance as a global event dispatch mechanism. */ -...@deprecated public class HandlerManager implements HasHandlers { private final SimpleEventBus eventBus; @@ -50,6 +54,7 @@ * @param source the event source * @param fireInReverseOrder true to fire handlers in reverse order */ + @SuppressWarnings(deprecation) public HandlerManager(Object source, boolean fireInReverseOrder) { eventBus = new SimpleEventBus(fireInReverseOrder); this.source = source; @@ -114,6 +119,7 @@ * @param type the handler's event type * @return the given handler */ + @SuppressWarnings(deprecation) public H extends EventHandler H getHandler(GwtEvent.TypeH type, int index) { return eventBus.getHandler(type, index); } @@ -124,6 +130,7 @@ * @param type the event type * @return the number of registered handlers */ + @SuppressWarnings(deprecation) public int getHandlerCount(Type? type) { return eventBus.getHandlerCount(type); } @@ -134,6 +141,7 @@ * @param e the event type * @return whether the given event type is handled */ + @SuppressWarnings(deprecation) public boolean isEventHandled(Type? e) { return eventBus.isEventHandled(e); } === --- /trunk/user/src/com/google/gwt/user/client/ui/TabPanel.java Tue Oct 5 11:03:13 2010 +++ /trunk/user/src/com/google/gwt/user/client/ui/TabPanel.java Fri Dec 3 10:28:00 2010 @@ -58,18 +58,13 @@ * h3Example/h3 * {...@example com.google.gwt.examples.TabPanelExample} * /p - * - * @deprecated Use {...@link TabLayoutPanel} instead, but understand that it is - * not a drop in replacement for this class. It requires standards - * mode, and is most easily used under a {...@link RootLayoutPanel} (as - * opposed to a {...@link RootPanel} * * @see TabLayoutPanel */ // Cannot do anything about tab panel implementing TabListener until next // release -...@deprecated +...@suppresswarnings(deprecation) public class TabPanel extends Composite implements TabListener, SourcesTabEvents, HasWidgets, HasAnimation, IndexedPanel.ForIsWidget, HasBeforeSelectionHandlersInteger, HasSelectionHandlersInteger { === --- /trunk/user/src/com/google/gwt/user/client/ui/Widget.java Thu Oct 14 06:34:39 2010 +++ /trunk/user/src/com/google/gwt/user/client/ui/Widget.java Fri Dec 3 10:28:00 2010 @@ -55,7 +55,6 @@ */ int eventsToSink; private boolean attached; - @SuppressWarnings(deprecation) private HandlerManager handlerManager; private Object layoutData; private Widget parent; @@ -74,7 +73,6 @@ * @param handler the handler * @return {...@link HandlerRegistration} used to remove the handler */ - @SuppressWarnings(deprecation) public final H extends EventHandler HandlerRegistration addDomHandler( final H handler, DomEvent.TypeH type) { assert handler != null : handler must not be null; @@ -91,7 +89,6 @@ * @param handler the handler * @return {...@link HandlerRegistration} used to remove the handler */ - @SuppressWarnings(deprecation) public final H extends EventHandler HandlerRegistration addHandler( final H handler, GwtEvent.TypeH type) { return ensureHandlers().addHandler(type, handler); @@ -101,7 +98,6 @@ return this; } - @SuppressWarnings(deprecation) public
[gwt-contrib] Undeprecate HandlerManager and TabPanel, neither of which is quite (issue1187801)
Reviewers: jlabanca, Description: Undeprecate HandlerManager and TabPanel, neither of which is quite ready to die yet. Please review this at http://gwt-code-reviews.appspot.com/1187801/show Affected files: M user/src/com/google/gwt/event/shared/HandlerManager.java M user/src/com/google/gwt/user/client/ui/TabPanel.java M user/src/com/google/gwt/user/client/ui/Widget.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Undeprecate HandlerManager and TabPanel, neither of which is quite (issue1187801)
John, there have been internal discussions about both of these un-deprecations. Joel wants TabPanel to be blessed again, and we lack any alternative to HandlerManager for widget developers so far. On 2010/12/03 18:47:12, rjrjr wrote: http://gwt-code-reviews.appspot.com/1187801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Undeprecate HandlerManager and TabPanel, neither of which is quite (issue1187801)
http://code.google.com/p/google-web-toolkit/issues/detail?id=5709 http://gwt-code-reviews.appspot.com/1187801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Undeprecate HandlerManager and TabPanel, neither of which is quite (issue1187801)
LGTM Just curious why we need to @SuppressWarnings in HandlerManager http://gwt-code-reviews.appspot.com/1187801/diff/1/2 File user/src/com/google/gwt/event/shared/HandlerManager.java (right): http://gwt-code-reviews.appspot.com/1187801/diff/1/2#newcode57 user/src/com/google/gwt/event/shared/HandlerManager.java:57: @SuppressWarnings(deprecation) Why is the suppresswarning needed? http://gwt-code-reviews.appspot.com/1187801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Undeprecate HandlerManager and TabPanel, neither of which is quite (issue1187801)
Various package private methods on SimpleEventBus exist only for legacy support for HandlerManager, and are deprecated. I don't want new code calling them. On Fri, Dec 3, 2010 at 12:22 PM, jlaba...@google.com wrote: LGTM Just curious why we need to @SuppressWarnings in HandlerManager http://gwt-code-reviews.appspot.com/1187801/diff/1/2 File user/src/com/google/gwt/event/shared/HandlerManager.java (right): http://gwt-code-reviews.appspot.com/1187801/diff/1/2#newcode57 user/src/com/google/gwt/event/shared/HandlerManager.java:57: @SuppressWarnings(deprecation) Why is the suppresswarning needed? http://gwt-code-reviews.appspot.com/1187801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
GWT Code Server neither throws any error nor starts up fully
Hi, I have EJB project running on JBoss. JBoss is configured in Eclipse Helios Add Server option. There is a Ext GWT web project that uses EJBs. All works fine in production mode (when Ext GWT Compiled JS and HTML is deployed to JBoss and accessed directly from JBoss). The problem is when I try to start my Ext GWT web project on GWT Code Server, the Eclispe Console for GWT Code Server shows few messages (no error and no exception stack trace), but at the same time it does not start fully. I have set log level to 'All' to see all sysout from Code Server. Below are the messages that I get in Eclipse GWT Code Server Console. Checking for updates Started code server on port 9997 And, nothing happens after this. Any help will be greatly appreciated. Regards, JT -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Class MainEntryPoint neither has main method nor it is a servlet specified in web.xml
Class MainEntryPoint neither has main method nor it is a servlet specified in web.xml I freshly installed GWT4NB plugin version 2.8.0 and glassfish server. Everything installed correctly. But I get an error stating Class MainEntryPoint neither has main method nor it is a servlet specified in web.xml. Please help me, I struck! Here is the screenshot. http://i426.photobucket.com/albums/pp344/Lodestone_bucket/cats-2.jpg -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Neither
Neither of those buttons show up, that's where the problem is. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)
The workaround seems to work fine :) Tested on the demo project, and it responded to everything. Ive put it on my main project and I'm pretty sure its working fine there too. (cant know 100% yet, as the history stops responding on certain functions...I suspect its due to a another part of my code crashing in though) Are there any side-effects of this I should be aware of? Will future gwt upgrades change/effect this? Cheers, Thomas On Aug 17, 1:24 am, Thomas Broyer t.bro...@gmail.com wrote: On 16 août, 16:23, Jeff Chimene jchim...@gmail.com wrote: Is Opera supported? It was... until History code were reworked for IE8 (HTML5/ onhashchange) support! Reported as issue 3956 (submitted too early, summary needs updating, sorry):http://code.google.com/p/google-web-toolkit/issues/detail?id=3956 @twdarkflame, could you try the proposed workaround? I know it's WebKit, but even so... Jeff, you need a refresh, Opera's using it's own rendering engine (and JS engine BTW) known as Presto. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)
The follow basic, projected created in eclipse by the plugin; /** * Entry point classes define codeonModuleLoad()/code. */ public class RateoholicTests implements EntryPoint, ValueChangeHandler { /** * This is the entry point method. */ public void onModuleLoad() { History.addValueChangeHandler(this); History.fireCurrentHistoryState(); } @Override public void onValueChange(ValueChangeEvent event) { Window.alert( Test:+event.getValue()); } } History does not fire when the token changes in opera, or when the user press's the back/forward button. It does fire initially. Currently tested in Opera beta 10.3 / 10 and 9.64 You can see an online example here; http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#something (just change the end of #something to #somethingelse, and you will notice history dosnt trigger as you click back/forward) Am I setting this up wrong? Or is this a bug/incompatibility? --~--~-~--~~~---~--~~ 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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)
projected? I meant project...weird slip there. On Aug 16, 2:33 pm, darkflame darkfl...@gmail.com wrote: The follow basic, projected created in eclipse by the plugin; /** * Entry point classes define codeonModuleLoad()/code. */ public class RateoholicTests implements EntryPoint, ValueChangeHandler { /** * This is the entry point method. */ public void onModuleLoad() { History.addValueChangeHandler(this); History.fireCurrentHistoryState(); } @Override public void onValueChange(ValueChangeEvent event) { Window.alert( Test:+event.getValue()); } } History does not fire when the token changes in opera, or when the user press's the back/forward button. It does fire initially. Currently tested in Opera beta 10.3 / 10 and 9.64 You can see an online example here; http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#som... (just change the end of #something to #somethingelse, and you will notice history dosnt trigger as you click back/forward) Am I setting this up wrong? Or is this a bug/incompatibility? --~--~-~--~~~---~--~~ 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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)
Is Opera supported? I know it's WebKit, but even so... On Sun, Aug 16, 2009 at 5:33 AM, darkflamedarkfl...@gmail.com wrote: The follow basic, projected created in eclipse by the plugin; /** * Entry point classes define codeonModuleLoad()/code. */ public class RateoholicTests implements EntryPoint, ValueChangeHandler { /** * This is the entry point method. */ public void onModuleLoad() { History.addValueChangeHandler(this); History.fireCurrentHistoryState(); } �...@override public void onValueChange(ValueChangeEvent event) { Window.alert( Test:+event.getValue()); } } History does not fire when the token changes in opera, or when the user press's the back/forward button. It does fire initially. Currently tested in Opera beta 10.3 / 10 and 9.64 You can see an online example here; http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#something (just change the end of #something to #somethingelse, and you will notice history dosnt trigger as you click back/forward) Am I setting this up wrong? Or is this a bug/incompatibility? --~--~-~--~~~---~--~~ 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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)
It is supported, and this is the first/only major opera-specific problem Ive had. Opera might not have much of the desktop market, but its got quite a large chuck of the portable, as well as the DS/Wii market. Besides, it would be bad form to drop support for a browser that has traditionally been one of the most standards-complient and upto date, so I suspect this isnt something deliberate on Googles part. On Aug 16, 4:23 pm, Jeff Chimene jchim...@gmail.com wrote: Is Opera supported? I know it's WebKit, but even so... On Sun, Aug 16, 2009 at 5:33 AM, darkflamedarkfl...@gmail.com wrote: The follow basic, projected created in eclipse by the plugin; /** * Entry point classes define codeonModuleLoad()/code. */ public class RateoholicTests implements EntryPoint, ValueChangeHandler { /** * This is the entry point method. */ public void onModuleLoad() { History.addValueChangeHandler(this); History.fireCurrentHistoryState(); } �...@override public void onValueChange(ValueChangeEvent event) { Window.alert( Test:+event.getValue()); } } History does not fire when the token changes in opera, or when the user press's the back/forward button. It does fire initially. Currently tested in Opera beta 10.3 / 10 and 9.64 You can see an online example here; http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#som... (just change the end of #something to #somethingelse, and you will notice history dosnt trigger as you click back/forward) Am I setting this up wrong? Or is this a bug/incompatibility? --~--~-~--~~~---~--~~ 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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)
On 08/16/2009 08:32 AM, twdarkflame wrote: It is supported, and this is the first/only major opera-specific problem Ive had. You're right. I don't remember seeing Opera in the list of supported browsers the last time I checked. --~--~-~--~~~---~--~~ 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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)
On 16 août, 16:23, Jeff Chimene jchim...@gmail.com wrote: Is Opera supported? It was... until History code were reworked for IE8 (HTML5/ onhashchange) support! Reported as issue 3956 (submitted too early, summary needs updating, sorry): http://code.google.com/p/google-web-toolkit/issues/detail?id=3956 @twdarkflame, could you try the proposed workaround? I know it's WebKit, but even so... Jeff, you need a refresh, Opera's using it's own rendering engine (and JS engine BTW) known as Presto. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---