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
--~--~
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 ?
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
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 declare
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
-~--~~~~--~~--~--~---
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 close
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
--~--~-~--~~~---~--~~
http://groups.google.co
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:
http://code.google.com/p/google-web-
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 UiBinder-
Comment by gal.dolber:
Hi guys!
I coudn't get this
{{{}}}
working and I realy like ImageBundle so here is a tip to use ImageResource
and ImageBundle with UiBinder
{{{
package com.google.gwt.user.client.ui;
import com.google.gwt.resources.client.ImageResource;
public class UiImage extends Im
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
--~--~-~--~~~---~--~~
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 p
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 UiBinder {}
private static final Binder defaultBind
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
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google
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 {
@Overr
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 a
Comment by ray.ryan:
I could imagine wanting to do this, though. Suppose I'm making a bit of UI
that needs a dialog to show up on occasion. Having it in my main ui.xml
seems natural and convenient.
The main thing fighting this is our current insistence that there is a
single root element i
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 contents
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("[...]");
For more informati
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
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 and . XML looks like
a reasonable compromise to achieve this. In JavaFX it would not be as
natural. My 2 cents.
For more information:
http://code
Comment by xavier.mehaut:
I wonder personnaly why javafx syntax was not chosen instead of the
UIBinder xml one in order to express cleanly and in a declarative manner a
GUI... A GUI specific DSl is in my sense more efficient, especially is it
is javafx which is chosen as a basis.
regards
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)
Well hello there
end foreach
I've s
Comment by j...@google.com:
Still working on it. Its non-standard add() semantics require a custom
parser, which I'm writing as we speak.
For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder
--~--~-~--~~~---~--~~
http://groups.google
Comment by pgtaboada:
Could someone provide an example on how to user UIBinder and the
DockLayoutPanel?
For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Cont
25 matches
Mail list logo