Re: Is it able to submit GWT widget in general web form?
I create some widget like textbox, suggestbox, and would like to insert these widget into html form instead of formpanel of GWT, actually I can show it in the form with div id=something/div, however I cannot send it to the backend servlet. That is my problem, thank you. c...@hk On Oct 27, 1:46 pm, Sanjeev Kulkarni sanjeev...@gmail.com wrote: Please elaborate your problem On Oct 27, 10:33 am, Cage cage...@gmail.com wrote: Hi there, Can anyone know how to submit GWT widget in a general web form e.g. JSP, ASP... ? Thanks a lot. c...@hk- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: Has anybody ever implemented java.util.UUID in GWT?
Why not using something that is available, e.g. http://uuid-service.appspot.com On Oct 26, 11:19 pm, Benju b...@fastcastmedia.com wrote: Has anybody here successfully managed to implement java.util.UUID in GWT? I have seen some examples of a GWT-specific UUID but it would be nice if it was added to the core JRE emulation library. Any thoughts? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to convert the GWT widgets to image
Not with GWT. May be with some apltes, activeX etc. On 26 Okt., 16:34, Arthik Babu arthikb...@gmail.com wrote: Hi I want to convert the GWT widget page to image. Its like previously visited snapshot of the web page. Is it possible to convert to an image. Please help me out. Thanks Arthik --~--~-~--~~~---~--~~ 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: java.lang.NoClassDefFoundError:java.net.Socket
hi sri thank you sri,now my code is working fine. thanks balu. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
handle to window.open opened window.
Hi, question: with javascript you can get a handle to the window that is opened through the window.open (native javascript). In GWT the Window.open returns a void. Is there a specific reason for this ? How to get the handle to the opened window with native GWT ? Regards, Rokesh --~--~-~--~~~---~--~~ 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: detecting user activity on the screen?
Nok nok, anybody any idea how to deal with this? On Oct 24, 6:52 pm, Ed post2edb...@hotmail.com wrote: How can I detect that a user isn't performing any activity on the screen? Activity: any click/type events. It's a bit like the HTTP Session timeout, that you destroy the user session when nothing happens. In the same way I want to perform some actions when the user doesn't do anything on the screen for X seconds... Any idea's ? Is there a way to subscribe global keyboard/mouse listeners ? Ed --~--~-~--~~~---~--~~ 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: I can't find the Compile/Browse button in GWT 2.0-ms2
Anyone? On 10月26日, 上午10时17分, Fangzx fangzhoux...@gmail.com wrote: In GWT version 1.x, I can press the Compile/Browse in hosted mode console to compile, but I can't find the Compile/Browse button in GWT 2.0-ms2. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How do I boostrap my Entry Point class with the User service?
Only classes listed in this page can be used in GWT Client Side: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html For other classes, we usually stub out them into a common module. But in this case, I don't think we can stub out UserService. You have to make a RPC. On Sun, Oct 25, 2009 at 2:43 AM, nacho vela.igna...@gmail.com wrote: Hi, im developing an aplication in gwt and i have an entry point class. What i do no realize how to do is how to only permit access to the user that is logged using the user service ( http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html ) Do i have to put something in the web.xml? Can somebody please help me? Thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Label in FlowPanel
Hi, I am trying to add labels to a flowPanel. The labels are being added each one on a line which does not reflect the real behavior of the flowPanel which is to have them on the same line and when the width is full to go to the second line. I tried substituting the label by a checkbox and a textbox and it worked. Any idea? Thank you. Here is the code I am using: [code] FlowPanel flowPanel = new FlowPanel(); flowPanel.ensureDebugId(cwFlowPanel); for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); flowPanel.add(a); } [/code] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Label in FlowPanel
Hello, Try to add the following CSS property float:left; for your labels/any div inside the FlowPanel for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); a.getElement().getStyle().setProperty(float, left); flowPanel.add(a); } regards, ruds On Tue, Oct 27, 2009 at 11:29 AM, Halabe elie.toumahal...@gmail.com wrote: Hi, I am trying to add labels to a flowPanel. The labels are being added each one on a line which does not reflect the real behavior of the flowPanel which is to have them on the same line and when the width is full to go to the second line. I tried substituting the label by a checkbox and a textbox and it worked. Any idea? Thank you. Here is the code I am using: [code] FlowPanel flowPanel = new FlowPanel(); flowPanel.ensureDebugId(cwFlowPanel); for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); flowPanel.add(a); } [/code] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: UIBinder with a form
It works, Thanks ! @UiHandler(form) public void onSubmitComplete(SubmitCompleteEvent event) { String result = event.getResults(); Window.alert(result); } Oli Thomas Broyer wrote: On 26 oct, 16:57, Olivier Degreef oliv...@digiworks.es wrote: Hi, I would like to know if it is possible to add a handler to a form using UIBinder ? For example, the code for button look like this : @UiHandler(buttonSubmit) void onClickSubmit(ClickEvent event) { Window.alert(Prout); } So, for the form, I tried : @UiHandler(form) void onSubmitComplete(FormSubmitCompleteEvent event) { Window.alert(Prout); } But it is not working. Try with FormPanel.SubmitCompleteEvent; FormSubmitCompleteEvent is the old, deprecated event class (well, it's not itself @Deprecated, but FormHandler is) As a rule of thumb, check that the event class inherits from com.google.gwt.event.shared.GwtEvent? --~--~-~--~~~---~--~~ 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: Label in FlowPanel
Hi Rudolf, I tried your solution but it did not work. I am still get the same! On Oct 27, 11:53 am, rudolf michael roud...@gmail.com wrote: Hello, Try to add the following CSS property float:left; for your labels/any div inside the FlowPanel for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); a.getElement().getStyle().setProperty(float, left); flowPanel.add(a); } regards, ruds On Tue, Oct 27, 2009 at 11:29 AM, Halabe elie.toumahal...@gmail.com wrote: Hi, I am trying to add labels to a flowPanel. The labels are being added each one on a line which does not reflect the real behavior of the flowPanel which is to have them on the same line and when the width is full to go to the second line. I tried substituting the label by a checkbox and a textbox and it worked. Any idea? Thank you. Here is the code I am using: [code] FlowPanel flowPanel = new FlowPanel(); flowPanel.ensureDebugId(cwFlowPanel); for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); flowPanel.add(a); } [/code] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Label in FlowPanel
Oh i forget to tell you that you have to set a fixed width for the flowpanel. if you don't now the width then you can do it onAttach(), but for now to test it, just set the width of your flowpanel to a radnom number. flowPanel.setWidth(600); On Tue, Oct 27, 2009 at 11:59 AM, Halabe elie.toumahal...@gmail.com wrote: Hi Rudolf, I tried your solution but it did not work. I am still get the same! On Oct 27, 11:53 am, rudolf michael roud...@gmail.com wrote: Hello, Try to add the following CSS property float:left; for your labels/any div inside the FlowPanel for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); a.getElement().getStyle().setProperty(float, left); flowPanel.add(a); } regards, ruds On Tue, Oct 27, 2009 at 11:29 AM, Halabe elie.toumahal...@gmail.com wrote: Hi, I am trying to add labels to a flowPanel. The labels are being added each one on a line which does not reflect the real behavior of the flowPanel which is to have them on the same line and when the width is full to go to the second line. I tried substituting the label by a checkbox and a textbox and it worked. Any idea? Thank you. Here is the code I am using: [code] FlowPanel flowPanel = new FlowPanel(); flowPanel.ensureDebugId(cwFlowPanel); for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); flowPanel.add(a); } [/code] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Label in FlowPanel
Still same issue. On Oct 27, 12:02 pm, rudolf michael roud...@gmail.com wrote: Oh i forget to tell you that you have to set a fixed width for the flowpanel. if you don't now the width then you can do it onAttach(), but for now to test it, just set the width of your flowpanel to a radnom number. flowPanel.setWidth(600); On Tue, Oct 27, 2009 at 11:59 AM, Halabe elie.toumahal...@gmail.com wrote: Hi Rudolf, I tried your solution but it did not work. I am still get the same! On Oct 27, 11:53 am, rudolf michael roud...@gmail.com wrote: Hello, Try to add the following CSS property float:left; for your labels/any div inside the FlowPanel for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); a.getElement().getStyle().setProperty(float, left); flowPanel.add(a); } regards, ruds On Tue, Oct 27, 2009 at 11:29 AM, Halabe elie.toumahal...@gmail.com wrote: Hi, I am trying to add labels to a flowPanel. The labels are being added each one on a line which does not reflect the real behavior of the flowPanel which is to have them on the same line and when the width is full to go to the second line. I tried substituting the label by a checkbox and a textbox and it worked. Any idea? Thank you. Here is the code I am using: [code] FlowPanel flowPanel = new FlowPanel(); flowPanel.ensureDebugId(cwFlowPanel); for (int i = 0; i 30; i++) { Label a = new Label(); a.setText(test + i); flowPanel.add(a); } [/code] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
GWT Eclipse Plugin problem: how can I delay validation when using generated sources ?
Hi, Before I try and create a bug report I just want to see if somebody else has the same issues with GWT Eclipse Plugin (1.1 release downloaded just now 27/10/2009) My GWT project uses Eclipse builders to generate the synchronous and asynchronous interfaces for our RPC classes. We have an automatic session-bean - GWT RPC servlet that uses annotations to decide what to expose to GWT and what not. The Plugin however complains that the async interface is missing. But the file is there right next to the generated synchronous interface. What is the cause of this behaviour ? - validation of the plugin happens before the workspace is fully refreshed ? - only looks at the first java source folder to find the Async ? - The source folders are in fact linked resources ... could that have impact ? I tried refreshing the project but the Error remains in the Problems view. David --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
AbstractRemoteServiceServlet and methods synchronized
why have methods that its synchronized? when its a servlet, the container manager this.. I'm see that doPost is synchronized, this means a great loss of time if you test debuging, you will see that, if dont have a method synchronized the code will not work.. but test running, if create local variavle and print than, will work witouht a method synchronized too.. I'm wrong regards... --~--~-~--~~~---~--~~ 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: AbstractRemoteServiceServlet and methods synchronized
in gwt 1.7.1 this method is NOT syncronized.. On 27 out, 08:57, Diego Lovison diegolovi...@gmail.com wrote: why have methods that its synchronized? when its a servlet, the container manager this.. I'm see that doPost is synchronized, this means a great loss of time if you test debuging, you will see that, if dont have a method synchronized the code will not work.. but test running, if create local variavle and print than, will work witouht a method synchronized too.. I'm wrong regards... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 2.0M1 java.lang.NoSuchFieldError WITH ECLIPSE PLUGIN
Any ideas? On 26 Ott, 21:49, bond daniele.re...@gmail.com wrote: Hi, I've a problem when I try to compile my dummy Eclipse web project with GWT Module with Google Plugin 1.1.2. The error is this: [ERROR] Unexpected java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions (JdtCompiler.java:208) at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.init (JdtCompiler.java:94) at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java: 253) at com.google.gwt.dev.javac.CompilationState.compile (CompilationState.java:338) at com.google.gwt.dev.javac.CompilationState.refresh (CompilationState.java:247) at com.google.gwt.dev.javac.CompilationState.init (CompilationState.java:116) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState (ModuleDef.java:285) at com.google.gwt.dev.Precompile.precompile(Precompile.java:489) at com.google.gwt.dev.Precompile.precompile(Precompile.java:408) at com.google.gwt.dev.Compiler.run(Compiler.java:194) at com.google.gwt.dev.Compiler$1.run(Compiler.java:145) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 89) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger (CompileTaskRunner.java:83) at com.google.gwt.dev.Compiler.main(Compiler.java:152) Anyone has some ideas of the problem? I'm tring to deploy GWT application on Tomcat 6.0.20 directly from Eclipse. Thanks very much Best regards --~--~-~--~~~---~--~~ 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: FileOutputStream doesn't work in a remoteServiceServlet class?
First, thanks for this hint. Okay, I see the problem, but I don't know how to solve it. Can you tell me what to do or do you know a webside with more informations concerning this problem? Unfortunately I didn't find such a side. Regards, Roland --~--~-~--~~~---~--~~ 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: detecting user activity on the screen?
On 24 oct, 18:52, Ed post2edb...@hotmail.com wrote: How can I detect that a user isn't performing any activity on the screen? Activity: any click/type events. It's a bit like the HTTP Session timeout, that you destroy the user session when nothing happens. In the same way I want to perform some actions when the user doesn't do anything on the screen for X seconds... Any idea's ? Is there a way to subscribe global keyboard/mouse listeners ? Have a look at Event.addNativePreviewHandler() --~--~-~--~~~---~--~~ 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: Label in FlowPanel
On 27 oct, 10:29, Halabe elie.toumahal...@gmail.com wrote: Hi, I am trying to add labels to a flowPanel. The labels are being added each one on a line which does not reflect the real behavior of the flowPanel which is to have them on the same line and when the width is full to go to the second line. FlowPanel's behavior is actually to not do anything special and leave it all to HTML/CSS intepretation by the browser. I tried substituting the label by a checkbox and a textbox and it worked. Any idea? Use an InlineLabel instead. --~--~-~--~~~---~--~~ 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: displaying static content in gwt
Sorry, I am not getting you.. Do You mean including it into the html file directly by editing the .html file? We are using GWT (with ext) only to design the pages. If I include it using GWT, I'll be using setHtml(String) method to add the html. I dont want to hard code the chunks of html code in string. thx On Oct 26, 2:59 pm, Thomas Broyer t.bro...@gmail.com wrote: On 26 oct, 10:50, usmanf linkusma...@yahoo.com wrote: I am thinking to place most of the design code [html] in the static files with .html and place their contents into the panel's setHtml() instead of writing GWT code for every thing. like for example I have a panel in the top that contains anchors like Home, Support, News etc. Instead of creating a Hyperlink object for each link and setting the style element to format it, I am thinking to read this chunk of code from a html file and use the panels's setHtml (String) to display it. The benefit I can see with this approach is avoid compiling the code even for a small change and also it could be easy to change in the future. Am I thinking in the right direction? Is there any other optimistic way of doing it? Cannot you just include it in your HTML host page instead of creating/ managing it as a GWT widget? (you can still show/hide it using GWT if you want, using e.g. UIObject.setVisible(Document;get().getElementById (header), true)) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is it able to submit GWT widget in general web form?
On 27 oct, 07:02, Cage cage...@gmail.com wrote: I create some widget like textbox, suggestbox, and would like to insert these widget into html form instead of formpanel of GWT, actually I can show it in the form with div id=something/div, however I cannot send it to the backend servlet. That is my problem, thank you. Did you setName() on your widgets? Also, check the resulting DOM with tools like Firebug, IE Developer Tools, Safari's Web Inspector, etc. to make sure the controls are *within* the form. --~--~-~--~~~---~--~~ 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: Label in FlowPanel
Hi Thomas, By using an inline label, the labels were displayed on one line however the width of the FlowPanel is fixed. So, instead of getting the labels: text1 text2 text3 text4 text5 text6 text7 I got: text1 text2 text3 text4 text5 text6 text7 Thanks for your help. On Oct 27, 1:47 pm, Thomas Broyer t.bro...@gmail.com wrote: On 27 oct, 10:29, Halabe elie.toumahal...@gmail.com wrote: Hi, I am trying to add labels to a flowPanel. The labels are being added each one on a line which does not reflect the real behavior of the flowPanel which is to have them on the same line and when the width is full to go to the second line. FlowPanel's behavior is actually to not do anything special and leave it all to HTML/CSS intepretation by the browser. I tried substituting the label by a checkbox and a textbox and it worked. Any idea? Use an InlineLabel instead. --~--~-~--~~~---~--~~ 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: Label in FlowPanel
Just use a FlexTable and keep track of row / col yourself. It isn't that difficult to do. Regards, Davis On Tue, Oct 27, 2009 at 8:04 AM, Halabe elie.toumahal...@gmail.com wrote: Hi Thomas, By using an inline label, the labels were displayed on one line however the width of the FlowPanel is fixed. So, instead of getting the labels: text1 text2 text3 text4 text5 text6 text7 I got: text1 text2 text3 text4 text5 text6 text7 Thanks for your help. On Oct 27, 1:47 pm, Thomas Broyer t.bro...@gmail.com wrote: On 27 oct, 10:29, Halabe elie.toumahal...@gmail.com wrote: Hi, I am trying to add labels to a flowPanel. The labels are being added each one on a line which does not reflect the real behavior of the flowPanel which is to have them on the same line and when the width is full to go to the second line. FlowPanel's behavior is actually to not do anything special and leave it all to HTML/CSS intepretation by the browser. I tried substituting the label by a checkbox and a textbox and it worked. Any idea? Use an InlineLabel instead. -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
new page in Gwt
HI all, o not using eclips. and i want to create more than one page. in my Gwt proj. can any one tell me how to do that? using command line? webappcreator can creat only one page. pls help me. -- Drj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is there a easy way to remove all the widgets in a cpanel?
On Oct 26, 6:32 pm, Ian Bambury ianbamb...@gmail.com wrote: Would you like to expand on your reasoning behind that comment? Ian http://examples.roughian.com 2009/10/26 Eric erjab...@gmail.com If you program creates handlers and attaches them to the panel, simply deleting the panel and recreating it risks memory leaks. Respectfully, Eric Jablow Suppose your panel contains a custom widget where you create a handler as a non-static inner class, and suppose you add that handler to another object outside the panel. Unless you are careful to remove the handler when you reset the panel, the handler still holds a reference to its enclosing widget, and the widget cannot be garbage-collected. It's an old problem in the Swing world. I wrote things slightly backwards earlier. Sorry about that. Respectfully, Eric Jablow --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is there a easy way to remove all the widgets in a cpanel?
Provided you stick to standard GWT and extend existing GWT widgets (or Composite), and use the built-in addXxxHandler methods, then you won't get any memory leaks. Or if you are, then report it as a bug, since GWT aims to ensure that there are no memory leaks if GWT is used normally. Ian http://examples.roughian.com 2009/10/27 Eric erjab...@gmail.com On Oct 26, 6:32 pm, Ian Bambury ianbamb...@gmail.com wrote: Would you like to expand on your reasoning behind that comment? Ian http://examples.roughian.com 2009/10/26 Eric erjab...@gmail.com If you program creates handlers and attaches them to the panel, simply deleting the panel and recreating it risks memory leaks. Respectfully, Eric Jablow Suppose your panel contains a custom widget where you create a handler as a non-static inner class, and suppose you add that handler to another object outside the panel. Unless you are careful to remove the handler when you reset the panel, the handler still holds a reference to its enclosing widget, and the widget cannot be garbage-collected. It's an old problem in the Swing world. I wrote things slightly backwards earlier. Sorry about that. Respectfully, Eric Jablow --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
How to minimize browser using GWT ?
How to minimize browser using GWT ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Eclipse Plugin problem: how can I delay validation when using generated sources ?
We perform validations on save and as-you-type. It should rerun the validation after the types are regenerated. As long as the generated folder is on the project's classpath it should work. Could you file a bug for this with a repro case? Thanks, On Tue, Oct 27, 2009 at 6:47 AM, David david.no...@gmail.com wrote: Hi, Before I try and create a bug report I just want to see if somebody else has the same issues with GWT Eclipse Plugin (1.1 release downloaded just now 27/10/2009) My GWT project uses Eclipse builders to generate the synchronous and asynchronous interfaces for our RPC classes. We have an automatic session-bean - GWT RPC servlet that uses annotations to decide what to expose to GWT and what not. The Plugin however complains that the async interface is missing. But the file is there right next to the generated synchronous interface. What is the cause of this behaviour ? - validation of the plugin happens before the workspace is fully refreshed ? - only looks at the first java source folder to find the Async ? - The source folders are in fact linked resources ... could that have impact ? I tried refreshing the project but the Error remains in the Problems view. David -- 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-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to minimize browser using GWT ?
Rinku schrieb: How to minimize browser using GWT ? If you replace GWT with HTML/Javascript and know the answer, you can answer that for yourself. I don't know the answer, but doubt that this is possible. Regards, Lothar --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
OOPHM and Server Side Page
Hi, I am working on a web application (using maven project structure) with GWT embedded in several JSPs. Up until now I was running the application server (Tomcat 6) on port 8080, the hosted mode server on port , and the JSPs would contains a code like this for development: script type=text/javascript language=javascript src=http:// localhost:/myapp.nocache.js/script and point the hosted mode browser to http://localhost:8080/...during GWT development. (In production the compiled GWT code would be hosted on the same port of course) This worked fine but now I want to upgrade to GWT 2.0, and I don't understand how I can have pages on the server with GWT code that could run in hosted mode, unless I would run the entire application on the hosted mode server (which is a bad practice for real-world applications to my understanding, and may not work the same as the standard Tomcat). Can this be achieved? Thanks, Gabriel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to minimize browser using GWT ?
Guys, i seriously believe that this is not possible in any other the modern browsers available: IE,Firefox,Chrome. You could try: window.blur() window.moveTo() window.resize() But it just would minimize. Period. :) all the best. On Oct 27, 7:00 pm, Lothar Kimmeringer j...@kimmeringer.de wrote: Rinku schrieb: How to minimize browser using GWT ? If you replace GWT with HTML/Javascript and know the answer, you can answer that for yourself. I don't know the answer, but doubt that this is possible. Regards, Lothar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to use RestyGWT or external module in general in new (eclipse) project?
Hi, You can get that jar from: http://download.java.net/maven/2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar Regards, Hiram On Oct 26, 5:16 pm, Youngster aecdej...@gmail.com wrote: Hi, I found a module that sounds exactly what i'm looking for but i am kind of a novice and don't know how to set it up to can use it. I'm using Eclipse with the GWT plugin. I'm talking about RestyGWT, a module that should make it possible to use REST services with the power of RPC in GWT. See:http://github.com/chirino/resty-gwtandhttp://github.com/chirino/resty-gwt. I really searched the net but can't find anything that helps me. I tried adding libraries, paths external sources etc. etc. etc. but nothing works. I pasted all files in my own project but then it tells me that javax.ws.* cannot be resolved. Can someone please help me with a clear description of how to get this to work in a new project (preferably in Eclipse)? 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 -~--~~~~--~~--~--~---
error while navigation
hi every one. i am new to GWT,i designed a login page. If login is success ,i want to go home page else i want to go login page. plz guide me how to do this navigation system in GWT. for this navigation i used following code Model model=new Model(); int x=model.verifyUser(username, password); HttpServletRequest request = this.getThreadLocalRequest(); HttpServletResponse response = this.getThreadLocalResponse(); RequestDispatcher rd=null; if(x==1){ rd=request.getRequestDispatcher(/home.html); } else{ rd=request.getRequestDispatcher(/login.html); } rd.forward(request,response); } while i runing this sample i got folloeing exceptions and wraning 1) [WARN] Exception while dispatching incoming RPC call java.io.IOException: Closed 2)[ERROR] 500 - POST /login/login (127.0.0.1) 1396 bytes --~--~-~--~~~---~--~~ 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: Problem in Debian Squeeze
Hi: libstdc++5 is only in Debian stable. You'll want to amend your sources.list, update, and install libstdc++5. I would highly recommend a backup before doing this. You'll probably want to use apt-get rather than a high level package manager like aptitude. You might also try going to GWT 2 to see how OOPHM behaves, since you're using an ancient version of Mozilla by staying on GWT 1.x Also, be aware that there is a problem w/ libgtk2 2.18 (testing) and Eclipse. You might find that some Eclipse widgets (e.g. buttons) stop working. I had to downgrade libgtk to stable to upgrade Eclipse a few days ago. I haven't been using GWT for a few weeks. I just tried GWT to take a look at your issue and the problem did return. I think I'll have to pin libgtk to stable until Eclipse resolves this discrepancy. This may affect you as well. On Mon, Oct 26, 2009 at 7:27 PM, Eduardo Henrique eduardo.hi...@gmail.comwrote: I'm trying to run my project in debian squeeze (testing) but i got this error: ** Unable to load Mozilla for hosted mode ** java.lang.UnsatisfiedLinkError: /home/eduardo/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.7.1.v200909221731/gwt-linux-1.7.1/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot open shared object file: No such file or directory I tried to install using aptitude, but the only package available to install is libstdc++6. Does anyone have experienced this??? any workaround to do?? -- Eduardo Henrique Analista de Sistemas SoftSite Tecnologia - www.softsite.com.br +55 (85) 3273-1476 --~--~-~--~~~---~--~~ 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: Differences between Hosted and Web mode JUnit testing
On 26 oct, 18:16, Steve C st...@steveclaflin.com wrote: I have read numerous times that Hosted mode tests bytecode, while Web mode tests in actual JavaScript. Wanting to delve into this deeper, I came up with the following, in which the JUnit tests succeed in both hosted and web modes. I was expecting that because I used native JS features not available in Java, it would fail in hosted mode: package com.x.gwt.firsttest.client; public class StringProducer { public native String getSomeText()/*-{ String.prototype.yo = function() { return Hello there; }; return Yo.yo(); }-*/; This is all JavaScript, why would it fail? Even this one works: public class StringProducer { public native String getSomeText(String yo) /*-{ yo.constructor.prototype.yo = function() { return Hello there; }; return yo.yo(); }-*/; } because the String is a marshaled as a native JS String. Now, try this: public class Foo { } public class StringProducer { public native String getSomeText(Foo yo) /*-{ yo.prototype.yo = function() { return Hello there; }; return yo.yo(); }-*/; } with the test being: public void testStringProducer() { assertEquals(Hello there, new StringProducer().getSomeText(new Foo ())); } Now, this will fail in hosted mode but pass in web mode, because when Foo is passed in to the JS world, it is wrapped, contrary to String. You can try yo.prototype.yo = ... and yo.yo = ..., it'll fail with a different error, but it'll fail anyway, and only in hosted mode. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT.log listener in hosted mode
On 25 oct, 18:29, al.hicks al.hi...@gmail.com wrote: Hello, I am looking for some help. I want to be able to listen to the GWT.log messages that are output in the hosted mode console and use them in another application. Currently I am only interested in doing this locally. My thoughts are that the simplest way to achieve this is to some how write them to a file? Does anyone know how to do this? Ideally there would be a way that I can do this would modifying the GWT code base. You can pass a -logdir argument to DevMode (2.0.0-MS2 onwards) to have the log duplicated into files. For previous versions (1.6 and 1.7), you'd have to inherit HostedMode and override initializeLogger to create a PrintWriterTreeLogger (have a look at how JUnitShell does exactly this). I seem to remember that with older versions (1.5.x) you could pass a - treeLogger argument with the classname of your own TreeLogger implementation; but that's just from memory, it might have only been possible for GWTCompiler and not GWTShell... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT.log listener in hosted mode
thats great thanks for the help. cheers, alan. On Oct 27, 3:45 pm, Thomas Broyer t.bro...@gmail.com wrote: On 25 oct, 18:29, al.hicks al.hi...@gmail.com wrote: Hello, I am looking for some help. I want to be able to listen to the GWT.log messages that are output in the hosted mode console and use them in another application. Currently I am only interested in doing this locally. My thoughts are that the simplest way to achieve this is to some how write them to a file? Does anyone know how to do this? Ideally there would be a way that I can do this would modifying the GWT code base. You can pass a -logdir argument to DevMode (2.0.0-MS2 onwards) to have the log duplicated into files. For previous versions (1.6 and 1.7), you'd have to inherit HostedMode and override initializeLogger to create a PrintWriterTreeLogger (have a look at how JUnitShell does exactly this). I seem to remember that with older versions (1.5.x) you could pass a - treeLogger argument with the classname of your own TreeLogger implementation; but that's just from memory, it might have only been possible for GWTCompiler and not GWTShell... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server
Just remember to do the Google-GWT Compile step to create all of the files in the war/module_name folder that's auto-rebuilt for each compile. Those are the ones that are needed when not in hosted/dev mode. And if you're not creating a new war file each time, you may want to consider removing the war/module_name folder in Tomcat before you copy over the latest build so that obsolete code (all files have hashes for names, so you won't ever overlay a file that has changed since the last compile) doesn't build up over time. --~--~-~--~~~---~--~~ 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: need to execute commands on windows machine from remote server
I suspect you'll need a plug-in of some sort as what you suggest would scare the heck out of most people who use a browser, that your server could somehow launch a program on my computer and then monitor it. For the browser, the code is mostly limited to javascript or to a plug-in since it would be odd to have any such capability be present otherwise (it would be a huge security hole). On Mon, Oct 26, 2009 at 8:43 PM, sathya sathyavik...@gmail.com wrote: I have client machines on which I need to automatically start xyz.exe application and monitor this. I need to automatically login into client system and invoke xyz.exe application with known username and passwords. --~--~-~--~~~---~--~~ 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: OOPHM and Server Side Page
On 27 oct, 15:10, Gabriel guz...@gmail.com wrote: Hi, I am working on a web application (using maven project structure) with GWT embedded in several JSPs. Up until now I was running the application server (Tomcat 6) on port 8080, the hosted mode server on port , and the JSPs would contains a code like this for development: script type=text/javascript language=javascript src=http:// localhost:/myapp.nocache.js/script and point the hosted mode browser tohttp://localhost:8080/...during GWT development. (In production the compiled GWT code would be hosted on the same port of course) Wow! why not just using the -noserver option? http://code.google.com/intl/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT's or a servlet to proxy all requests to a specific URL space to your server: http://code.google.com/p/google-web-toolkit/issues/detail?id=3131 This worked fine but now I want to upgrade to GWT 2.0, and I don't understand how I can have pages on the server with GWT code that could run in hosted mode, unless I would run the entire application on the hosted mode server (which is a bad practice for real-world applications to my understanding, and may not work the same as the standard Tomcat). Can this be achieved? yes, the same as before: -noserver or a proxy servlet. We've been using a proxy servlet since GWT 1.4 without having to change anything when switching to 1.5, 1.7 and now 2.0 (except: we actually had a dependency on a 1.4/1.5 internal detail, so we had to change our servlet a bit when switching to 1.7, but we changed strictly *nothing* when switching to 2.0 a few weeks ago) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Navigation
You should be able to navigate by setting a new URL on Window.Location.replace(newURL). This should cause the browser to load the age at newURL (what in JSP might be thought of as a sendRedirect, but without having to talk to the server to get it). On Mon, Oct 26, 2009 at 7:30 PM, compuroad wilson.ferreira...@gmail.comwrote: Thanks for the reply. Are there any code examples? All the application samples on the GWT download package (Mail, Showcase, etc.) are single screen applications. None of them are good at showing how you navigate from one screen to the next even though you have only a HTML page defined. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Group Async in one class
Hi all, I was thinking to group the Async call (client-side) in one class in order to make code cleaner. In a multiuser application, could I create a Singleton which return the Async reqested by client? Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
DatePicker#setValue(java.util.Date)
Hi, I'm using com.google.gwt.user.datepicker.client.DatePicker. However, if I set the value such as: datePicker.setValue(date); where date is some java.util.Date object, I was expecting the DatePicker to show the highlighted date, but it does not seem to. It instead just defaults to the current date. It isn't 100% obvious to me after viewing the javadoc that there is some alternative API I should be calling to make this hapen. http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/datepicker/client/DatePicker.html#setValue%28java.util.Date%29 Am I missing something? Regards, Davis --~--~-~--~~~---~--~~ 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: Displaying static content on gwt client
Do I need to svn checkout to from the gwt to get files for the UiBinder stuff? We are using gwt 1.7.1 with ext 2.0.1. unable to find any support inside gwt 1.7.1 On Oct 26, 5:05 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: There a couple of approaches you can use, each with its pros and cons. 1. You can put it in the initial user request with code using jsp/php/asp - but that would mean your initial page load size is going to increase. If the content is really important - you can use this approach; but for things like news and advertisements - its not worth the extra time it is going to take to see the main content of your application. 2. You can use UiBinder - but it is a compile time thing. You cannot change the content at run time. But it has the best performance - even better than putting your content within jsp/asp/php. If you don't mind recompiling and redeploying your application whenever content changes, this is the best option. 3. You can dynamically download the data using RequestBuilder - but that has the worst performance. It is a new http request to download the html, and perhaps additional requests to download embedded images and CSS. Plus, there are things like Cross Site Scripting to think about (GWT should handle most of it, but you could still get in trouble). But then - it gives you the highest flexibility - no recompilations. The approach you choose depends on how frequently your content changes, how much you care about performance, and how much flexibility you desire. --Sri 2009/10/26 jhulford jhulf...@gmail.com I would suggest using something like jsp / php / asp to generate your GWT host page and have all the static content loaded directly into the page during the initial user request along w/ the code to load up your GWT module. Or if you don't mind using bleeding edge code, you may want to take a look at the new UIBinder stuff in the 2.0 release candidate. On Oct 24, 9:32 am, usmanf linkusma...@yahoo.com wrote: I am designing a home page for my website using GWT ext (GXT). It contains a lot of static contents like news, advert text etc that usually goes on the home page. Firstly I tried separating the static content into html files and reading them using java.io.FileReader to set them on the Panel's setHtml(). I realized that GWT SDK does not allow to use java.io.* on the client side. The only way I have now is to place the static content into hard-coded string values like --~--~-~--~~~---~--~~ 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: DatePicker#setValue(java.util.Date)
I guess I was missing something, as in: DatePicker#setCurrentMonth(java.util.Date); If you #setValue( ) the UI doesn't auto-magically switch to that month..you have to do it programmatically or I guess force it to with a change handler. Nevermind...nothing to see here... On Tue, Oct 27, 2009 at 12:21 PM, davis davisf...@zenoconsulting.bizwrote: Hi, I'm using com.google.gwt.user.datepicker.client.DatePicker. However, if I set the value such as: datePicker.setValue(date); where date is some java.util.Date object, I was expecting the DatePicker to show the highlighted date, but it does not seem to. It instead just defaults to the current date. It isn't 100% obvious to me after viewing the javadoc that there is some alternative API I should be calling to make this hapen. http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/datepicker/client/DatePicker.html#setValue%28java.util.Date%29 Am I missing something? Regards, Davis --~--~-~--~~~---~--~~ 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: Displaying static content on gwt client
You can use GWT 2.0 Milestone 2 from this link - http://code.google.com/p/google-web-toolkit/downloads/list?can=1q=2.0+Milestone+2 Alternatively, you can also build GWT from source. --Sri 2009/10/27 usmanf linkusma...@yahoo.com Do I need to svn checkout to from the gwt to get files for the UiBinder stuff? We are using gwt 1.7.1 with ext 2.0.1. unable to find any support inside gwt 1.7.1 On Oct 26, 5:05 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: There a couple of approaches you can use, each with its pros and cons. 1. You can put it in the initial user request with code using jsp/php/asp - but that would mean your initial page load size is going to increase. If the content is really important - you can use this approach; but for things like news and advertisements - its not worth the extra time it is going to take to see the main content of your application. 2. You can use UiBinder - but it is a compile time thing. You cannot change the content at run time. But it has the best performance - even better than putting your content within jsp/asp/php. If you don't mind recompiling and redeploying your application whenever content changes, this is the best option. 3. You can dynamically download the data using RequestBuilder - but that has the worst performance. It is a new http request to download the html, and perhaps additional requests to download embedded images and CSS. Plus, there are things like Cross Site Scripting to think about (GWT should handle most of it, but you could still get in trouble). But then - it gives you the highest flexibility - no recompilations. The approach you choose depends on how frequently your content changes, how much you care about performance, and how much flexibility you desire. --Sri 2009/10/26 jhulford jhulf...@gmail.com I would suggest using something like jsp / php / asp to generate your GWT host page and have all the static content loaded directly into the page during the initial user request along w/ the code to load up your GWT module. Or if you don't mind using bleeding edge code, you may want to take a look at the new UIBinder stuff in the 2.0 release candidate. On Oct 24, 9:32 am, usmanf linkusma...@yahoo.com wrote: I am designing a home page for my website using GWT ext (GXT). It contains a lot of static contents like news, advert text etc that usually goes on the home page. Firstly I tried separating the static content into html files and reading them using java.io.FileReader to set them on the Panel's setHtml(). I realized that GWT SDK does not allow to use java.io.* on the client side. The only way I have now is to place the static content into hard-coded string values like --~--~-~--~~~---~--~~ 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: Insert addthis-button in GWT
You add 2 separate elements: First add a ScriptElement containing the external JavaScript Next, add an InlineHTML element to contain the button html. On Oct 26, 6:55 pm, vokke vkub...@gmail.com wrote: Hi Bryan, many thanks for your answer. But I need more help, I'm afraid... I tried the following: code Document doc = Document.get(); ScriptElement script = doc.createScriptElement(); script.setSrc(http://s7.addthis.com/js/250/ addthis_widget.js#pub=xa-4ae3631c6412b94f); script.setType(text/javascript); script.setInnerHTML(a class=\addthis_button\ href=\http://www.addthis.com/bookmark.php?v=250pub=xa-4ae3631c6412b94f\;img src=\http://s7.addthis.com/static/btn/v2/lg-bookmark-en.gif\; width= \125\ height=\16\ alt=\Bookmark and Share\ style=\border:0\// a); doc.getBody().appendChild(script); /code But nothing showed up. Is it correct to user setInnerHTML here? Or how can I link the script and the html-Tag? Thanks for any clue, Vokke On 24 Okt., 23:12, Bryan bryan.verg...@gmail.com wrote: Add the script separately: Document doc = Document.get(); ScriptElement script = doc.createScriptElement(); script.setSrc(http://...;); doc.getBody().appendChild(script); Then you can add the rest of the HTML and it should work. b On Oct 24, 1:32 pm, vokke vkub...@gmail.com wrote: Hello newsgroup. I want to insert anaddthis-button to my GWT-Project. When I try to insert the html-code into an HTML-Widget or HTMLPanel- Widget, the button shows up, but does not work properly. It als works when I put it inside the body-tags on the base html page. What do I do wrong? Here's theaddthis-button code: code !--AddThisButton BEGIN -- a class=addthis_button href=http://www.addthis.com/bookmark.php? v=250amp;pub=xa-4ae3631c6412b94fimg src=http://s7.addthis.com/ static/btn/v2/lg-bookmark-en.gif width=125 height=16 alt=Bookmark and Share style=border:0//ascript type=text/ javascript src=http://s7.addthis.com/js/250/ addthis_widget.js#pub=xa-4ae3631c6412b94f/script !--AddThisButton END -- /code --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
FileUpload issues.
Hi gang, I'm having a hard time trying to get a FileUpload form working. The basics of setting up the form seem straightforward enough, but I can't seem to get any activity on the back end. To complicate matters, I'm adding this form to a legacy application written using Struts2. So, we are using the Struts2 GWT Plugin. As far as I can tell, I've got all of my i's dotted and t's crossed. My most recent exception is: 2009-10-27 12:20:20,097 [3180...@qtp-22909531-2] ERROR MultiPartRequest - Unable to parse request org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. null at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367) ... Caused by: org.mortbay.jetty.EofException at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:319) Can anyone point me to an example of how this should work using Struts controllers? Thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Can't set/get a cookie, lame as that seems
Yes, if I just do a simple cookie, I can set/get just fine: Cookies.setCookie(ce, emailField.getText().trim()); String cookieEmail = Cookies.getCookie(ce); This shows the cookie retrieved just fine, as expected for such a simple thing. But when I try to put the expiry, I can't retrieve it. I've tried setting the path param to null, and to / and that makes no difference. It appears to be the expiring time since if I put null there, it works just fine, but I would like my cookies to expire after 90 days: long msecs = 90*24*60*60*1000; // 90 days in milliseconds java.util.Date expDate = new java.util.Date(System.currentTimeMillis() + msecs); Cookies.setCookie(ce, emailField.getText().trim(), expDate, null, EsfUtil.getContextPath()+/, EsfUtil.isRequestSecure()); String cookieEmail = Cookies.getCookie(ce); In the above, it cannot get the cookie (returns null). But if expires date is null, it works fine: Cookies.setCookie(ce, emailField.getText().trim(), null, null, EsfUtil.getContextPath()+/, EsfUtil.isRequestSecure()); String cookieEmail = Cookies.getCookie(ce); Is there something I'm doing wrong about the expiring? I understand there are issues with 'long' in javascript and maybe it's causing the problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Can't set/get a cookie, lame as that seems
Okay, answered my own question. Because my literals for the 'long msecs' calc were just INTs, I was overflowing and resulting in a negative integer. So I added 'L' to the literals to make the arithmetic use longs and it works now. long msecs = 90L*24L*60L*60L*1000L; // 90 days in milliseconds --~--~-~--~~~---~--~~ 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: detecting user activity on the screen?
Thanks Thomas, from the looks of it, I think that this should do the trick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
GWT 2.0 m2 - Element id vs. Module name
Hopefully this might help someone. Previously I had a div with the same id value as my GWT module. After upgrading to GWT 2.0 m2 from a 1.6 or 1.7-ish build from trunk the module would not load. The module loading in module.nocache.js has changed. Either change your element id or change your module name. This will correct things. --~--~-~--~~~---~--~~ 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: Group Async in one class
When I call to the server I use one main class with different functions. Each of the function will do a different class declaration. This way I don't have to make so many web portlet linking things. On Oct 27, 9:19 am, iaio81 stefano.taurie...@gmail.com wrote: Hi all, I was thinking to group the Async call (client-side) in one class in order to make code cleaner. In a multiuser application, could I create a Singleton which return the Async reqested by client? Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
why onInjectionDone has to be called from a separate script in the selection script?
IFrameTemplate.js, the javascript template containing the logic to bootstrap the GWT application, writes a script tag calling the onInjectionDone function at the end of the execution of the selection script. Given that script tags always block evaluation of the page until the script is fetched and evaluated, and that document.write will add the script right there at the state the document is at the moment of the call, I don't understand why onInjectionDone is not called directly instead. My specific problem is that I'm loading my GWT application through an XMLHttpRequest, and at the moment the script is executed the document is already loaded, thus calling document.write wipes out everything. I'm planning to modify such logic, and probably call onInjectionDone directly. But this code is there for a reason and I'd like to know why before I make any change. 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: why onInjectionDone has to be called from a separate script in the selection script?
On 27 oct, 23:44, Raziel raziel...@gmail.com wrote: IFrameTemplate.js, the javascript template containing the logic to bootstrap the GWT application, writes a script tag calling the onInjectionDone function at the end of the execution of the selection script. Given that script tags always block evaluation of the page until the script is fetched and evaluated, and that document.write will add the script right there at the state the document is at the moment of the call, I don't understand why onInjectionDone is not called directly instead. My specific problem is that I'm loading my GWT application through an XMLHttpRequest, and at the moment the script is executed the document is already loaded, thus calling document.write wipes out everything. I'm planning to modify such logic, and probably call onInjectionDone directly. But this code is there for a reason and I'd like to know why before I make any change. AFAICT, that's to be sure it is called after injected scripts (when you use a script/ in your gwt.xml) have been injected (and been downloaded): http://code.google.com/p/google-web-toolkit/source/browse/releases/1.7/dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js#427 http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js#441 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 2.0 m2 - Element id vs. Module name
On 27 oct, 21:42, todd.sei...@gmail.com todd.sei...@gmail.com wrote: Hopefully this might help someone. Previously I had a div with the same id value as my GWT module. After upgrading to GWT 2.0 m2 from a 1.6 or 1.7-ish build from trunk the module would not load. The module loading in module.nocache.js has changed. Either change your element id or change your module name. This will correct things. For the record, this has already been reported (many times actually, on the group; so it finally has been reported on the issue tracker) http://code.google.com/p/google-web-toolkit/issues/detail?id=4003 ...but I'm puzzled: did it really worked with a previous version? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: EasyMock for GWT + MVP ?
Cool - glad to hear you're up and running. On Oct 27, 1:32 am, fker...@gmail.com fker...@gmail.com wrote: On Oct 25, 5:26 pm, lowecg2004 chris.lowe...@gmail.com wrote: As Arthur said, calling GWTMockUtilities.disarm() will prevent that error (that was in part 2 of my article :) As for needing asm-attrs.jar, I guess try it - any NoClassDefFoundError that looks asm related then that will answer your question... Hi! Thanks for the help -- and as of now, everything is running fine without asm-attrs.jar, though I'll keep it in mind just in case.. ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Navigation
Hi, I have an application with one entry point, and many 'Screens' . In your Entry point loadModule(), try creating a DeckPanel, and add it to the root. Then in your entry point , create a few panels with widgets on them. Add these panels to the DeckPanel. At the end of your loadModule method call setWidget(0) or whatever panel is your first panel you wish to display. You can create menus, buttons, or Hyperlinks, that call setWidget (pageNo) when you want to the user to switch panels. In my application I keep track of which panel is being displayed, and I handle the Window Resize event. When a user changes the size of the browser, I change the size of the panel that is being currently displayed. GWT Deckpanel creates a series of DIVs and hides, and shows them when you call showWidget(pageno) Have fun.. Mike. On Oct 25, 4:59 pm, compuroad wilson.ferreira...@gmail.com wrote: I am new to GWT. The hardest thing for me is to understand the navigation part. Let's say in the home page (index.html) there is no functionality just plain HTML and text, which is the case of lots web sites. In that case can I start with a plain HTML file (not generated by GWT? If yes where do I put the EntryPoint? Also, how many EntryPoint can I have in one application? Thanks, Wilson --~--~-~--~~~---~--~~ 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: Insert addthis-button in GWT
Hi Bryan, that was the important clue. It works with InlineHTML. Thanks a lot for helping me out! Cheers, Vokke On 27 Okt., 18:19, Bryan bryan.verg...@gmail.com wrote: You add 2 separate elements: First add a ScriptElement containing the external JavaScript Next, add an InlineHTML element to contain the button html. On Oct 26, 6:55 pm, vokke vkub...@gmail.com wrote: Hi Bryan, many thanks for your answer. But I need more help, I'm afraid... I tried the following: code Document doc = Document.get(); ScriptElement script = doc.createScriptElement(); script.setSrc(http://s7.addthis.com/js/250/ addthis_widget.js#pub=xa-4ae3631c6412b94f); script.setType(text/javascript); script.setInnerHTML(a class=\addthis_button\ href=\http://www.addthis.com/bookmark.php?v=250pub=xa-4ae3631c6412b94f\;img src=\http://s7.addthis.com/static/btn/v2/lg-bookmark-en.gif\; width= \125\ height=\16\ alt=\Bookmark and Share\ style=\border:0\// a); doc.getBody().appendChild(script); /code But nothing showed up. Is it correct to user setInnerHTML here? Or how can I link the script and the html-Tag? Thanks for any clue, Vokke On 24 Okt., 23:12, Bryan bryan.verg...@gmail.com wrote: Add the script separately: Document doc = Document.get(); ScriptElement script = doc.createScriptElement(); script.setSrc(http://...;); doc.getBody().appendChild(script); Then you can add the rest of the HTML and it should work. b On Oct 24, 1:32 pm, vokke vkub...@gmail.com wrote: Hello newsgroup. I want to insert anaddthis-button to my GWT-Project. When I try to insert the html-code into an HTML-Widget or HTMLPanel- Widget, the button shows up, but does not work properly. It als works when I put it inside the body-tags on the base html page. What do I do wrong? Here's theaddthis-button code: code !--AddThisButton BEGIN -- a class=addthis_button href=http://www.addthis.com/bookmark.php? v=250amp;pub=xa-4ae3631c6412b94fimg src=http://s7.addthis.com/ static/btn/v2/lg-bookmark-en.gif width=125 height=16 alt=Bookmark and Share style=border:0//ascript type=text/ javascript src=http://s7.addthis.com/js/250/ addthis_widget.js#pub=xa-4ae3631c6412b94f/script !--AddThisButton END -- /code --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 2.0 m2 - Element id vs. Module name
Thank you for pointing out that it had been reported before. I had checked to see if it had been but I found nothing. I guess my search parameters where not good enough to return any results. Yes, it has worked with previous versions. The project I am working on has been live for more than a year with this naming conflict. On Oct 27, 7:17 pm, Thomas Broyer t.bro...@gmail.com wrote: On 27 oct, 21:42, todd.sei...@gmail.com todd.sei...@gmail.com wrote: Hopefully this might help someone. Previously I had a div with the same id value as my GWT module. After upgrading to GWT 2.0 m2 from a 1.6 or 1.7-ish build from trunk the module would not load. The module loading in module.nocache.js has changed. Either change your element id or change your module name. This will correct things. For the record, this has already been reported (many times actually, on the group; so it finally has been reported on the issue tracker)http://code.google.com/p/google-web-toolkit/issues/detail?id=4003 ...but I'm puzzled: did it really worked with a previous version? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server
This is very easy process to deploy GWT project on tomcat.Please follow below steps. 1. Install tomcat cat server with tomcat manager. 2. create zip file with all contents inside war file.(imp note:: do not zip war file, instead zip all contents of war file. When you open zip file, you should be able to see all contents of war file and not war folder). 3. Now rename the zip file with extension .war 4. Using tomcat manager, just upload this .war file. Now you will be able to access your application. On Oct 27, 8:54 pm, Yozons Support on Gmail yoz...@gmail.com wrote: Just remember to do the Google-GWT Compile step to create all of the files in the war/module_name folder that's auto-rebuilt for each compile. Those are the ones that are needed when not in hosted/dev mode. And if you're not creating a new war file each time, you may want to consider removing the war/module_name folder in Tomcat before you copy over the latest build so that obsolete code (all files have hashes for names, so you won't ever overlay a file that has changed since the last compile) doesn't build up over time. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Navigation
Hi Mike, It looks a pretty good UI design. Would you mind to paste here some of the code you mentioned? Thanks, Wilson On Oct 27, 7:47 pm, mdwarne mike.wa...@gmail.com wrote: Hi, I have an application with one entry point, and many 'Screens' . In your Entry point loadModule(), try creating a DeckPanel, and add it to the root. Then in your entry point , create a few panels with widgets on them. Add these panels to the DeckPanel. At the end of your loadModule method call setWidget(0) or whatever panel is your first panel you wish to display. You can create menus, buttons, or Hyperlinks, that call setWidget (pageNo) when you want to the user to switch panels. In my application I keep track of which panel is being displayed, and I handle the Window Resize event. When a user changes the size of the browser, I change the size of the panel that is being currently displayed. GWT Deckpanel creates a series of DIVs and hides, and shows them when you call showWidget(pageno) Have fun.. Mike. On Oct 25, 4:59 pm, compuroad wilson.ferreira...@gmail.com wrote: I am new to GWT. The hardest thing for me is to understand the navigationpart. Let's say in the home page (index.html) there is no functionality just plain HTML and text, which is the case of lots web sites. In that case can I start with a plain HTML file (not generated by GWT? If yes where do I put the EntryPoint? Also, how many EntryPoint can I have in one application? Thanks, Wilson --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Support for Streaming Video
Do GWT and AppEngine support streaming video? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 2.0M1 java.lang.NoSuchFieldError WITH ECLIPSE PLUGIN
Your JdtCompiler is likely in 2 jars. In Google and something else. Try to resolve JdtCompiler, see what it resolves to. Also if you send your .classpath it would help diagnose. Harmeet - Original Message - From: bond daniele.re...@gmail.com To: Google Web Toolkit google-web-toolkit@googlegroups.com Sent: Monday, October 26, 2009 4:49:14 PM GMT -05:00 US/Canada Eastern Subject: GWT 2.0M1 java.lang.NoSuchFieldError WITH ECLIPSE PLUGIN Hi, I've a problem when I try to compile my dummy Eclipse web project with GWT Module with Google Plugin 1.1.2. The error is this: [ERROR] Unexpected java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions (JdtCompiler.java:208) at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.init (JdtCompiler.java:94) at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java: 253) at com.google.gwt.dev.javac.CompilationState.compile (CompilationState.java:338) at com.google.gwt.dev.javac.CompilationState.refresh (CompilationState.java:247) at com.google.gwt.dev.javac.CompilationState.init (CompilationState.java:116) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState (ModuleDef.java:285) at com.google.gwt.dev.Precompile.precompile(Precompile.java:489) at com.google.gwt.dev.Precompile.precompile(Precompile.java:408) at com.google.gwt.dev.Compiler.run(Compiler.java:194) at com.google.gwt.dev.Compiler$1.run(Compiler.java:145) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 89) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger (CompileTaskRunner.java:83) at com.google.gwt.dev.Compiler.main(Compiler.java:152) Anyone has some ideas of the problem? I'm tring to deploy GWT application on Tomcat 6.0.20 directly from Eclipse. Thanks very much Best regards --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Problem with GWT DialogBox
Hi, I'm having a problem with dialog boxes not drawing correctly on Chrome. They draw correctly on both Hosted Mode and Firefox, but on Chrome the right side of the dialog box doesn't appear (like if it had been cut out). I'm using Windows, App Engine 1.2.6 and GWT 1.7.1. The code below is the one that creates the dialog box. private DialogBox createDialogBox() { final DialogBox dialogBox = new DialogBox(); dialogBox.ensureDebugId(cwDialogBox); dialogBox.setText(constants.addBook()); VerticalPanel dialogContents = new VerticalPanel(); dialogContents.setSpacing(10); dialogBox.add(dialogContents); // Create a tab panel DecoratedTabPanel tabPanel = new DecoratedTabPanel(); tabPanel.setAnimationEnabled(true); tabPanel.add(new VerticalPanel() ,constants.bookInfo()); tabPanel.add(new VerticalPanel() ,constants.selectViewers()); tabPanel.add(new VerticalPanel() ,constants.optionalInfo()); tabPanel.selectTab(0); dialogContents.add(tabPanel); // Add a close button at the bottom of the dialog Button closeButton = new Button(constants.cancel(), new ClickHandler () { public void onClick(ClickEvent event) { dialogBox.hide(); } }); dialogContents.add(closeButton); return dialogBox; } Thanks, Dinis --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Are there any books on the GWT?
Has anybody written any actual printed books on the GWT? --~--~-~--~~~---~--~~ 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: smack api integration
I've been trying to figure this out for days. I don't think it's possible. The only JARs I've seen integrated into GWT come with a pre- configured .gwt.xml files But saying that I haven't really found anything that says you can't use any external API, except for a post on http://forums.smartclient.com/showthread.php?t=3315, which says: You cannot use any arbitrary jar in your GWT project, only those that are meant to be used by GWT. I'd suggest you go though the GWT docs to better understand how GWT works. On Oct 20, 11:22 am, ledzgio giorgiomarci...@gmail.com wrote: Hi to all, i have to integrate the smack API (xmpp messaging) within GWT but this jar does not contains any .gwt.xml file.. How can i integrate it withn GWT?? 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 -~--~~~~--~~--~--~---
Extend or withdraw the set of compileable Java classes
Hi together, I'm new to GWT and I'm looking for a way to use the GWTCompiler for another set of Java classes. Basically I would like to write my own set of classes for the compiler and define what code the compiler is generating out of them. Also I would like to add an compiler argument so that the compiler knows if the original or my set of classes should be used for compiling. For example: public class Hello implements EntryPoint { ...some cool stuff... } should look like: public class Hello implements MyOwnObject { ...some cool stuff... } and the compiler should know what code has to be generated out of that. Is this possible? Greetings, Sean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is it possible to create custom widget?
... i don't understand , but: you should test your service with jUnit , then . try that: seee: parametricas = ServiceLocator.getFacadeParametricas(); public class ComunasSelector extends Composite { private SuggestBox listadoSuggestComunas; private ComunaSuggestOracle listComunas; private ComunaTo comunaSeleccionada; private boolean seleccionValida; private FacadeParametricasAsync parametricas; /** * Construccion por defecto. */ public ComunasSelector() { parametricas = ServiceLocator.getFacadeParametricas(); listComunas = new ComunaSuggestOracle(); listadoSuggestComunas = new SuggestBox(listComunas); listadoSuggestComunas.addEventHandler(new SuggestionHandler() { public void onSuggestionSelected(SuggestionEvent event) { ComunaMultiWordSuggestion comuna = (ComunaMultiWordSuggestion)event.getSelectedSuggestion(); comunaSeleccionada = comuna.getComuna(); }} ); listadoSuggestComunas.addFocusListener(getFocusListener()); getParametricas().listarComunas(new DefaultAsyncCallback() { @Override protected void doWhenComplete(Object result) { ListComunaTo lista = (ListComunaTo)result; for ( ComunaTo e : lista ) { listComunas.add( new ComunaMultiWordSuggestion ( e ) ); } }}); initWidget(listadoSuggestComunas); } /** * Si al momento de perder el foco, la comuna contiene palabras invalidas * se se borra el campo. El usuario est obligado a elegir una opcion valida. * @return */ public FocusListener getFocusListener () { return new FocusListener() { public void onFocus(Widget sender) { } public void onLostFocus(Widget sender) { if ( !isSeleccionValida() ) { comunaSeleccionada = null; getListadoSuggestComunas().setText(); } }}; } /** * En caso de de ser comunas para un region en particular. * @param regionId */ public ComunasSelector(int regionId ) { //TODO, implementar funcionalidad. } /** * @return the comunaSeleccionada */ public ComunaTo getComunaSeleccionada() { return comunaSeleccionada; } /** * @param comunaSeleccionada the comunaSeleccionada to set */ public void setComunaSeleccionada(ComunaTo comunaSeleccionada) { this.comunaSeleccionada = comunaSeleccionada; } /** * @return the listadoSuggestComunas */ public SuggestBox getListadoSuggestComunas() { return listadoSuggestComunas; } /** * @param listadoSuggestComunas the listadoSuggestComunas to set */ public void setListadoSuggestComunas(SuggestBox listadoSuggestComunas) { this.listadoSuggestComunas = listadoSuggestComunas; } /** * @return the listComunas */ public ComunaSuggestOracle getListComunas() { return listComunas; } /** * @return the seleccionValida */ public boolean isSeleccionValida() { return seleccionValida; } /** * @param seleccionValida the seleccionValida to set */ public void setSeleccionValida(boolean seleccionValida) { this.seleccionValida = seleccionValida; } /** * @return the parametricas */ public FacadeParametricasAsync getParametricas() { return parametricas; } /** * @param parametricas the parametricas to set */ public void setParametricas(FacadeParametricasAsync parametricas) { this.parametricas = parametricas; } } private ComunasSelector suggestComunas; . suggestComunas = new ComunasSelector(); . layout.setWidget(INICIO_FORM + 2, 1, suggestComunas ); etc.. I hope I have helped On 27 oct, 02:27, Cage cage...@gmail.com wrote: I tried to import that class in and it able to show a suggestbox in new page, but it is not able to got the data from server side, I guess the problem should be on the RPC connection, please help, thank you very much. c...@hk On Oct 27, 1:23 pm, Cage cage...@gmail.com wrote: Hi all, I just create a suggestBox with RPC source, and I want to use it in couple of formpanel in difference pages, is it possible? Would you mind to tell me how and where can I found the information abou that. Thank you very much. c...@hk --~--~-~--~~~---~--~~ 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
minimize browser window.
hi friends, is it any way to minimize the browser window? please help me out. regards, Ganesh Shirsat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to minimize browser using GWT ?
i also have this issue. please anyone solve. Thanks, On Oct 27, 6:50 pm, Rinku ashishkushwaha1...@gmail.com wrote: How to minimize browser using GWT ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to minimize browser using GWT ?
i tried this but javascript not provide any solution for minimize the window. On Oct 27, 7:00 pm, Lothar Kimmeringer j...@kimmeringer.de wrote: Rinku schrieb: How to minimize browser using GWT ? If you replace GWT with HTML/Javascript and know the answer, you can answer that for yourself. I don't know the answer, but doubt that this is possible. Regards, Lothar --~--~-~--~~~---~--~~ 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: Problem using PagingScrollTable
Hi, the code: In TableModel you make data acces (local o remote): in TableDefinition, decide how to display public class LineasConstruccionTableModel extends MutableTableModelLineaConstruccionUnidadVendibleModel { private int idDeclaracion; private int correlativo; private ListLineaConstruccionUnidadVendibleModel modeloLineas; private CachedTableModelLineaConstruccionUnidadVendibleModel cachedTableModel; public LineasConstruccionTableModel (int idDeclaracion, int correlativo) { setIdDeclaracion(idDeclaracion); /*ejemplo*/ setCorrelativo(correlativo); } @Override public void requestRows(final Request request, final CallbackLineaConstruccionUnidadVendibleModel callback) { /* por Ejemplo: ArrayListMyModel lista = new ArrayList MyModel (); lista.add (o) SerializableResponseMyModel response = new SerializableResponseLineaConstruccionUnidadVendibleModel(lista); */ callback.onRowsReady(request,response); } } .. public class PaginadorLineasConstruccionBase extends WidgetBase { tablaPaginada = new PagingScrollTable(tableModel.crearCachedTableModel ()/*patron builder*/, dataTable, headerTable ,defTabla); pagingOptions = new PagingOptions(tablaPaginada); pagingOptions.addStyleName(gwt- PagingOptionsLineasConstruccion); getVPanel().add(abstractPaging); getVPanel().add(pagingOptions); /*or initWidget*/ My real code is too large for publish ... I hope I have helped by On 9 oct, 10:47, benjamin strappazzon benjamin.strappaz...@gmail.com wrote: Hi group, I'm looking for a simple piece of code which shows how to usePagingScrollTablefrom GWT incubator. Especially I'd like to understand how TableModel and TableDefinition work? I've looked at the documentation on GWT incubator web site but it is still in progress and I didn't find the informations I was looking for. I've tried to create my ownPagingScrollTablebut it remains empty, I think that I don't use it the right way. Thank you 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 -~--~~~~--~~--~--~---
Custom Composite widget inside horizontal split panel
Hello friends, I have a horizontal split panel which has a tree on the left side and a custom widget on the right side. When the horizontal split panel is re-sized, my tree is resizing. But my custom widget is not resizing itself. Also I cannot override the onSplitterResize() inside HorizontalPanel since it is final. Neither can I extend the HorizontalSplitPanel since the class itself is final. If you guys know, please let me know a way out. Thanks, George --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Debugging in Eclipse doesn't work
Hi, I'm new to GWT and following the StockWatcher tutorial from GWT website. I'm on the debugging section, so as the tutorial told me to do, I launched the application in debug mode in Eclipse. However, the perspective didn't change to Debug mode. Also, it didn't stop at the breakpoints that I set. Did anyone have the same problem? If you did, how did you solve it? Is there something minor that I overlooked? By the way, when I created the project, I checked both 'Use Google Web Toolkit' and 'Use Google App Engine' check boxes. Would that be a problem? I'm using GWT 1.7.1 and App Engine 1.2.6. Thanks! -Brian --~--~-~--~~~---~--~~ 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: Debugging in Eclipse doesn't work
Not sure why it doesn't switch to debug mode, but I learned recently that if you are using JDK 6 that you need to get the very latest 6.0.16 because the earlier ones had bugs in the breakpoint logic (I was on 6.0.14 and it wouldn't work, so I don't know how much earlier you could go and have it work too). Hope that helps... --~--~-~--~~~---~--~~ 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: smack api integration
I don't know much about smack or XMPP, but here is what I can tell you - Your GWT application has two distinct parts - client side code and server side code. Client side code ultimately gets converted to javascript, and hence there are restrictions on what jars you can use. Jars that can be used in GWT have the following characterstics - - They have the source files (*.java) alongwith the *.class files. GWT only understands java files and ignores the *.class files - They have a *.gwt.xml file - The java files in the jar use a subset of the java language that is emulated by GWT Smack certainly doesn't meet the above conditions, because it opens network sockets which isn't supported by GWT. On the server side, GWT doesn't place any restrictions. You can use any jar file - including smack if you want. Now, if I understand your requirements, you want to initiate a XMPP connection from the browser to the server. That is simply not possible in plain javascript, and hence GWT cannot support it. To open arbitrary socket connections from the browser, the user would have to install some plugin and explicitly grant it permission to open a socket. That is definitely beyond the scope of GWT. --Sri 2009/10/27 Pondmouse pondmo...@googlemail.com I've been trying to figure this out for days. I don't think it's possible. The only JARs I've seen integrated into GWT come with a pre- configured .gwt.xml files But saying that I haven't really found anything that says you can't use any external API, except for a post on http://forums.smartclient.com/showthread.php?t=3315, which says: You cannot use any arbitrary jar in your GWT project, only those that are meant to be used by GWT. I'd suggest you go though the GWT docs to better understand how GWT works. On Oct 20, 11:22 am, ledzgio giorgiomarci...@gmail.com wrote: Hi to all, i have to integrate the smack API (xmpp messaging) within GWT but this jar does not contains any .gwt.xml file.. How can i integrate it withn GWT?? 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: How to minimize browser using GWT ?
Thanks for your replies. First I am explaining my requirement :- I created my own minimize and maximize button in my Application. When I click on minimize button, my application should minimize like our application (If we minimize any application in our PC, that application is displaying in our taskbar) I want my application should display in taskbar after minimize. I know how to resize the application to its minimum size. But resize is not ful filling my requirement. Please help me. On Oct 27, 7:07 pm, ganesh.shirsat ganesh.shir...@gmail.com wrote: i tried this but javascript not provide any solution for minimize the window. On Oct 27, 7:00 pm, Lothar Kimmeringer j...@kimmeringer.de wrote: Rinku schrieb: How to minimize browser using GWT ? If you replace GWT with HTML/Javascript and know the answer, you can answer that for yourself. I don't know the answer, but doubt that this is possible. Regards, Lothar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is it possible to create custom widget?
Wao thanks a lot, let me study your code first. On Oct 27, 8:08 pm, Felipe felipe.andres.p...@gmail.com wrote: ... i don't understand , but: you should test your service with jUnit , then . try that: seee: parametricas = ServiceLocator.getFacadeParametricas(); public class ComunasSelector extends Composite { private SuggestBox listadoSuggestComunas; private ComunaSuggestOracle listComunas; private ComunaTo comunaSeleccionada; private boolean seleccionValida; private FacadeParametricasAsync parametricas; /** * Construccion por defecto. */ public ComunasSelector() { parametricas = ServiceLocator.getFacadeParametricas(); listComunas = new ComunaSuggestOracle(); listadoSuggestComunas = new SuggestBox(listComunas); listadoSuggestComunas.addEventHandler(new SuggestionHandler() { public void onSuggestionSelected(SuggestionEvent event) { ComunaMultiWordSuggestion comuna = (ComunaMultiWordSuggestion)event.getSelectedSuggestion(); comunaSeleccionada = comuna.getComuna(); }} ); listadoSuggestComunas.addFocusListener(getFocusListener()); getParametricas().listarComunas(new DefaultAsyncCallback() { �...@override protected void doWhenComplete(Object result) { ListComunaTo lista = (ListComunaTo)result; for ( ComunaTo e : lista ) { listComunas.add( new ComunaMultiWordSuggestion ( e ) ); } }}); initWidget(listadoSuggestComunas); } /** * Si al momento de perder el foco, la comuna contiene palabras invalidas * se se borra el campo. El usuario est obligado a elegir una opcion valida. * @return */ public FocusListener getFocusListener () { return new FocusListener() { public void onFocus(Widget sender) { } public void onLostFocus(Widget sender) { if ( !isSeleccionValida() ) { comunaSeleccionada = null; getListadoSuggestComunas().setText(); } }}; } /** * En caso de de ser comunas para un region en particular. * @param regionId */ public ComunasSelector(int regionId ) { //TODO, implementar funcionalidad. } /** * @return the comunaSeleccionada */ public ComunaTo getComunaSeleccionada() { return comunaSeleccionada; } /** * @param comunaSeleccionada the comunaSeleccionada to set */ public void setComunaSeleccionada(ComunaTo comunaSeleccionada) { this.comunaSeleccionada = comunaSeleccionada; } /** * @return the listadoSuggestComunas */ public SuggestBox getListadoSuggestComunas() { return listadoSuggestComunas; } /** * @param listadoSuggestComunas the listadoSuggestComunas to set */ public void setListadoSuggestComunas(SuggestBox listadoSuggestComunas) { this.listadoSuggestComunas = listadoSuggestComunas; } /** * @return the listComunas */ public ComunaSuggestOracle getListComunas() { return listComunas; } /** * @return the seleccionValida */ public boolean isSeleccionValida() { return seleccionValida; } /** * @param seleccionValida the seleccionValida to set */ public void setSeleccionValida(boolean seleccionValida) { this.seleccionValida = seleccionValida; } /** * @return the parametricas */ public FacadeParametricasAsync getParametricas() { return parametricas; } /** * @param parametricas the parametricas to set */ public void setParametricas(FacadeParametricasAsync parametricas) { this.parametricas = parametricas; } } private ComunasSelector suggestComunas; . suggestComunas = new ComunasSelector(); . layout.setWidget(INICIO_FORM + 2, 1, suggestComunas ); etc.. I hope I have helped On 27 oct, 02:27, Cage cage...@gmail.com wrote: I tried to import that class in and it able to show a suggestbox in new page, but it is not able to got the data from server side, I guess the problem should be on the RPC connection, please help, thank you very much. c...@hk On Oct 27, 1:23 pm, Cage cage...@gmail.com wrote: Hi all, I just create a suggestBox with RPC source, and I want to use it in couple of formpanel in difference pages, is it possible? Would you mind to tell me how and where can I found the information abou that. Thank you very much. c...@hk- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the
Re: Are there any books on the GWT?
Yes, there are a number of pretty good books on GWT. The first I am aware of was GWT In Action. It's slightly dated, but still a very good reference and tutorial. Do a search on Amazon. You can't miss them. Tim wrote: Has anybody written any actual printed books on the GWT? --~--~-~--~~~---~--~~ 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: java.lang.NoClassDefFoundError:java.net.Socket
hi all i want to navigate from one html page to another another html page when my login is success and failure. plz send some useful links. thanks balu. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
select tab
Hi team, need some clarification in TabPanel, Statement: Suppose i have one tabPanel, with three tabs say tab1, tab2, tab3. In tab1, have some fields, and a save button. when i click save a service is called to save data. on success of the service, tab2 should be selected. Problem: tab2 is selected but with out any content. regards naveeN --~--~-~--~~~---~--~~ 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] Re: Allows multiple sources on a ui:style
Added Bob's ResourceGeneratorUtil fix (reviewed in http://gwt-code-reviews.appspot.com/77819). Committed to trunk at 6479, merged to releases/2.0 at 6480. http://gwt-code-reviews.appspot.com/77819 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6481 committed - Just remembered that MenuItemParser has support for the old phantom...
Revision: 6481 Author: rj...@google.com Date: Tue Oct 27 00:48:50 2009 Log: Just remembered that MenuItemParser has support for the old phantom MenuItemHTML child, which I killed off like a year ago. Getting rid of that support drastically simplifies the class. It also revealed a bug in UiBinderWriter#getClassHierarchyBreadthFirst: it was actually depth first, leading primitive parsers like UiObjectParser to fire before higher level stuff like HasHTMLParser. Reviewed by jgw http://code.google.com/p/google-web-toolkit/source/detail?r=6481 Modified: /trunk/user/src/com/google/gwt/uibinder/parsers/MenuItemParser.java /trunk/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java === --- /trunk/user/src/com/google/gwt/uibinder/parsers/MenuItemParser.java Tue Sep 1 15:14:29 2009 +++ /trunk/user/src/com/google/gwt/uibinder/parsers/MenuItemParser.java Tue Oct 27 00:48:50 2009 @@ -1,12 +1,12 @@ /* * Copyright 2009 Google Inc. - * + * * Licensed under the Apache License, Version 2.0 (the License); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -19,6 +19,8 @@ import com.google.gwt.core.ext.typeinfo.JClassType; import com.google.gwt.uibinder.rebind.UiBinderWriter; import com.google.gwt.uibinder.rebind.XMLElement; +import com.google.gwt.uibinder.rebind.XMLElement.Interpreter; +import com.google.gwt.user.client.ui.MenuBar; import com.google.gwt.user.client.ui.MenuItem; /** @@ -26,98 +28,43 @@ */ public class MenuItemParser implements ElementParser { - /** - * Used by {...@link XMLElement#consumeInnerHtml}. Gets to examine - * each dom element. Removes gwt:MenuBar elements and hands them - * to the template writer to be interpreted as widgets. Replaces - * gwt:MenuItemHTML elements with their consumeInnerHtml contents, - * and warns that they are deprecated. - */ - private static class MenuItemGutsInterpreter - implements XMLElement.InterpreterString { -private final String namespaceUri; -private final HtmlInterpreter htmlInterpreter; -private final UiBinderWriter writer; -private final String errorContext; - -private String menuBarField; - -public MenuItemGutsInterpreter(UiBinderWriter writer, String namespaceUri, -String errorContext, HtmlInterpreter htmlInterpreter) { - this.writer = writer; - this.errorContext = errorContext; - this.namespaceUri = namespaceUri; - this.htmlInterpreter = htmlInterpreter; -} - -public String interpretElement(XMLElement elem) -throws UnableToCompleteException { - if (isMenuHtml(elem)) { -writer.warn(In %s, the MenuItemHTML element is no longer required, -+ and its contents have been inlined. This will become an error., -errorContext); -return elem.consumeInnerHtml(htmlInterpreter); - } - - if (isMenuBar(elem)) { -if (menuBarField != null) { - writer.die(In %s, only one MenuBar may be contained in a MenuItem, - errorContext); -} -menuBarField = writer.parseElementToField(elem); -return ; + public void parse(final XMLElement elem, String fieldName, JClassType type, + final UiBinderWriter writer) throws UnableToCompleteException { +writer.setFieldInitializerAsConstructor(fieldName, +writer.getOracle().findType(MenuItem.class.getName()), \\, +(com.google.gwt.user.client.Command) null); + +final JClassType menuBarType = writer.getOracle().findType( +MenuBar.class.getCanonicalName()); + +class MenuBarInterpreter implements InterpreterBoolean { + String menuBarField = null; + + public Boolean interpretElement(XMLElement child) + throws UnableToCompleteException { + +if (isMenuBar(child)) { + if (menuBarField != null) { +writer.die( +In %s, only one MenuBar may be contained in a MenuItem, elem); + } + menuBarField = writer.parseElementToField(child); + return true; +} + +return false; } - return null; + boolean isMenuBar(XMLElement child) throws UnableToCompleteException { +return menuBarType.equals(writer.findFieldType(child)); + } } -String getMenuBarField() { - return menuBarField; -} - -private boolean isMenuBar(XMLElement child) { - return namespaceUri.equals(child.getNamespaceUri()) - child.getLocalName().equals(TAG_MENUBAR); -} - -private boolean isMenuHtml(XMLElement child) { - return
[gwt-contrib] [google-web-toolkit] r6482 committed - tr...@6481 was merged into this branch...
Revision: 6482 Author: rj...@google.com Date: Tue Oct 27 01:15:12 2009 Log: tr...@6481 was merged into this branch Get rid of deprecated MenuItemHTML support svn merge --ignore-ancestry -c 6481 https://google-web-toolkit.googlecode.com/svn/trunk . http://code.google.com/p/google-web-toolkit/source/detail?r=6482 Modified: /releases/2.0/branch-info.txt /releases/2.0/user/src/com/google/gwt/uibinder/parsers/MenuItemParser.java /releases/2.0/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java === --- /releases/2.0/branch-info.txt Tue Oct 27 00:00:07 2009 +++ /releases/2.0/branch-info.txt Tue Oct 27 01:15:12 2009 @@ -48,3 +48,7 @@ tr...@6479 was merged into this branch This allows multiple source files to be specified for a ui:style svn merge --ignore-ancestry -c 6479 https://google-web-toolkit.googlecode.com/svn/trunk . + +tr...@6481 was merged into this branch + Get rid of deprecated MenuItemHTML support +svn merge --ignore-ancestry -c 6481 https://google-web-toolkit.googlecode.com/svn/trunk . === --- /releases/2.0/user/src/com/google/gwt/uibinder/parsers/MenuItemParser.java Tue Sep 1 15:14:29 2009 +++ /releases/2.0/user/src/com/google/gwt/uibinder/parsers/MenuItemParser.java Tue Oct 27 01:15:12 2009 @@ -1,12 +1,12 @@ /* * Copyright 2009 Google Inc. - * + * * Licensed under the Apache License, Version 2.0 (the License); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -19,6 +19,8 @@ import com.google.gwt.core.ext.typeinfo.JClassType; import com.google.gwt.uibinder.rebind.UiBinderWriter; import com.google.gwt.uibinder.rebind.XMLElement; +import com.google.gwt.uibinder.rebind.XMLElement.Interpreter; +import com.google.gwt.user.client.ui.MenuBar; import com.google.gwt.user.client.ui.MenuItem; /** @@ -26,98 +28,43 @@ */ public class MenuItemParser implements ElementParser { - /** - * Used by {...@link XMLElement#consumeInnerHtml}. Gets to examine - * each dom element. Removes gwt:MenuBar elements and hands them - * to the template writer to be interpreted as widgets. Replaces - * gwt:MenuItemHTML elements with their consumeInnerHtml contents, - * and warns that they are deprecated. - */ - private static class MenuItemGutsInterpreter - implements XMLElement.InterpreterString { -private final String namespaceUri; -private final HtmlInterpreter htmlInterpreter; -private final UiBinderWriter writer; -private final String errorContext; - -private String menuBarField; - -public MenuItemGutsInterpreter(UiBinderWriter writer, String namespaceUri, -String errorContext, HtmlInterpreter htmlInterpreter) { - this.writer = writer; - this.errorContext = errorContext; - this.namespaceUri = namespaceUri; - this.htmlInterpreter = htmlInterpreter; -} - -public String interpretElement(XMLElement elem) -throws UnableToCompleteException { - if (isMenuHtml(elem)) { -writer.warn(In %s, the MenuItemHTML element is no longer required, -+ and its contents have been inlined. This will become an error., -errorContext); -return elem.consumeInnerHtml(htmlInterpreter); - } - - if (isMenuBar(elem)) { -if (menuBarField != null) { - writer.die(In %s, only one MenuBar may be contained in a MenuItem, - errorContext); -} -menuBarField = writer.parseElementToField(elem); -return ; + public void parse(final XMLElement elem, String fieldName, JClassType type, + final UiBinderWriter writer) throws UnableToCompleteException { +writer.setFieldInitializerAsConstructor(fieldName, +writer.getOracle().findType(MenuItem.class.getName()), \\, +(com.google.gwt.user.client.Command) null); + +final JClassType menuBarType = writer.getOracle().findType( +MenuBar.class.getCanonicalName()); + +class MenuBarInterpreter implements InterpreterBoolean { + String menuBarField = null; + + public Boolean interpretElement(XMLElement child) + throws UnableToCompleteException { + +if (isMenuBar(child)) { + if (menuBarField != null) { +writer.die( +In %s, only one MenuBar may be contained in a MenuItem, elem); + } + menuBarField = writer.parseElementToField(child); + return true; +} + +return false; } - return null; + boolean isMenuBar(XMLElement child) throws
[gwt-contrib] Re: Fix parser order, ditch MenuItemHTML
Committed to tr...@6481, merged to releaeses/2.0 at 6482 http://gwt-code-reviews.appspot.com/77821 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Comment on CssResource in google-web-toolkit
Comment by ladislav.gazo: What is the situation with custom styling of widgets that are using obfuscation, e.g.: I have a scroll table which I want to give custom colours and fonts but it has all styles obfuscated. Before I was able to grab style name, create custom CSS and override it. What are the steps now? Should I wait until the style name will be externalized and then wait for next release? What is proposed solution? For more information: http://code.google.com/p/google-web-toolkit/wiki/CssResource --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Fix for issue 3374 (URL.encodeComponent limited to query-string uses)
For those following progress on this, or finding this issue later on; and to not leave a comment unanswered: http://gwt-code-reviews.appspot.com/87806/diff/1/2 File user/src/com/google/gwt/http/client/URL.java (right): http://gwt-code-reviews.appspot.com/87806/diff/1/2#newcode170 Line 170: * characters:blockquote On 2009/10/26 20:30:45, Ray Ryan wrote: Wait, + escaping is controlled by queryStringSpaces, right? Should mention that here. Only space (\u0020) escaping is controlled by queryStringSpaces (producing either a + or %20). + chars in the input are always escaped to %2B. (and when decoding, %2B is always decoded to a + while + can either be decoded to a space or left as-is). http://gwt-code-reviews.appspot.com/87806 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6483 committed - Updated the 'hosted' string appearing in ant.xml files for samples to ...
Revision: 6483 Author: amitman...@google.com Date: Tue Oct 27 10:00:15 2009 Log: Updated the 'hosted' string appearing in ant.xml files for samples to 'devMode' Patch by: amitmanjhi http://code.google.com/p/google-web-toolkit/source/detail?r=6483 Modified: /trunk/user/src/com/google/gwt/user/tools/project.ant.xmlsrc === --- /trunk/user/src/com/google/gwt/user/tools/project.ant.xmlsrcTue Oct 13 16:57:19 2009 +++ /trunk/user/src/com/google/gwt/user/tools/project.ant.xmlsrcTue Oct 27 10:00:15 2009 @@ -43,7 +43,7 @@ /java /target - target name=hosted depends=javac description=Run hosted mode + target name=devMode depends=javac description=Run development mode java failonerror=true fork=true classname=@shellClass classpath pathelement location=src/ --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Fix for issue 4067 (make UiBinderGenerator stable)
I'm obliged for the patch, Tom, but the fix for the actual issue turns out to be: - private static int domId = 0; + private int domId = 0; Also, I'm pretty sure the WidgetPlaceholderInterpreter change will result in duplicate field names. WPI isn't a singleton. I don't remember what you're after with the dom id generator. Want to file an issue on that? http://gwt-code-reviews.appspot.com/78806 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] RR : GWT 2.0 : Speed up UiBinder+CssResource generator
Reviewers: Ray Ryan, Message: Review requested. Looking at the Mail sample with JProfiler, GenerateCssAst is where the bulk of the time is spent in CssResourceGenerator. Description: When ui:style elements are used, GenerateCssAst.exec() gets called with the same arguments twice. Once when UiBinder is generating the synthetic interface, and a second time when CssResourceGenerator is processing the synthetic ClientBundle. This patch also adds a minor cleanup to AbstractClientBundleGenerator in the no-work situation. Please review this at http://gwt-code-reviews.appspot.com/86805 Affected files: M user/src/com/google/gwt/resources/css/GenerateCssAst.java M user/src/com/google/gwt/resources/css/ast/CssStylesheet.java M user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] mmen...@google.com
Reviewers: , Message: Trivial fix for issue 4067, UiBinderGenerator is not stable. Miguel would have fixed this earlier, but thought that the values from domId were being used directly as, well, DOM ids. Actually they name Java fields which will hold dom ids at runtime, generated by calls to com.google.gwt.dom.client.Document.get().createUniqueId(). Manually tested stability via diff of generated code Please review this at http://gwt-code-reviews.appspot.com/86806 Affected files: M user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java Index: user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java diff --git a/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java b/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java index 393615501b8f76f933a98e395ca1f8404bcb30ab..7acd5608b021bcb2639acd7815fc00870c1a6cb5 100644 --- a/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java +++ b/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java @@ -73,7 +73,7 @@ public class UiBinderWriter { private static final String BUNDLE_URI_SCHEME = urn:with:; private static final String PACKAGE_URI_SCHEME = urn:import:; - private static int domId = 0; + private int domId = 0; // TODO(rjrjr) Another place that we need a general anonymous field // mechanism --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: mmen...@google.com
LGTM We used to be able to build typeoracles dynamically. If that is still possible, you should add a unit test that generates twice and compares the delta. http://gwt-code-reviews.appspot.com/86806 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : GWT 2.0 : Speed up UiBinder+CssResource generator
Nice fix. If GenerateCssAst were instance based, you could inject a mock or instrumented parser and add a unit test that the cache is actually working. That actually wouldn't be a very big change, and wouldn't require you to lose the nasty static methods... http://gwt-code-reviews.appspot.com/86805 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Fix for issue 4067 (make UiBinderGenerator stable)
On 2009/10/27 18:26:49, Ray Ryan wrote: I'm obliged for the patch, Tom, but the fix for the actual issue turns out to be: - private static int domId = 0; + private int domId = 0; Also, I'm pretty sure the WidgetPlaceholderInterpreter change will result in duplicate field names. WPI isn't a singleton. D'oh! I think I thought it was ;-) I don't remember what you're after with the dom id generator. Want to file an issue on that? Yes, I'll do as soon as I'll be clear on how I'd like it to work. http://gwt-code-reviews.appspot.com/78806 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: mmen...@google.com
I looked into the testing situation. It's more doable than I thought, but will required refactoring of UiBinderWriter et al that I just don't have time to do this week. I've noted the details for later and will submit this as is. Because I'm a hypocrite. On Tue, Oct 27, 2009 at 12:08 PM, mmen...@google.com wrote: LGTM We used to be able to build typeoracles dynamically. If that is still possible, you should add a unit test that generates twice and compares the delta. http://gwt-code-reviews.appspot.com/86806 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: mmen...@google.com
Reiterating for posterity: I looked into the testing situation. It's more doable than I thought, but will required refactoring of UiBinderWriter et al that I just don't have time to do this week. I've noted the details for later and will submit this as is. Because I'm a hypocrite. http://gwt-code-reviews.appspot.com/86806 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6484 committed - Removing unused old platform dirs from checkstyle configs.
Revision: 6484 Author: sco...@google.com Date: Tue Oct 27 14:03:49 2009 Log: Removing unused old platform dirs from checkstyle configs. http://code.google.com/p/google-web-toolkit/source/detail?r=6484 Modified: /trunk/eclipse/dev/.checkstyle /trunk/eclipse/dev/compiler/.checkstyle === --- /trunk/eclipse/dev/.checkstyle Tue Oct 13 19:01:20 2009 +++ /trunk/eclipse/dev/.checkstyle Tue Oct 27 14:03:49 2009 @@ -4,7 +4,6 @@ file-match-pattern match-pattern=core[\\/]src[\\/]com[\\/]google[\\/]gwt[\\/].*\.java$ include-pattern=true/ file-match-pattern match-pattern=core[\\/]src[\\/]com[\\/]google[\\/]gwt[\\/]dev[\\/]asm[\\/] include-pattern=false/ file-match-pattern match-pattern=core[\\/]src[\\/]com[\\/]google[\\/]gwt[\\/]dev[\\/]js[\\/]rhino[\\/] include-pattern=false/ -file-match-pattern match-pattern=linux[\\/]src[\\/]com[\\/]google[\\/]gwt[\\/].*\.java$ include-pattern=true/ /fileset filter name=NonSrcDirs enabled=true/ /fileset-config === --- /trunk/eclipse/dev/compiler/.checkstyle Tue Aug 4 13:38:44 2009 +++ /trunk/eclipse/dev/compiler/.checkstyle Tue Oct 27 14:03:49 2009 @@ -4,7 +4,6 @@ file-match-pattern match-pattern=core[\\/]src[\\/]com[\\/]google[\\/]gwt[\\/].*\.java$ include-pattern=true/ file-match-pattern match-pattern=core[\\/]src[\\/]com[\\/]google[\\/]gwt[\\/]dev[\\/]asm[\\/] include-pattern=false/ file-match-pattern match-pattern=core[\\/]src[\\/]com[\\/]google[\\/]gwt[\\/]dev[\\/]js[\\/]rhino[\\/] include-pattern=false/ -file-match-pattern match-pattern=windows[\\/]src[\\/]com[\\/]google[\\/]gwt[\\/].*\.java$ include-pattern=true/ /fileset filter name=NonSrcDirs enabled=true/ /fileset-config --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---