[gwt-contrib] Re: UiBinder and HTML's

2009-10-09 Thread Thomas Broyer
On Tue, Oct 6, 2009 at 5:47 PM, Ray Ryan wrote: > > On Tue, Oct 6, 2009 at 8:43 AM, Thomas Broyer wrote: >> >> If I understand correctly how UiBinder works, for widgets, I'd still >> have to "inject" the ID myself using >> theWidget.getElement().setId(bundle.a().toString()) ? > > That's a very b

[gwt-contrib] Re: UiBinder and HTML's

2009-10-06 Thread Thomas Broyer
On 6 oct, 17:47, Ray Ryan wrote: > On Tue, Oct 6, 2009 at 8:43 AM, Thomas Broyer wrote: > > > If I understand correctly how UiBinder works, for widgets, I'd still > > have to "inject" the ID myself using > > theWidget.getElement().setId(bundle.a().toString()) ? > > That's a very bad idea. You'

[gwt-contrib] Re: UiBinder and HTML's

2009-10-06 Thread Ray Ryan
On Tue, Oct 6, 2009 at 8:43 AM, Thomas Broyer wrote: > > On Tue, Oct 6, 2009 at 4:16 PM, BobV wrote: > > I've attached a very simple implementation (with source) of an > > IdResource that can be used with ClientBundle. You're welcome to > > adapt it to your needs, but I don't see any additional

[gwt-contrib] Re: UiBinder and HTML's

2009-10-06 Thread Thomas Broyer
On Tue, Oct 6, 2009 at 4:16 PM, BobV wrote: > I've attached a very simple implementation (with source) of an > IdResource that can be used with ClientBundle.  You're welcome to > adapt it to your needs, but I don't see any additional ClientBundle > API making it into GWT 2.0 at this time. If I u

[gwt-contrib] Re: UiBinder and HTML's

2009-10-06 Thread BobV
I've attached a very simple implementation (with source) of an IdResource that can be used with ClientBundle. You're welcome to adapt it to your needs, but I don't see any additional ClientBundle API making it into GWT 2.0 at this time. -- Bob Vawter Google Web Toolkit Team --~--~-~--~-

[gwt-contrib] Re: UiBinder and HTML's

2009-10-06 Thread BobV
The idea of an IdResource is interesting. I have been looking for a good sample resource type for a tutorial on extending ClientBundle. I think that I will work this up while I'm travelling today. --Bob (Android) On Oct 5, 2009 12:12 PM, "Thomas Broyer" wrote: On Mon, Oct 5, 2009 at 5:30 PM, R

[gwt-contrib] Re: UiBinder and HTML's

2009-10-05 Thread Thomas Broyer
On Mon, Oct 5, 2009 at 5:30 PM, Ray Ryan wrote: > Not yet, and I'm torn about how to do it. Wow! pretty reactive! (2 minutes between the question and answer!) I don't know how it could be done at the generator/rebind level, but maybe using i18n.client.Constants or rather introducing a new kind

[gwt-contrib] Re: UiBinder and HTML's

2009-10-05 Thread Ray Ryan
Not yet, and I'm torn about how to do it. On Oct 5, 2009 8:28 AM, "Thomas Broyer" wrote: Hi Ray et al, Looking at the UiBinder wiki page and heading a bit in the code, I cannot find if it is possible for UiBinder to generate IDs to associate two elements/widgets, such as an HTML and an or (b