Re: UiBinding at run time
This group has moderators in GWT maker group. They may have this on their plan/road map. But some reasons, they don't want to talk with you about this. I think you can post your solution clearly in an article. If Google has this in next lease, it proves that you go before them. And if their solution likes your solution, that means you lead them :) Many GWT developers still have released their projects before Google came up with the same features. Why? Because they want to make GWT better. Regards. On Nov 15, 5:45 am, TedM wrote: > So this is a common problem. Cool. > > Did you try the demo? What did you think? > > I personally think this idea would be a great addition to GWT, but I > don't want to start writing the OS version until I can talk to a GWT > or incubator guy. > > The out comes of that talk will be one of the following. > 1. They like the idea, and maybe I can bounce my architectural ideas > off them and then I build it. > 2. They already have this on their road map and don't need my help > 3. They think it doesn't have value. > > Do you know how I can get in touch with a GWT guy? > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UiBinding at run time
I think you should keep it in native GWT. Yes, GWT incubator may be considered but it's very unstable. The most important is your solution, I think. Regards, Hung On Nov 12, 8:01 pm, TedM wrote: > I just opened it. Let me clean up the code a little and then I'll > keep it in. > > Right now the code works with GWT and GXT widgets. Do you think I > should keep it that way or just do GWT? > > Also do you know if GWT or the incubator would be interested in it? > Do you know how is the right person to ask? -- 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.
Think in GWT MVP via hellomvp example for developing large application
The hellomvp example is difficult to learn for new GWT developers. So I have expanded this example for going more details (step by step) on developing an application in new GWT MVP framework. I think this post can help new GWT developers for developing large application in GWT MVP Framework easier. Please see: http://blog.vivavivu.com/2010/11/think-in-gwt-mvp-framework-activities.html -- 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: UiBinding at run time
Yes, I'm interesting in your open source project. Where is your code of project? Thanks, Hung On Nov 12, 10:46 am, TedM wrote: > Hi GWT Community, > > I recently noticed the UiBinding feature in GWT and at first I was > really excited because I was using something like this in my form > template prototype. But I found out the UiBinding is a compile time > thing, which was a major disadvantage for me. because I would like to > make new form or Uis without have to compile or deploy. > > While I was wondering is there any interest in my open sourcing my run > time uibinding solution (I call bindingFly)? > > Here is a link to my home made prototype hosted on app > engine:http://gwt-binding-fly.appspot.com/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT can't compile for simple example
WOW, this is really a bug of GWT Compiler. I'll report to GWT issues tracking. It's caused by GWT can't analyze main class to bind with uibinder class when "project name" is same "package name". Cheers, Hung On Oct 12, 9:54 am, heros wrote: > Thanks for your link (I have clicked some ads for you -;) ) > > I'm using latest GWT plugin for Eclipse 3.6. > You can build the same project? > It's strange. I also install GWT Desinger too. Do it effect to the > project build process? > May I try to reinstall GWT plugin. > > Hung > > On Oct 12, 5:09 am, Sorinel C wrote: > > > Do you use the GWT plugin for Eclipse to create and manage your > > project (structure) ? 'cause if you do that, then you shouldn't have > > this problem... > > > Here's the list of the lastest tools from > > GWT:http://ui-programming.blogspot.com/2010/10/cool-development-tools-fro... > > > Cheers, > > > PS: if you like it, don't be shy and click on 1 or 2 ads, please! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT can't compile for simple example
Thanks for your link (I have clicked some ads for you -;) ) I'm using latest GWT plugin for Eclipse 3.6. You can build the same project? It's strange. I also install GWT Desinger too. Do it effect to the project build process? May I try to reinstall GWT plugin. Hung On Oct 12, 5:09 am, Sorinel C wrote: > Do you use the GWT plugin for Eclipse to create and manage your > project (structure) ? 'cause if you do that, then you shouldn't have > this problem... > > Here's the list of the lastest tools from > GWT:http://ui-programming.blogspot.com/2010/10/cool-development-tools-fro... > > Cheers, > > PS: if you like it, don't be shy and click on 1 or 2 ads, please! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT can't compile for simple example
Thanks for your link (I have clicked some ads for you -;) ) I'm using latest GWT plugin for Eclipse 3.6. You can build the same project? It's strange. I also install GWT Desinger too. Do it effect to the project build process? May I try to reinstall GWT plugin. Hung On Oct 12, 5:09 am, Sorinel C wrote: > Do you use the GWT plugin for Eclipse to create and manage your > project (structure) ? 'cause if you do that, then you shouldn't have > this problem... > > Here's the list of the lastest tools from > GWT:http://ui-programming.blogspot.com/2010/10/cool-development-tools-fro... > > Cheers, > > PS: if you like it, don't be shy and click on 1 or 2 ads, please! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT can't compile for simple example
It's seem the problem coming from GWT complier can't get or loss main class (Testgwt ) to bind with generated uibinder code (Testgwt_BinderImpl.java). But when I move the uibinder (Testgwt.ui.xml) to another class (HelloWorld.java + HelloWorld.ui.xml) and then call it in main class, GWT complier can build it sucessfully. ===NEW Testgwt.java== package testgwt.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootLayoutPanel; /** * Entry point classes define onModuleLoad(). */ public class Testgwt implements EntryPoint { /** * This is the entry point method. */ public void onModuleLoad() { HelloWorld hello = new HelloWorld(); RootLayoutPanel root = RootLayoutPanel.get(); root.add(hello); } } This is GWT's bug or I missed some configurations??? Thanks in advanced. Hung On Oct 11, 9:33 am, heros wrote: > I have tried complied a simple example, but unsuccessful. > Below is the enviroment & the source files: > === > GWT 2.0.4 > App Engine 1.3.7 > ===Testgwt.java= > package testgwt.client; > > import com.google.gwt.core.client.EntryPoint; > import com.google.gwt.core.client.GWT; > import com.google.gwt.uibinder.client.UiBinder; > import com.google.gwt.user.client.ui.HTMLPanel; > import com.google.gwt.user.client.ui.RootLayoutPanel; > > /** > * Entry point classes define onModuleLoad(). > */ > public class Testgwt implements EntryPoint { > interface Binder extends UiBinder { } > > private static final Binder binder = GWT.create(Binder.class); > > /** > * This is the entry point method. > */ > public void onModuleLoad() { > // Create the UI defined in Testgwt.ui.xml. > HTMLPanel outer = binder.createAndBindUi(this); > > // Add the outer panel to the RootLayoutPanel, so that it will be > // displayed. > RootLayoutPanel root = RootLayoutPanel.get(); > root.add(outer); > }} > > ==Testgwt.ui.xml > xmlns:ui='urn:ui:com.google.gwt.uibinder' > xmlns:g='urn:import:com.google.gwt.user.client.ui'> > > > Hello > > > > ===Testgwt.gwt.xml== > > > > > > > > > > > > > > > ==ERROR== > Compiling module testgwt.Testgwt > Scanning for additional dependencies: file:/C:/Working/GoogleApps/ > test/testgwt/src/testgwt/client/Testgwt.java > Adding '2' new generated units > Validating newly compiled units > [ERROR] Errors in 'generated:// > 3A2648B040DA67E0B1A95A005D54476A/testgwt/client/ > Testgwt_BinderImpl.java' > [ERROR] Line 8: No source code is available for type > testgwt.client.Testgwt; did you forget to inherit a required module? > See snapshot: C:\DOCUME~1\HUNGLE~1\LOCALS~1\Temp > \Testgwt_BinderImpl1062054062811714171.java > [ERROR] Unable to find recently-generated type > 'testgwt.client.Testgwt_BinderImpl > [ERROR] Errors in 'file:/C:/Working/GoogleApps/test/testgwt/src/ > testgwt/client/Testgwt.java' > [ERROR] Internal compiler error > java.lang.RuntimeException: Unable to commit generated files > at > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: > 131) > at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > $CompilerImpl.process(AbstractCompiler.java:200) > at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: > 444) > at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > $CompilerImpl.compile(AbstractCompiler.java:123) > at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > $CompilerImpl.compile(AbstractCompiler.java:234) > at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access > $200(AbstractCompiler.java:109) > at > com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: > 522) > at > com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: > 112) > at > com.
GWT can't compile for simple example
I have tried complied a simple example, but unsuccessful. Below is the enviroment & the source files: === GWT 2.0.4 App Engine 1.3.7 ===Testgwt.java= package testgwt.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.user.client.ui.HTMLPanel; import com.google.gwt.user.client.ui.RootLayoutPanel; /** * Entry point classes define onModuleLoad(). */ public class Testgwt implements EntryPoint { interface Binder extends UiBinder { } private static final Binder binder = GWT.create(Binder.class); /** * This is the entry point method. */ public void onModuleLoad() { // Create the UI defined in Testgwt.ui.xml. HTMLPanel outer = binder.createAndBindUi(this); // Add the outer panel to the RootLayoutPanel, so that it will be // displayed. RootLayoutPanel root = RootLayoutPanel.get(); root.add(outer); } } ==Testgwt.ui.xml Hello ===Testgwt.gwt.xml== ==ERROR== Compiling module testgwt.Testgwt Scanning for additional dependencies: file:/C:/Working/GoogleApps/ test/testgwt/src/testgwt/client/Testgwt.java Adding '2' new generated units Validating newly compiled units [ERROR] Errors in 'generated:// 3A2648B040DA67E0B1A95A005D54476A/testgwt/client/ Testgwt_BinderImpl.java' [ERROR] Line 8: No source code is available for type testgwt.client.Testgwt; did you forget to inherit a required module? See snapshot: C:\DOCUME~1\HUNGLE~1\LOCALS~1\Temp \Testgwt_BinderImpl1062054062811714171.java [ERROR] Unable to find recently-generated type 'testgwt.client.Testgwt_BinderImpl [ERROR] Errors in 'file:/C:/Working/GoogleApps/test/testgwt/src/ testgwt/client/Testgwt.java' [ERROR] Internal compiler error java.lang.RuntimeException: Unable to commit generated files at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 131) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.process(AbstractCompiler.java:200) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 444) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:123) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:234) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access $200(AbstractCompiler.java:109) at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: 522) at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: 112) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java: 47) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: 430) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 32) at com.google.gwt.dev.Precompile.precompile(Precompile.java:522) at com.google.gwt.dev.Precompile.precompile(Precompile.java:414) at com.google.gwt.dev.Compiler.run(Compiler.java:201) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 81) at com.google.gwt.dev.Compiler.main(Compiler.java:159) Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.javac.StandardGeneratorContext.finish(StandardGeneratorContext.java: 358) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 129) ... 17 more -- 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: Need strategy to implement window layout
Thanks for your hint. I want to add an icon to the splitter to hide/open left panel like the vertical splitter http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html Do I use SplitLayoutPanel or LayoutPanel? Sorry for my stupid question. On Jul 20, 5:19 am, Thomas Broyer wrote: > On 19 juil, 23:01, David Vree wrote: > > > Brand new GWT developer here -- tasked with implementing a thin client > > that will replace a rich client .NET program that used to make use of > > this dockable window library: > > >http://www.divelements.com/net/controls/sanddock/screenshots.aspx > > > I'm currently struggling with the layout of the main window. It is > > fairly standard with a nearly static header at the top, fixed height > > status pane at the bottom, hideable navigation window to the left > > (west) and a master/detail form in the middle, and hideable help pane > > to the right (east). After some investigation and coding, it looks > > likeSplitLayoutPanelmay be what I need, but I have questions: > > Because not all panels should be resizable, I'd rather go with a > DockLayoutPanel; eventually mixing it with aSplitLayoutPanel: > DockLayoutPanel for north+south,SplitLayoutPanelin the center with > resizable east and west regions. > > > 1) How do I make it so that it properly reacts to window resize > > events? Do I have to code this myself? Is there a better way? > > Layout panels should handle it automatically, provided you add them to > the RootLayoutPanel. > > > 2) Can I get rid of the splitters below the header and above the > > status bar. If this is not possible, should I just use a > > VerticlePanel and put theSplitLayoutPanelin the middle? > > See above: DockLayoutPanel w/ nestedSplitLayoutPanel. > > > 3) How do I make it so that the "master" pane can be dragged and > > dropped below the "navigation" pane. This is an important capability > > for users because it allows them to maximize the detail area while > > keeping the "master" items visible. > > GWT doesn't provide anything for drag'n'drop, though there are 3rd- > party libs, such as gwt-dnd. But, honestly, it'd probably be a big > amount of work to plug this into a LayoutPanel... > If you can, replace DnD with some other interaction: for instance, > some kind of "maximize" button to move the "master" to the west in one > click. > > > 4) What kind of pane should I use for the hidable panes? > > If you really want "click to hide" (or the reverse, "click to pin"), > you'd probably rather use a LayoutPanel which has a setWidgetVisible > method, than a DockLayoutPanel orSplitLayoutPanel(but of course > you'd lose the splitters). It might be possible to > extendSplitLayoutPanelthough and play directly with the LayoutData > associated with widgets. > > > How do I animate the showing/hiding? > > AnimatedLayout (LayoutPanel, DockLayoutPanel,SplitLayoutPanel) panels > have an animate(int) method. -- 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.