You can - use a simple ArrayList to store the values and - other ArrayList to store the widgets - create a function to update the values in the values ArrayList, that receives a integer that represents the position you're altering - create a click handler for each hyperlink with a class attribute called "index". Each hyperlink will have a single index and this is the way it will tell your application which of the groups has been altered
I think this is simple to implement and will solve your problem. Alisson Prestes www.google.com/profiles/javalisson On Mon, May 2, 2011 at 10:43 AM, Bhavin <bhavinbpar...@gmail.com> wrote: > Hi, > > I have a GWT page with 2 text boxes, 1 hyperlink and 1 button > initially (on page load). > When I click on the hyperlink, I add another text box (dynamically > without refreshing the page). > > Now when I click the button, I need to capture the values that lie in > all the three text boxes. How can I do it? > > I am desparately looking for some help on this area because I am > working on a critical project and badly need help on this. > > -- > Thanks! > Bhavin > > -- > 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 group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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 group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.