[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-21 Thread codesite-noreply
Comment by heralight: Hello everybody, I come from silverlight and I want learn GWT with UIbuilder, which WYSIWYG editor can I use to produce design with UIBuilder (equivalent to Microsoft Blend) ? If not exist how create a design and maintains it with a standard WYSIWYG Html editor like

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-21 Thread codesite-noreply
Comment by heralight: Hello everybody, I've just started studying GWT with UiBinder. good ! Which WYSIWYG editor can I use to produce design with UiBinder(equivalent to Microsoft Blend) ? If not exist how create a design and maintains it with a standard WYSIWYG Html editor like dreamweaver

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-21 Thread codesite-noreply
Comment by arthur.kalm: I wouldn't if the Google Eclipse Plugin gets updated to support UiBinder in the near future, but it probably won't happen until GWT 2.0 is out. You'll have to ask Miguel Mendez :) For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-12 Thread codesite-noreply
Comment by urgisb: UiBinder + GIN. I have a hard time to understand how to mix GIN-injected classes with widgets instantiated by the UI Binder. The problem is that same widget (if declared in the ui xml) can be instantiated twice, once by the binder, another time by GIN. I know I can

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-09 Thread codesite-noreply
Comment by dygger: rjrjr, thanks, I've just started studying GWT and looking for best practices to save time. I am playing with GWT starter application refactoring it to use UiBinder, runAsync and to follow MVP, Humble Dialog patterns etc. One problem I found is that attributes of

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-09 Thread codesite-noreply
Comment by dygger: One more thing: to give Presenter more flexibility to manipulate DialogBox view, it might be useful to introduce cancellable closing event for dialog, similar to FormPanel.SubmitEvent. Do you think it makes sense? For more information:

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-09 Thread codesite-noreply
Comment by rj...@google.com: @gal.dobler That won't work until http://gwt-code-reviews.appspot.com/77805 lands, later today I expect. For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder --~--~-~--~~~---~--~~

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-09 Thread codesite-noreply
Comment by rj...@google.com: @dygger, that sounds like a plain old bug on VerticalPanel, but I doubt we'll fix it. That panel is on the verge of being deprecated in favor of the new Layout classes. Look for the samples to be updated accordingly in the coming weeks. Re: the cancelable

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-09 Thread codesite-noreply
Comment by gal.dolber: Thanks!! For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-08 Thread codesite-noreply
Comment by dygger: @jgw I think it makes sense to have view objects initialized from a .ui.xml file as a whole. Since `DialogBox` is a view, why do I have to describe dialog's content in xml and at the same time initialize dialog itself (set its caption, other view related properties like

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-08 Thread codesite-noreply
Comment by dygger: BTW, I have found a workaround for the DialogBox problem. At first I had to create a subclass for DialogBox implementing HasWidgets interface: {{{ public class HasWidgetsDialogBox extends com.google.gwt.user.client.ui.DialogBox implements HasWidgets {

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-08 Thread codesite-noreply
Comment by rj...@google.com: I agree on the DialogBox use case, and will try to make it work. Thanks for the workaround. For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder --~--~-~--~~~---~--~~

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-08 Thread codesite-noreply
Comment by rj...@google.com: Oh, and yes: UiBinder gets along just fine with MVP. One thing I want to start experimenting with is having binder instances injected by GIN, e.g.: {{{ MyView extends Widget { public interface Binder extends UiBinderMyView, Widget {} private static final

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-08 Thread codesite-noreply
Comment by sven.tiffe: Folks, is there a way to bind more than one element to a method, e.g. {{{ @UiHandler(textField1) @UiHandler(textField2) protected void updateLogin(KeyUpEvent event) { model.validate(); } }}} And is there anything planned for two-way bindings? I was

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-08 Thread codesite-noreply
Comment by rj...@google.com: {{{ @UiHandler({textField1, textField2}) protected void updateLogin(KeyUpEvent event) { model.validate(); } }}} For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder --~--~-~--~~~---~--~~

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-07 Thread codesite-noreply
Comment by dygger: Could someone tell if UiBinder supports DialogBox? - I tried it but got compilation errors in generated UiBinderImpl class... Moreover, it passes all dialog's content (including GWT widgets as a string in setHTML method: f_DialogBox1.setHTML(gwt:VerticalPanel

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-07 Thread codesite-noreply
Comment by j...@google.com: While it doesn't make a great deal of sense to put a DialogBox in a .ui.xml file, because it's intended to be displayed via its own show() method, we should be giving a better (and earlier) error than this. Note that you *can* still create a dialog box's

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-05 Thread codesite-noreply
Comment by joelgwebber: This system is most emphatically *not* meant to be a template system, in the sense of JSP. It's not something you run every time you need to update data -- rather, it's a simpler way to write widget construction code that can be a giant pain in Java. It also makes

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-10-01 Thread codesite-noreply
Comment by Yegor.Jbanov: @xavier.mehaut According to samples above, one of the goals is to support a subset of the native HTML syntax, such as div and span. XML looks like a reasonable compromise to achieve this. In JavaFX it would not be as natural. My 2 cents. For more information:

[gwt-contrib] Comment on UiBinder in google-web-toolkit

2009-09-30 Thread codesite-noreply
Comment by markovuksanovic: Could someone tell if it is possible to achieve something like (syntax is definitely wrong but I hope you get the idea - it's more of a pseudo code ) foreach (String s in stringList) div class='{res.style.mainBlock}' div