On May 12, 4:13 pm, Thomas Broyer t.bro...@gmail.com wrote:
It's not HTML vs. Widget, it's innerHTML vs. DOM's
document.createElement/appendChild. So in GWT, as soon as you start making
reusable components, you're breaking the innerHTML layer and have to
introduce a Widget.
From what I've
On May 12, 3:19 pm, Geoffrey Wiseman geoffrey.wise...@gmail.com
wrote:
On May 12, 1:22 pm, Gal Dolber gal.dol...@gmail.com wrote:
In real its ok what you are doing(in theory Widget should be used only when
you need events), but the truth is that gwt's panels don't have any support
for
...when you need an UIObject ;-)
The Tree and Menu widgets are known to use UIObjects (TreeItem / MenuItem);
and if you build similar widgets then you might have a need for UiBinder for
your UIObjects.
The thing is: a UIObject is so simple (compared to a Widget) that it
doesn't need the
On May 13, 11:12 am, Thomas Broyer t.bro...@gmail.com wrote:
...when you need an UIObject ;-)
Thanks! Helpful food for thought.
It definitely sounds like I was trying to make an optimization I don't
need based on advice I didn't fully understand. ;)
--
You received this message because you
Just to give a little background, I've been doing GWT for a while, but
I'm pretty new to UiBinder. I'm starting to fold it in to some of the
GWT work I'm doing, and I certainly like some aspects of it. I'm
building a page with a lot of repeating display elements that don't
require any events (a
What I don't understand is why Stat is not a Widget if you want to use it
like a Widget.
--
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
In real its ok what you are doing(in theory Widget should be used only when
you need events), but the truth is that gwt's panels don't have any support
for UiObjects so you need to use Widget.
On Thu, May 12, 2011 at 10:07 AM, Thomas Broyer t.bro...@gmail.com wrote:
What I don't understand is
On May 12, 1:07 pm, Thomas Broyer t.bro...@gmail.com wrote:
What I don't understand is why Stat is not a Widget if you want to use it
like a Widget.
[nod] I've changed it to being a widget in the meantime.
Basically, I need a reusable piece of display content, but it doesn't
need any events,
On May 12, 1:22 pm, Gal Dolber gal.dol...@gmail.com wrote:
In real its ok what you are doing(in theory Widget should be used only when
you need events), but the truth is that gwt's panels don't have any support
for UiObjects so you need to use Widget.
So even HTMLPanel can't easily absorb HTML
It's not HTML vs. Widget, it's innerHTML vs. DOM's
document.createElement/appendChild. So in GWT, as soon as you start making
reusable components, you're breaking the innerHTML layer and have to
introduce a Widget.
The point of HTML vs. Widget is: don't use FlexTable/Grid/FlowPanel for
layout
10 matches
Mail list logo