Re: Coding dynamic parts with GWT

2010-03-24 Thread Jochen Schnaidt
Thanks a lot. I will try it this way. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Coding dynamic parts with GWT

2010-03-24 Thread Jochen Schnaidt
Hi, I got it. The solution via List works. For the next with this problem, here is my solution: ListTextBox trackList = new ArrayListTextBox(); for (int i = 0; i number; i++) { TextBox track = new TextBox(); trackList.add(track); generateEventHeadPanel.add(track); } ... String text =

Re: Coding dynamic parts with GWT

2010-03-24 Thread Jeff Chimene
Hi Jochen: One other item of note: you might want to eliminate the ability of the user to enter an arbitrary value. For example, what happens if I enter -32767? or 65536 as the value for number? Consider implementing the source of number as a listbox with a limited size so that it't not possible

Re: Coding dynamic parts with GWT

2010-03-24 Thread Jochen Schnaidt
Hi, at the moment my 'number' is a Integer.parse of a String from a TextBox in a try/catch with errorhandling but my layout is not finished yet. Thanks for the idea, I didn't thought of that until now. On Mar 24, 4:19 pm, Jeff Chimene jchim...@gmail.com wrote: Hi Jochen: One other item of

Coding dynamic parts with GWT

2010-03-23 Thread Jochen Schnaidt
Hi, I have a question about coding dynamic parts with GWT. I already searched for an answer, but didn’t find something which could help me. May be I have the wrong keywords? I don’t know… So, the problem: My concept is that my application reads a integer from a TextBox after the user wrote

Re: Coding dynamic parts with GWT

2010-03-23 Thread rudolf michael
i=0; i number; i++) parent.add(new TextBox()); if you want to have names for your textboxes then inside your loop you can do myTextBox.setName(myName+i); On Tue, Mar 23, 2010 at 5:04 PM, Jochen Schnaidt j.schna...@t-online.dewrote: Hi, I have a question about coding dynamic parts with GWT. I

Re: Coding dynamic parts with GWT

2010-03-23 Thread enTropy Fragment
: Hi, I have a question about coding dynamic parts with GWT. I already searched for an answer, but didn’t find something which could help me. May be I have the wrong keywords? I don’t know… So, the problem: My concept is that my application reads a integer from a TextBox after the user wrote

Re: Coding dynamic parts with GWT

2010-03-23 Thread Jeff Chimene
mailto:j.schna...@t-online.de wrote: Hi, I have a question about coding dynamic parts with GWT. I already searched for an answer, but didn’t find something which could help me. May be I have the wrong keywords? I don’t know… So, the problem: My