Thursday, April 11, 2019

initialize the object using flex Table contents

Hi,

Im new to GWT
I have a fields in Custom class as,
getName(), setName, getCity(), setCity() etc.

Im using Flex table to read the values from the user:

               FlexTable t = new FlexTable();
                t.setText(0, 0, "Name");
t.setText(0, 1, "City"); 

t.setWidget(1, 0, new TextBox()); 
t.setWidget(1, 1, new TextBox());

And using flex table addrow() , so that mutiple details can be entered at the same time.

Now how to store the data entered by user to the object of my class..like c.setName() ..so that it can be easy to store in the database.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment