Showcase mainMenu, space between MenuItems
I've tried to reduce the space between the main-menu Items without any success. How to do? I was successful with CwCellList same thing did not work with the main menu. Please help, Thanks -- 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/-/BkKNWSuYhD4J. 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: @ShowcaseSource
Sorry it was working with the ant script. Is used eclipse run as ... On Feb 16, 6:10 pm, Ewald Pankratz ewald.pankr...@gmail.com wrote: I'm playing around with the showcase example. I created a class similar to all the others which extent ContentWidget. It is working fine as long as I don't use Annotations like @ShowcaseSource. Then I get errors. Why? package com.google.gwt.sample.showcase.client.content.ep; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.RunAsyncCallback; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.i18n.client.Constants; import com.google.gwt.sample.showcase.client.ContentWidget; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseData; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseSource; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseStyle; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Widget; /** * Example file. */ @ShowcaseStyle(.gwt-German-Punkt) public class EpGermanPunkt extends ContentWidget { /** * The constants used in this Content Widget. */ @ShowcaseSource public static interface CwConstants extends Constants { String cwEpGermanPunktClickMessage(); String cwEpGermanPunktDescription(); String cwEpGermanPunktDisabled(); String cwEpGermanPunktName(); String cwEpGermanPunktNormal(); } /** * An instance of the constants. */ @ShowcaseData private final CwConstants constants; /** * Constructor. * * @param constants the constants */ public EpGermanPunkt(CwConstants constants) { super(constants.cwEpGermanPunktName(), constants .cwEpGermanPunktDescription(), true); this.constants = constants; } /** * Initialize this example. */ @ShowcaseSource @Override public Widget onInitialize() { HorizontalPanel hPanel = new HorizontalPanel(); hPanel.setSpacing(10); // Add a normal button Button normalButton = new Button( constants.cwEpGermanPunktNormal(), new ClickHandler() { public void onClick(ClickEvent event) { Window.alert(constants.cwEpGermanPunktClickMessage()); } }); normalButton.ensureDebugId(cwEpGermanPunkt-normal); hPanel.add(normalButton); // Return the panel return hPanel; } @Override protected void asyncOnInitialize(final AsyncCallbackWidget callback) { // TODO Auto-generated method stub GWT.runAsync(EpGermanPunkt.class, new RunAsyncCallback() { public void onFailure(Throwable caught) { callback.onFailure(caught); } public void onSuccess() { callback.onSuccess(onInitialize()); } }); } } -- 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.
@ShowcaseSource
I'm playing around with the showcase example. I created a class similar to all the others which extent ContentWidget. It is working fine as long as I don't use Annotations like @ShowcaseSource. Then I get errors. Why? package com.google.gwt.sample.showcase.client.content.ep; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.RunAsyncCallback; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.i18n.client.Constants; import com.google.gwt.sample.showcase.client.ContentWidget; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseData; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseSource; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseStyle; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Widget; /** * Example file. */ @ShowcaseStyle(.gwt-German-Punkt) public class EpGermanPunkt extends ContentWidget { /** * The constants used in this Content Widget. */ @ShowcaseSource public static interface CwConstants extends Constants { String cwEpGermanPunktClickMessage(); String cwEpGermanPunktDescription(); String cwEpGermanPunktDisabled(); String cwEpGermanPunktName(); String cwEpGermanPunktNormal(); } /** * An instance of the constants. */ @ShowcaseData private final CwConstants constants; /** * Constructor. * * @param constants the constants */ public EpGermanPunkt(CwConstants constants) { super(constants.cwEpGermanPunktName(), constants .cwEpGermanPunktDescription(), true); this.constants = constants; } /** * Initialize this example. */ @ShowcaseSource @Override public Widget onInitialize() { HorizontalPanel hPanel = new HorizontalPanel(); hPanel.setSpacing(10); // Add a normal button Button normalButton = new Button( constants.cwEpGermanPunktNormal(), new ClickHandler() { public void onClick(ClickEvent event) { Window.alert(constants.cwEpGermanPunktClickMessage()); } }); normalButton.ensureDebugId(cwEpGermanPunkt-normal); hPanel.add(normalButton); // Return the panel return hPanel; } @Override protected void asyncOnInitialize(final AsyncCallbackWidget callback) { // TODO Auto-generated method stub GWT.runAsync(EpGermanPunkt.class, new RunAsyncCallback() { public void onFailure(Throwable caught) { callback.onFailure(caught); } public void onSuccess() { callback.onSuccess(onInitialize()); } }); } } -- 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: Scrollbar Widget
On Mar 31, 4:11 pm, Thomas Jackson thomas.jackson@gmail.com wrote: I know this question has probably been asked many times but I was wondering if anyone has encountered a way to do a ScrollBar in GWT. I am looking to build a widget which will show a file and do not want to load the whole file but want the ScrollBars to represent the whole file and moving the scrollbar would load different parts of the file. Does anyone know of such a beast? Thanks Thomas You probably find here http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=google-web-toolkit-incubator what you are searching for. EP -- 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.
Click on a dragable object
Hi I have a stange behave with my application http://learn4money.appspot.com - go toEnglish/The Weather 1 - click Ctrl + for a few times to make it quite big. - click to the dragable word (in bold) and you will see it. Maybe somebody can explain me this behave a little bit. I have the following panels. VerticalPanel(FlowPanel, DecoratorPanel(AbsolutePanel(HorizontalPanel))) 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-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: Click on a dragable object
It looks quite good with FF but not with chrome. I also see a different result on another computer. On Mar 1, 11:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: Hi I have a stange behave with my application http://learn4money.appspot.com - go to English/The Weather 1 - click Ctrl + for a few times to make it quite big. - click to the dragable word (in bold) and you will see it. Maybe somebody can explain me this behave a little bit. I have the following panels. VerticalPanel(FlowPanel, DecoratorPanel(AbsolutePanel(HorizontalPanel))) 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-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: Constants Issue related to Properties file
# /src/t0001/client/T0001.java # package t0001.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.RootPanel; public class T0001 implements EntryPoint { public void onModuleLoad() { PhotoConstants constants = (PhotoConstants) GWT.create (PhotoConstants.class); Window.alert(constants.upnpAppName()); RootPanel.get().add(new HTML(ALLES MIST)); } } # src/t0001/client/PhotoConstants.java # package t0001.client; import com.google.gwt.i18n.client.Constants; public interface PhotoConstants extends Constants { String upnpAppName(); } # /src/t0001/client/PhotoConstants.properties # upnpAppName = it's all big shit On Jan 25, 10:43 am, Thomas Broyer t.bro...@gmail.com wrote: On Jan 24, 10:04 pm, Ashish Khivesara ashish.khives...@gmail.com wrote: Hi, I am trying to do a simple constant lookup. com.google.gwt.i18n.client. Constants is what I need to use. I created the interface public interface PhotoConstants extends Constants{ String appName(); } I am calling is in GWT Entry Point code as follows PhotoConstants constants = (PhotoConstants)GWT.create(PhotoConstants.class); Window.alert(constants.upnpAppName()); I created a PhotoConstants.properties file in war/ directory. The *.properties file should be in the same package as the corresponding *.java file. This is a compile-time thing, and the compiler doesn't look into your war/ directory (it only outputs into it) However I get the following Exception. This maybe because I dont have the properties file in the correct location?? The documentation does not say anything about it though... http://code.google.com/webtoolkit/doc/latest/DevGuideI18n.html#DevGui... says: Static string internationalization uses traditional Java .properties files to manage translating tags into localized values. These files may be placed into the same package as your main module class. They must be placed in the same package as their corresponding Constants/Messages subinterface definition file. -- 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: programatically using CssResource styles in 2.0
I tried to understand the problem and the solution and spend some time to fix the problem. But I always get compiler errors. Would be glad if you could give me the full solution. On Jan 25, 10:36 am, Thomas Broyer t.bro...@gmail.com wrote: On Jan 25, 5:38 am, ross ross.m.sm...@googlemail.com wrote: Hi, This is probably a very noob question but I have updated my project to GWT 2.0 and I am trying to rewrite some of my Widgets to use Declarative UI because it looks very promising and cool! However, I am a little stumped on how to apply CssResource styles dynamically in my code. I found the trailing info on the site (http:// code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html) and copied it here for convenience. The part that stumps is me is the following lines: void setEnabled(boolean enabled) { getElement().addStyle(enabled ? : style.enabled() : style.disabled ()); getElement().removeStyle(enabled ? : style.disabled() : style.enabled()); } There do not appear to be addStyle(String) and removeStyle(String) methods in the Element class?? Am I missing something obvious? I hope so! The methods are actually named addClassName and removeClassName. -- 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: GWT 2.0 uiBinder not completely working with DockPanelLayout (for me that is)
The number is too high. !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' g:DockLayoutPanel unit='EM' g:north size='5' g:LabelTop/g:Label /g:north g:center g:LabelBody/g:Label /g:center g:west size='15' g:LabelWest/g:Label /g:west g:south size=3 g:LabelSouth/g:Label /g:south /g:DockLayoutPanel /ui:UiBinder On Jan 24, 8:26 pm, Joe Hudson joe...@gmail.com wrote: Hello, I am new to GWT 2.0 and was trying out the uiBinder. I have a simple test project to get my feet wet and it isn't working as expected. I am only seeing the north and west sections in FireFox (not the center and south sections) and in IE I see nothing at all. Could anyone please help me understand what I am doing wrong? I do see the DOM for the missing sections (center and south) in Firebug but can't understand why they are not showing up. Thank you very much. -- FILES - public class Test implements EntryPoint { @Override public void onModuleLoad() { RootLayoutPanel.get().add(new MainPanel()); }} public class MainPanel extends Composite { interface MyUiBinder extends UiBinderDockLayoutPanel, MainPanel { } private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class); public MainPanel() { initWidget(uiBinder.createAndBindUi(this)); }} -- ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' g:DockLayoutPanel unit='EM' g:north size='5' g:LabelTop/g:Label /g:north g:center g:LabelBody/g:Label /g:center g:west size='210' g:LabelWest/g:Label /g:west g:south size=3 g:LabelSouth/g:Label /g:south /g:DockLayoutPanel /ui:UiBinder -- 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: port, eclipse, ff
Again a strange problem occurred. I copied a functional project in eclipse. One had an error in eclipse and the other one not. There was no reason for the error. They looked exactly the same. So I decided to install eclipse again. I deleted my $HOME/.eclipse directory and reinstalled eclipse. The problem disappeared. I suppose the reason was that I did some changes on the configuration. I followed the GWT eclipse instruction in README.txt (DND) and got jammed with the Checkstyle version 4.4.2, which I couldn't find. I installed a newer version and decided later to get rid of it, because it is written that a newer version will not work. Maybe at this point I mad some mistakes. Google should really automate the shit if possible. nevertheless, thanks a lot On Jan 23, 5:38 pm, Ewald Pankratz ewald.pankr...@gmail.com wrote: In the meantime I installed new software ssh, nfs, samba and imported another project and run it. I stopped it and wanted to reproduce the problem I had. But it was always working correctly. On Jan 23, 10:51 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I restarted my computer, opened eclipse, closed unrelated projects, run the program with port , opened my ff. did the address in, pressed return, got my result with no styling, pressed the reload button, same result. I stopped the program in ecilpse, changed the port to 8887, pressed apply, run it, copied the address, did it in ff, result was with styling. On Jan 22, 5:22 pm, Rajeev Dayal rda...@google.com wrote: You should not need to perform a compilation in order to get development mode to work. I'm not sure why port 8887 would have been active, unless you specified that in your launch configuration. What was appearing when you selected port vs port 8887? Can you reproduce the problem? 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com Clean an compile didn't help. When I choose Automatically select an unused port it's working. On Jan 22, 10:01 am, Hind AbdolKhaleq habdolkha...@gmail.com wrote: may try Project- clean and compile again : *Notice the message at console and print it out* 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com With something else I mean the wrong page I had before. On Jan 22, 6:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- 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.comgoogle-web-toolkit%2Bunsubs cr...@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-tool...@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-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: port, eclipse, ff
I restarted my computer, opened eclipse, closed unrelated projects, run the program with port , opened my ff. did the address in, pressed return, got my result with no styling, pressed the reload button, same result. I stopped the program in ecilpse, changed the port to 8887, pressed apply, run it, copied the address, did it in ff, result was with styling. On Jan 22, 5:22 pm, Rajeev Dayal rda...@google.com wrote: You should not need to perform a compilation in order to get development mode to work. I'm not sure why port 8887 would have been active, unless you specified that in your launch configuration. What was appearing when you selected port vs port 8887? Can you reproduce the problem? 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com Clean an compile didn't help. When I choose Automatically select an unused port it's working. On Jan 22, 10:01 am, Hind AbdolKhaleq habdolkha...@gmail.com wrote: may try Project- clean and compile again : *Notice the message at console and print it out* 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com With something else I mean the wrong page I had before. On Jan 22, 6:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- 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.comgoogle-web-toolkit%2Bunsubs cr...@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-tool...@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-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: port, eclipse, ff
In the meantime I installed new software ssh, nfs, samba and imported another project and run it. I stopped it and wanted to reproduce the problem I had. But it was always working correctly. On Jan 23, 10:51 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I restarted my computer, opened eclipse, closed unrelated projects, run the program with port , opened my ff. did the address in, pressed return, got my result with no styling, pressed the reload button, same result. I stopped the program in ecilpse, changed the port to 8887, pressed apply, run it, copied the address, did it in ff, result was with styling. On Jan 22, 5:22 pm, Rajeev Dayal rda...@google.com wrote: You should not need to perform a compilation in order to get development mode to work. I'm not sure why port 8887 would have been active, unless you specified that in your launch configuration. What was appearing when you selected port vs port 8887? Can you reproduce the problem? 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com Clean an compile didn't help. When I choose Automatically select an unused port it's working. On Jan 22, 10:01 am, Hind AbdolKhaleq habdolkha...@gmail.com wrote: may try Project- clean and compile again : *Notice the message at console and print it out* 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com With something else I mean the wrong page I had before. On Jan 22, 6:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- 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.comgoogle-web-toolkit%2Bunsubs cr...@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-tool...@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-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: port, eclipse, ff
I copied a project in eclipse with ctrl c, ctrl v to a new name, run it, got the address http://localhost:/DragDropDemo.html? gwt.codesvr=127.0.1.1:9997#BinExample and all css attributes were missing. Then I changed the port number to 8887 and it was working. I changed back to port and styles were missing. On Jan 22, 8:39 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: With something else I mean the wrong page I had before. On Jan 22, 6:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- 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: port, eclipse, ff
Clean an compile didn't help. When I choose Automatically select an unused port it's working. On Jan 22, 10:01 am, Hind AbdolKhaleq habdolkha...@gmail.com wrote: may try Project- clean and compile again : *Notice the message at console and print it out* 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com With something else I mean the wrong page I had before. On Jan 22, 6:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- 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.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-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.
port, eclipse, ff
I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- 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: port, eclipse, ff
With something else I mean the wrong page I had before. On Jan 22, 6:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- 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: plugin for firefox
Thanks very much for the hint On Jan 15, 11:07 pm, Sorinel C scristescu...@hotmail.com wrote: Can you set your dev. environment like is said here?http://ui-programming.blogspot.com/2009/12/update-your-application-to... You'll find out why you have to put that gwt.codesvr parameter and others small tricks. 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 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: Launching DevMode from ANT and debug in Eclipse?
I also had a problem with the debuging in eclipse before. I googled for it and found out that there is a problem with some java version. Better try the lasted one. On Jan 15, 10:40 pm, ABB watersel...@gmail.com wrote: OK it now works for one of these projects. When i Debug as... Web Application i see logs in the console and debugging works like a charm. Logs from the working project: ... Found new resource: com/google/gwt/core/client/GWTBridge.java Found new resource: com/google/gwt/lang/ ClassLiteralHolder.java Found new resource: com/google/gwt/lang/Util.java Validating servlet tags for module 'com.x.ecommerce.ui.gwt.Ecommerce' ... Emitting resource Ecommerce.css Emitting resource Ecommerce.html Emitting resource clear.cache.gif ... But for another project, i made the exact same tasks and nothing happens, nothing in eclipse console and in my browser i get the Fd.html file which is a Login screen and my EntryPoint is never reached. Eclipse console is empty, but in the Development Mode view i see the following errors: 16:32:16.634 [DEBUG] [com.dexero.fd.ui.gwt.admin.Admin] Checking rule generate-with class='com.google.gwt.resources.rebind.context.InlineClientBundleGenerator'/ 16:32:17.357 [ERROR] [com.fd.ui.gwt.admin.Admin] Unable to get value of property 'user.agent' 16:32:17.474 [ERROR] [com.fd.ui.gwt.admin.Admin] Deferred binding failed for 'com.allen_sauer.gwt.dnd.client.util.DragClientBundle'; expect subsequent failures 16:32:17.540 [ERROR] [com.dexero.fd.ui.gwt.admin.Admin] Unable to load module entry point class com.allen_sauer.gwt.dnd.client.util.DragEntryPoint (see associated exception for details) java.lang.RuntimeException: Deferred binding failed for 'com.allen_sauer.gwt.dnd.client.util.DragClientBundle' (did you forget to inherit a required module?) at com.google.gwt.dev.shell.GWTBridgeImpl.create (GWTBridgeImpl.java:43) at com.google.gwt.core.client.GWT.create(GWT.java:98) ... Any ideas? Thanks, ABB On Jan 15, 10:55 am, Alexander the.malk...@gmail.com wrote: Yeah, dont be shy. Tell us why you cant debug from Eclipse. 2010/1/15 Miguel Méndez mmen...@google.com You should be able to use eclipse to debug you web application -- we do it all the time. Are you not hitting break points or does it just not launch? On Thu, Jan 14, 2010 at 2:47 PM, ABB watersel...@gmail.com wrote: For some reason, I am not able to debug a specific GWT project in Eclipse using Debug as... Web Application. So I'm now trying to use an ANT target to launch DevMode in order to be able to debug my project in eclipse. Is that possible to use ANT or Debug as... Web Application is the only way to debug in eclipse? I'm kind of new with GWT, just started on a big project and for some reason, the guys here never used the debugger... Regards, ABB -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Miguel -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Regards, Alexander -- 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: DevMode 64-bit Linux InteliiJ IDEA
I work with ubuntu 9.10 and GWT 2.0 and eclipse 3.5 on Linux 64 bit without problems. On Jan 15, 2:16 pm, Hamlet D'Arcy hamlet...@gmail.com wrote: GWT Development Mode is not running for me using 64-bit Linux and IntellJ IDEA. I see there are some other threads and bug reports already for this issue, however they are either marked stale or predate the 2.0 release. The directions attached all include instructions that are no longer relevant with the 2.0 release. Does anyone have directions on how to get 64-bit Linux and GWT Development Mode running, preferably in IntelliJ IDEA? -- 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: TRying to upload a file
I am a newbie and I am never sure about anything. But for me it looks the whole server part of the example is missing. On Jan 18, 2:33 am, tedpottel tedpot...@gmail.com wrote: Hi, I cannot figure out how to upload a file. I copied the sample code at http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g... The program seemed to run fine, I 1. Click the browse button to choose a file to upload. 2. clicked submit. Check the folder war folder of my GWT project for the uploaded file could not fine it. Did the file get uploaded? If so whare is it? Help Ted -- 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.
plugin for firefox
I work with ubuntu 9.10 64 bit and use firefox 3.57. I work with the lastest release of GWT and GA. I installed the plugin for my browser some weeks before and everything looked fine. Suddenly I got error messages on firefox. I can't properly remember. It was something with the connection. I uninstalled the plugin in firefox and tried to install it again. But now I am not longer able to install the plugin. It tells me no suitable plugin found. Any idea what to do. Why is there no plugin for chrome. I use chrome version 4.0.249.43 on my system. Thanks a lot for any response. -- 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.
How to find out the Attributes for an UI Element
How can I find out which attribute are available for an UI-Element. e.g. I want to find out what else I can set for a FlexTable. I work with eclipse. g:center g:ScrollPanel g:FlexTable ui:field='table' styleName='{style.table}' cellSpacing='0' cellPadding='0'/ /g:ScrollPanel /g:center 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-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.
GWT 2.0 R2, implementation of CssResource css();
I'm too stupid to understand how all the things are connected. I tried to find out where the abstract methode css() is implemented. It's in Mail sample of GWT 2.0 R2. interface GlobalResources extends ClientBundle { @NotStrict @Source(global.css) CssResource css(); } 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-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: Selection of Widgets
Hi Adam I did something and it works partly. The text will not be selected as before but when I press the mouse and go out of the widget the full text will be selected again. Any idea? Regards, Ewald package g26v01.client; import com.google.gwt.dom.client.Element; import com.google.gwt.event.dom.client.MouseDownEvent; import com.google.gwt.event.dom.client.MouseDownHandler; import com.google.gwt.event.dom.client.MouseMoveEvent; import com.google.gwt.event.dom.client.MouseMoveHandler; import com.google.gwt.event.dom.client.MouseOutEvent; import com.google.gwt.event.dom.client.MouseOutHandler; import com.google.gwt.user.client.ui.HTML; public class MyHTML extends HTML { public MyHTML() { super(); // TODO Auto-generated constructor stub } public MyHTML(Element element) { super(element); // TODO Auto-generated constructor stub } public MyHTML(String html, boolean wordWrap) { super(html, wordWrap); // TODO Auto-generated constructor stub } public MyHTML(String html) { super(html); // TODO Auto-generated constructor stub MyMouseDownHandler ha = new MyMouseDownHandler(); this.addMouseDownHandler(ha); MyMouseMoveHandler ha2 = new MyMouseMoveHandler(); this.addMouseMoveHandler(ha2); MyMouseOutHandler ha3 = new MyMouseOutHandler(); this.addMouseOutHandler(ha3); } class MyMouseOutHandler implements MouseOutHandler { @Override public void onMouseOut(MouseOutEvent event) { // TODO Auto-generated method stub event.preventDefault(); } } class MyMouseDownHandler implements MouseDownHandler { @Override public void onMouseDown(MouseDownEvent event) { // TODO Auto-generated method stub event.preventDefault(); } } class MyMouseMoveHandler implements MouseMoveHandler { @Override public void onMouseMove(MouseMoveEvent event) { // TODO Auto-generated method stub event.preventDefault(); } } } On 23 Jul., 07:56, Adam T adam.t...@gmail.com wrote: Hi Ewald, Sounds like you want to prevent the default event handling of the browser. You'll need to add some event handlers to your HTML widget and the call the preventDefault() method in them. For example: HTML widget = new HTML(); widget.addMouseDownHandler(new MouseDownHandler(){ public void onMouseDown(MouseDownEvent event) { event.preventDefault(); } }); (you might get away with just handling the mouse down event, you might have to also handle mouse move - I can't remember without building a full example myself, but you get the point, hopefully). Regards, Adam On 22 Juli, 22:37, Ewald Pankratz ewald.pankr...@gmail.com wrote: Hi When I create a widget e.g. a HTML widget and go with the mouse over the widget and press the left mouse button and move the mouse somewhere else the widget or part of the widget will be selected. How can I get rid of this selection. I don't want any selection instead I want to draw a line from the widget to my current mouse pointer. Any ideas how to do that? I am a newbie. 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 -~--~~~~--~~--~--~---
Selection of Widgets
Hi When I create a widget e.g. a HTML widget and go with the mouse over the widget and press the left mouse button and move the mouse somewhere else the widget or part of the widget will be selected. How can I get rid of this selection. I don't want any selection instead I want to draw a line from the widget to my current mouse pointer. Any ideas how to do that? I am a newbie. 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: TabPanel
Thanks very much for the solution. After the constructor has finished it's as supposed to be. Ewald public class MyTabPanel extends TabPanel { int x, y; public MyTabPanel() { super(); setStyleName(TAB_PANEL); setSize(100%, 100%); add(new HTML(here is the first tab), TAB1); add(new HTML(here is the second tab), TAB2); add(new HTML(third tab), TAB3); selectTab(0); GWT.log(- X=[ + x + ] y=[ + y + ], null); } public int getx() { return(getAbsoluteLeft() + getOffsetWidth()); } public int gety() { return(getAbsoluteTop() + getOffsetHeight()); } } public class GWT25 implements EntryPoint { int x, y; public void onModuleLoad() { MyTabPanel tp = new MyTabPanel(); RootPanel.get().setStyleName(ROOTPANEL); RootPanel.get().add(tp); x = tp.getAbsoluteLeft() + tp.getOffsetWidth(); y = tp.getAbsoluteTop() + tp.getOffsetHeight(); GWT.log(- X=[ + x + ] y=[ + y + ], null); x = tp.getTabBar().getAbsoluteLeft() + tp.getTabBar ().getOffsetWidth(); y = tp.getTabBar().getAbsoluteTop() + tp.getTabBar ().getOffsetHeight(); GWT.log(- X=[ + x + ] y=[ + y + ], null); GWT.log(- X=[ + tp.getx() + ] y=[ + tp.gety() + ], null); } } On May 13, 12:01 pm, Magius antonio.diaz@gmail.com wrote: In not 100% sure but I remember that the size is 0 until the component is rendered. In this moment the browser calculates the layout of the page. And the browser executes first the js code, then update the DOM and finally it repaint the page. In this case, the final width and height are not available in the constructor. You can try using a resize event. I think it's called when the browser sets the initial values. On May 13, 4:57 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: Hi all I wounder why x and y are zero. Is this a bug? Maybe I do not understand the meaning behind. thanks. public class MyTabPanel extends TabPanel { int x, y; public MyTabPanel() { super(); setStyleName(TAB_PANEL); setSize(100%, 100%); add(new HTML(here is the first tab), TAB1); add(new HTML(here is the second tab), TAB2); add(new HTML(third tab), TAB3); selectTab(0); x = getAbsoluteLeft() + getOffsetWidth(); y = getAbsoluteTop() + getOffsetHeight(); GWT.log(- X=[ + x + ] y=[ + y + ], null); x = getTabBar().getAbsoluteLeft() + getTabBar ().getOffsetWidth(); y = getTabBar().getAbsoluteTop() + getTabBar ().getOffsetHeight(); GWT.log(- X=[ + x + ] y=[ + y + ], null); } } --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
TabPanel
Hi all I wounder why x and y are zero. Is this a bug? Maybe I do not understand the meaning behind. thanks. public class MyTabPanel extends TabPanel { int x, y; public MyTabPanel() { super(); setStyleName(TAB_PANEL); setSize(100%, 100%); add(new HTML(here is the first tab), TAB1); add(new HTML(here is the second tab), TAB2); add(new HTML(third tab), TAB3); selectTab(0); x = getAbsoluteLeft() + getOffsetWidth(); y = getAbsoluteTop() + getOffsetHeight(); GWT.log(- X=[ + x + ] y=[ + y + ], null); x = getTabBar().getAbsoluteLeft() + getTabBar ().getOffsetWidth(); y = getTabBar().getAbsoluteTop() + getTabBar ().getOffsetHeight(); GWT.log(- X=[ + x + ] y=[ + y + ], null); } } --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---