logo       

Read TextBox inside FlexTable: msg#02139

GoogleWebToolkit

Subject: Read TextBox inside FlexTable


Hi all,
I'm learning how to use GWT and I'l like to ask you a maybe basic
question for which I haven't found an answer on the web.
I'm putting TextBox'es on the first column of a FlexTable, and
ListBox'es on the second column. When I want to send all the form to
the servlet what I do is to run a loop all over the table and on each
cell I get its value (either TextBox or ListBox) by using:
fieldsTable.getWidget(i,j).getElement().getPropertyString("value")

Is there a simpler thing to do this? And, is there a way to get on an
array all the content of the form, so that I don't have to run a loop
all over the Table?

Thanks!

Miguel

--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
Google-Web-Toolkit+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise