I'm currently working on an UiBinder based application, where I'd like
to use a FlexTable to hold data for a form (the labels plus the text
boxes). Unfortunately, it seems that UiBinder does only allow to
declare the FlexTable, but not the elements of the FlexTable. As there
are quite a lot of elements, I'd like to decleare them in UiBinder too
(otherwise it would not make sense to use UiBinder in my application).

What's the suggested way to do this?

In an older post I read the suggestion to add the widgets at some
other place in the UiBinder XML file and then to programmatically
"move" them to the right place in FlexTable. That's what I currently
do: I add the widgets to a HorizontalPanel in UiBinder, then in
onModuleLoad() I manually use FlexTable.setWidget() to move them to
the FlexTable. Afterwards, I delete the HorizontalPanel as it's not
required anymore.

Is there currently a "better" or a "cleaner" way to do this? Or is
this type of solution currently the best option? Are there any other
tables that offer functionality similar to FlexTable and that I can
declare in UiBinder (I need labels and text boxes vertically aligned,
each in multiple columns. Additionally, some of the rows have colspan
larger than one.)?

- Guenther

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to