Re: GWT 2.8.0 released
yeah!! thank you guys! On Friday, October 21, 2016 at 10:21:41 PM UTC+3, Daniel Kurka wrote: > > Hi all, > > I am very happy to announce GWT 2.8.0 on behalf of the GWT steering > committee and the GWT team at Google. > > You can download the release from http://www.gwtproject.org/download.html > or from maven central. > > The release notes can be found at > http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0 > > Daniel, > on behalf of the GWT team > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: NumberFormat.setForcedLatinDigits
Up? On Tuesday, May 6, 2014 1:29:38 PM UTC+4, Denis Dzenskevich wrote: Hello, There is a method NumberFormat.setForcedLatinDigits, according to javadoc it should * Specify whether all new NumberFormat instances will use *latin digits* * *and related characters *rather than the localized ones. I faced with an issue that under Russian locale, it doesn't replace decimal separator: NumberFormats created afterwards, continue to use locale-specific comma instead of latin dot. In code, it tries to replace it: protected static NumberConstants createLatinNumberConstants( final NumberConstants orig) { final String groupingSeparator = remapSeparator( orig.groupingSeparator()); final String decimalSeparator = remapSeparator( orig.decimalSeparator()); final String monetaryGroupingSeparator = remapSeparator( orig.monetaryGroupingSeparator()); final String monetarySeparator = remapSeparator( orig.monetarySeparator()); ... But it uses the same function protected static String remapSeparator(String separator) { char ch = separator.length() 0 ? separator.charAt(0) : 0x; if (LOCALIZED_DOT_EQUIVALENTS.indexOf(ch) = 0) { return .; } if (LOCALIZED_COMMA_EQUIVALENTS.indexOf(ch) = 0) { return ,; } return \u00A0; } to replace both grouping and decimal separator (and also monetary grouping and monetary decimal). This approach doesn't work well if e. g. one locale has comma as decimal separator and another one has comma as grouping separator. Also, there are test cases in GWT that asserts (probably mistakenly) that comma should be preserved (com.google.gwt.i18n.client.NumberFormat_fr_Test and NumberFormat_ar_Test). public void testForceLatin() { assertFalse(NumberFormat.forcedLatinDigits()); NumberFormat.setForcedLatinDigits(true); assertTrue(NumberFormat.forcedLatinDigits()); NumberFormat decLatin = NumberFormat.getDecimalFormat(); assertEquals(1\u00A0003,14, decLatin.format(1003.14)); assertEquals(-1\u00A0003,14, decLatin.format(-1003.14)); NumberFormat.setForcedLatinDigits(false); assertFalse(NumberFormat.forcedLatinDigits()); assertEquals(3,14, decLatin.format(3.14)); NumberFormat unforced = NumberFormat.getDecimalFormat(); assertEquals(3,14, unforced.format(3.14)); } So what's the expected behavior here? Should setForcedLatinDigits always force latin decimal separator? And if yes, why this complex logic to remapSeparator is used instead of simply returning '.' as decimal separator? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
NumberFormat.setForcedLatinDigits
Hello, There is a method NumberFormat.setForcedLatinDigits, according to javadoc it should * Specify whether all new NumberFormat instances will use *latin digits* * *and related characters *rather than the localized ones. I faced with an issue that under Russian locale, it doesn't replace decimal separator: NumberFormats created afterwards, continue to use locale-specific comma instead of latin dot. In code, it tries to replace it: protected static NumberConstants createLatinNumberConstants( final NumberConstants orig) { final String groupingSeparator = remapSeparator( orig.groupingSeparator()); final String decimalSeparator = remapSeparator( orig.decimalSeparator()); final String monetaryGroupingSeparator = remapSeparator( orig.monetaryGroupingSeparator()); final String monetarySeparator = remapSeparator( orig.monetarySeparator()); ... But it uses the same function protected static String remapSeparator(String separator) { char ch = separator.length() 0 ? separator.charAt(0) : 0x; if (LOCALIZED_DOT_EQUIVALENTS.indexOf(ch) = 0) { return .; } if (LOCALIZED_COMMA_EQUIVALENTS.indexOf(ch) = 0) { return ,; } return \u00A0; } to replace both grouping and decimal separator (and also monetary grouping and monetary decimal). This approach doesn't work well if e. g. one locale has comma as decimal separator and another one has comma as grouping separator. Also, there are test cases in GWT that asserts (probably mistakenly) that comma should be preserved (com.google.gwt.i18n.client.NumberFormat_fr_Test and NumberFormat_ar_Test). public void testForceLatin() { assertFalse(NumberFormat.forcedLatinDigits()); NumberFormat.setForcedLatinDigits(true); assertTrue(NumberFormat.forcedLatinDigits()); NumberFormat decLatin = NumberFormat.getDecimalFormat(); assertEquals(1\u00A0003,14, decLatin.format(1003.14)); assertEquals(-1\u00A0003,14, decLatin.format(-1003.14)); NumberFormat.setForcedLatinDigits(false); assertFalse(NumberFormat.forcedLatinDigits()); assertEquals(3,14, decLatin.format(3.14)); NumberFormat unforced = NumberFormat.getDecimalFormat(); assertEquals(3,14, unforced.format(3.14)); } So what's the expected behavior here? Should setForcedLatinDigits always force latin decimal separator? And if yes, why this complex logic to remapSeparator is used instead of simply returning '.' as decimal separator? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
gwt 2.6.0-rc1 and jdk 8
I create a trivial maven based gwt-project on gwt 2.6.0-rc1. The project compilation work fine on jdk7. But it interrupts with an exception jdk8-b117: [INFO] --- gwt-maven-plugin:2.6.0-rc1:compile (default) @ control-center-server --- [INFO] Compiling module net.kst_d.rbas.cc.ui.ControlCenter [INFO] [ERROR] Unexpected internal compiler error [INFO] java.lang.NullPointerException [INFO] at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:534) [INFO] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:878) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:284) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:511) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:434) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:420) [INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:485) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:241) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:223) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:139) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:165) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:130) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:97) [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55) [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50) [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:104) The project a really trivial. It doesn't consists any widget or some thing else. Only module.gwt.xml аnd empty EntryPoint. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: gwt 2.6.0-rc1 and jdk 8
I tried some different combinations of source levels, jdk versions, gwt versions. The exception occurs on pair jdk8 + gwt 2.6.0-rc1 It doesn't depend on source level. 01.12.2013 20:06, Thomas Broyer пишет: Try setting sourceLevel explicitly in the gwt-maven-plugin configuration. By default, the gwt-maven-plugin will use the current JVM's source level (i.e. 1.8 for jdk8), and GWT only supports 1.6 and 1.7. On Sunday, December 1, 2013 2:51:10 PM UTC+1, denis.k...@gmail.com wrote: I create a trivial maven based gwt-project on gwt 2.6.0-rc1. The project compilation work fine on jdk7. But it interrupts with an exception jdk8-b117: [INFO] --- gwt-maven-plugin:2.6.0-rc1:compile (default) @ control-center-server --- [INFO] Compiling module net.kst_d.rbas.cc.ui.ControlCenter [INFO] [ERROR] Unexpected internal compiler error [INFO] java.lang.NullPointerException [INFO] at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:534) [INFO] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:878) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:284) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:511) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:434) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:420) [INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:485) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:241) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:223) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:139) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:165) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:130) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:97) [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55) [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50) [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:104) The project a really trivial. It doesn't consists any widget or some thing else. Only module.gwt.xml аnd empty EntryPoint. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- Denis Kostousov email: denis.kostousovATgmailDOTcom jabber: denis.kostousovATgmailDOTcom fingerprint: D32B A253 F678 9EF1 1079 4F5A 52E1 8EEA FAF9 E1F1 linkedin: http://www.linkedin.com/profile/view?id=101014719 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Hello Sample doesn't work in Chrome. Issues with invoking onScriptLoad()
I compiled Hello Sample from GWT SDK and tried to run it in Chrome. But it doesn't work. Only empty page. In IE and Firefox it works fine. After some debugging I found that cause of this. In last rows of any *.cache.html (not hello.nocache.js) gwt compiler append following code if ($wnd.hello) $wnd.hello.onScriptLoad(); but $wnd.hello is undefined. So onScriptLoad() function isn't invoked. In firefox and IE $wnd.hello equals to hello() function from hello.nocache.js which boots GWT module. hello() function store in itself code which complete module initialization after all js and resources loaded. So if onScriptLoad isn't invoked the initialization never done. Does anybody have this issues with their chrome? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Loading GWT module after page is loaded
I know that GWT has problem with dynamic loading after page already loaded. Because default linker uses document.write() expression during bootstrap. document.write() method replace all content of page and you get empty page. if you open you *.nocache.js which was compiled with -style DETAILED parameters you will see this in computeScriptBase() function and the last line. and actually one solution I know is using custom GWT linker. On Sep 29, 8:54 am, szebeni kha...@gmail.com wrote: Hy peps, I have a GWT App which is loading perfectly on a host page, but I need to do some interaction before Its loaded, which cause this issue: I get only a loading blank screen if I'm writing the script tag for nocache.js into the document after the page loaded. Do you know why is it and how can I fix it? I checked and the path is fine, just the generated js code behaves differently (like the function from nocache.js is undefined in the browser specific one). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Hello Sample doesn't work in Chrome. Issues with invoking onScriptLoad()
Thanks, it was surprise for me, that chrome has such policy about local files. On Sep 30, 3:11 am, Thomas Broyer t.bro...@gmail.com wrote: On Sep 30, 10:15 am, Denis Vilyuzhanin dandsoft@gmail.com wrote: I compiled Hello Sample from GWT SDK and tried to run it in Chrome. But it doesn't work. Only empty page. In IE and Firefox it works fine. After some debugging I found that cause of this. In last rows of any *.cache.html (not hello.nocache.js) gwt compiler append following code if ($wnd.hello) $wnd.hello.onScriptLoad(); but $wnd.hello is undefined. So onScriptLoad() function isn't invoked. In firefox and IE $wnd.hello equals to hello() function from hello.nocache.js which boots GWT module. hello() function store in itself code which complete module initialization after all js and resources loaded. So if onScriptLoad isn't invoked the initialization never done. Does anybody have this issues with their chrome? If you're loading the app from your disk, you're actually running into a SOP violation. Chrome (and IIRC it'll also be the case for Firefox 4) treat each file as coming from a different origin. It'll work if you either load the app from a HTTP server, or compile using the cross-site linker (add-linker name=xs /) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Marker script creation don't allow load GWT modules dynamically.
Actually, I see that in some places GWT uses document.write() to create new script tags. Why is using document.write() method better then create tags through DOM? Could anybody explain me? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to display a JSP page inside a DecoratedTabPanel
thanks On Jun 30, 6:01 pm, rakesh wagh rake...@gmail.com wrote: the answer is embedded in your question: framed. Use com.google.gwt.user.client.ui.Frame On Jun 30, 10:51 am, Denis denis.w...@gmail.com wrote: Hello, I have existing JSP pages that should be framed inside a GWT DecoratedTabPanel. Is this doable at all? Thanks for your reply. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
a weird IndexOutOfBoundsException after removing a tab from the DecoratedTabPanel
Hello, I got a weird exception after removing a tab. Details of the exception is at the end of this message. Even though I got the exception, the application still functions normally and the tab can be removed successfully. I don't know where the exception comes from and what I should do to avoid it. The following code is my extension to DecoratedTabPanel to make it dynamically closable. Any input will be appreciated. public class ClosableTabPanel extends DecoratedTabPanel { private boolean isReadyToRemove = false; public ClosableTabPanel() { addBeforeSelectionHandler(new BeforeSelectionHandlerInteger() { public void onBeforeSelection(BeforeSelectionEventInteger event) { if (isReadyToRemove) { remove(event.getItem()); isReadyToRemove = false; } } }); } @Override public void add(Widget w, String tabText) { HorizontalPanel tab = new HorizontalPanel(); Button button = new Button(x, new ClickHandler() { @Override public void onClick(ClickEvent event) { Widget widget = (Widget) event.getSource(); ... final ClosableTabPanel tab = (ClosableTabPanel) widget; tab.isReadyToRemove = true; } }); . } } java.lang.IndexOutOfBoundsException: null at com.google.gwt.user.client.ui.ComplexPanel.checkIndexBoundsForAccess(ComplexPanel.java: 128) at com.google.gwt.user.client.ui.DeckPanel.showWidget(DeckPanel.java:313) at com.google.gwt.user.client.ui.TabPanel.onTabSelected(TabPanel.java: 382) at com.google.gwt.user.client.ui.ListenerWrapper $WrappedTabListener.onSelection(ListenerWrapper.java:754) at com.google.gwt.event.logical.shared.SelectionEvent.dispatch(SelectionEvent.java: 89) at com.google.gwt.event.logical.shared.SelectionEvent.dispatch(SelectionEvent.java: 1) at com.google.gwt.event.shared.HandlerManager $HandlerRegistry.fireEvent(HandlerManager.java:65) at com.google.gwt.event.shared.HandlerManager $HandlerRegistry.access$1(HandlerManager.java:53) at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java: 178) at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52) at com.google.gwt.event.logical.shared.SelectionEvent.fire(SelectionEvent.java: 43) at com.google.gwt.user.client.ui.TabBar.selectTab(TabBar.java:462) at com.google.gwt.user.client.ui.TabBar.selectTabByTabWidget(TabBar.java: 601) at com.google.gwt.user.client.ui.TabBar.access$0(TabBar.java:596) at com.google.gwt.user.client.ui.TabBar $ClickDelegatePanel.onBrowserEvent(TabBar.java:151) at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307) at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1713) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 264) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java: 1668) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 401) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
how to display a JSP page inside a DecoratedTabPanel
Hello, I have existing JSP pages that should be framed inside a GWT DecoratedTabPanel. Is this doable at all? Thanks for your reply. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: where to define domain objects
The domain object I mentioned needs some further clarification: It's a serializable Data Transfer Object/Bean/POJO that will be transferred across all layers: presentation, business, and persistence. With this in mind, I put the domain package under \client following the approach described in the book of 'Pro Web 2.0 Application Development with GWT' On Jun 13, 11:08 am, Stefan Bachert stefanbach...@yahoo.de wrote: HiDenis, It is absolutely clear where domain object are NOT located, in client and shared. Domain objects have nothing to do in GUI or client for a very simple project I would put it under server. But in general I would put domain objects into a separate project. The reason is, in general there is more than one application possible dealing the same domain objects. In general you have the following kind of objects on the server side which may build an own layer and thatfore projects. Session objects (state of your gui, application dependant, may be persistent) Application objects (application dependant, persistant) Domain objects (application independant, persistant) Stefan Bacherthttp://gwtworld.de On Jun 11, 10:45 pm,Denisdenis.w...@gmail.com wrote: Hello, I am new to use GWT RPC. I am going to define a domain object which will map to a database table and be transported all across the layers from the data persistence to business logics and finally GWT presentation layer. The question is where should I define those domain objects? Inside the existing client/server/shared folders or add a new domain folder? Thanks. Denis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
where to define domain objects
Hello, I am new to use GWT RPC. I am going to define a domain object which will map to a database table and be transported all across the layers from the data persistence to business logics and finally GWT presentation layer. The question is where should I define those domain objects? Inside the existing client/server/shared folders or add a new domain folder? Thanks. Denis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Eclipse Plugin Compile Button Stack Overflow
I have the same issue. With the regular compiler, I can avoid stack overflow error thanks to -Xmx512m -Xms128m -Xss8M in the VM arguments box. But, with GWT compiler, I have not found a way to set these arguments, and the compiler is stopped with the stack overflow error. Using GWT compiler is automated for App Engine deployment. What shall I do? Denis On 30 avr, 18:06, Vitali Lovich vlov...@gmail.com wrote: On Thu, Apr 30, 2009 at 10:25 AM, mounier.flor...@gmail.com mounier.flor...@gmail.com wrote: I'm waiting for it too and its starting to take time just for two options... Why does deploying force compilation (which fails so badly) ? Because that's what deployment is? Maybe I'm not understanding your question. Hosted mode (which runs the Java code in a JVM) is just for debugging. For deployment, you compile the Java code into actual Javascript. BTW what does it change to use GWT trunk ? From what I could tell, not much. But there could be more unknown bugs whatnot. However, it should compile - according to the Google developers, they have other internal teams working against trunk. I'm using it and I still have the issue... (and I can't deploy and oophm doesn't have a compile button yet, fortunately i can compile with ant) So what's the issue? What do you mean you can't deploy? You just said you can compile with ant. OOPHM should get the compile button eventually - I never found a particular need to use it. Just run your ant script. On 23 avr, 15:59, Miguel Méndez mmen...@google.com wrote: We've updated the compile UI to allow you to tweak the -Xss and -Xmx settings. It will be part of the upcoming point release of the plugin. In the meantime, the compile button in hosted mode is one work around. You can also compile a version of the GWT trunk and have the plugin use that SDK for the project. On Thu, Apr 23, 2009 at 3:51 AM, mihai007 mihai@gmail.com wrote: oh well add me to the list. this should have priority as it turns the use of plugin useless if I can't compile any workarounds? On 8 Abr, 16:11, Brian hibr...@gmail.com wrote: Just installed the Google plugin for Eclipse, and hit the Compile button on my project. It gave me astackoverflowerror. Prior to using the plugin, I'd compile by hitting the Compile button in the hosted mode browser. In the Run/Debug Eclipse configuration, I have -Xss4k -Xmx256M Compiles worked fine with those flags and the Compile button from hosted mode. How do I set the Xss flag for use by the Compile button in the eclipse toolbar? I tried putting it in the Advanced section, but this just informed me it wasn't an appropriate gwt compiler option. This isn't stopping me from doing anything, as I can still compile from hosted mode, just curious how to set it up. I checked the plugin faq, but couldn't find anything there. -- 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: Eclipse Plugin Compile Button Stack Overflow
Thanks. I understand that I can avoid the button. I will try the workaround with line mode. As I said, my purpose is to export a GWT application to Google App Engine. GWT Eclipse plugin invokes the GWT compiler leading to the stack overflow. Denis On 5 mai, 14:40, Miguel Méndez mmen...@google.com wrote: We have a fix that allows you to specify the VM args for both the GWT Compile toolbar action as well as the GWT Compilation that takes place during deploy. As a work around, you can invoke the GWT compiler manually, seehttp://code.google.com/webtoolkit/doc/1.6/DevGuideCompilingAndDebuggi..., and then deploy from the command line. We should be pushing a plugin update very shortly. On Tue, May 5, 2009 at 2:43 AM, denis denis.at...@gmail.com wrote: I have the same issue. With the regular compiler, I can avoid stack overflow error thanks to -Xmx512m -Xms128m -Xss8M in the VM arguments box. But, with GWT compiler, I have not found a way to set these arguments, and the compiler is stopped with the stack overflow error. Using GWT compiler is automated for App Engine deployment. What shall I do? Denis On 30 avr, 18:06, Vitali Lovich vlov...@gmail.com wrote: On Thu, Apr 30, 2009 at 10:25 AM, mounier.flor...@gmail.com mounier.flor...@gmail.com wrote: I'm waiting for it too and its starting to take time just for two options... Why does deploying force compilation (which fails so badly) ? Because that's what deployment is? Maybe I'm not understanding your question. Hosted mode (which runs the Java code in a JVM) is just for debugging. For deployment, you compile the Java code into actual Javascript. BTW what does it change to use GWT trunk ? From what I could tell, not much. But there could be more unknown bugs whatnot. However, it should compile - according to the Google developers, they have other internal teams working against trunk. I'm using it and I still have the issue... (and I can't deploy and oophm doesn't have a compile button yet, fortunately i can compile with ant) So what's the issue? What do you mean you can't deploy? You just said you can compile with ant. OOPHM should get the compile button eventually - I never found a particular need to use it. Just run your ant script. On 23 avr, 15:59, Miguel Méndez mmen...@google.com wrote: We've updated the compile UI to allow you to tweak the -Xss and -Xmx settings. It will be part of the upcoming point release of the plugin. In the meantime, the compile button in hosted mode is one work around. You can also compile a version of the GWT trunk and have the plugin use that SDK for the project. On Thu, Apr 23, 2009 at 3:51 AM, mihai007 mihai@gmail.com wrote: oh well add me to the list. this should have priority as it turns the use of plugin useless if I can't compile any workarounds? On 8 Abr, 16:11, Brian hibr...@gmail.com wrote: Just installed the Google plugin for Eclipse, and hit the Compile button on my project. It gave me astackoverflowerror. Prior to using the plugin, I'd compile by hitting the Compile button in the hosted mode browser. In the Run/Debug Eclipse configuration, I have -Xss4k -Xmx256M Compiles worked fine with those flags and the Compile button from hosted mode. How do I set the Xss flag for use by the Compile button in the eclipse toolbar? I tried putting it in the Advanced section, but this just informed me it wasn't an appropriate gwt compiler option. This isn't stopping me from doing anything, as I can still compile from hosted mode, just curious how to set it up. I checked the plugin faq, but couldn't find anything there. -- Miguel -- 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 -~--~~~~--~~--~--~---
howto: slide-out behavior for table rows?
His again :) I maybe looking for easy solutions, but could not hold myself from posting. Do the standard DWR components support effects like fade-ins/outs and slide-ins/outs? The task would be to have one component (a table or tabbed pane with table inside) to add/remove rows with pretty row slide-ins on user interactions with some other component? Can the standard DWR table support its individual cells acting like buttons, i.e. you could click on the entire cell and exactly this cell changes its colors an values leaving other cells untouched. 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 -~--~~~~--~~--~--~---