Duuh! Sorry about that.

I'd like to bring it one step further: I'd like to be able to set the
corresponding field type.

Would the following work?


<% for (int i=0; i<10; i++) {

  String name = "value(foo-" + i + ")";
  String type = "type(foo-" + i + ")";
  <html:<%=type%> property="<%=name%>"/><br/>
%>
Thank you again.

John


----- Original Message -----
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 2:56 PM
Subject: Re: Dynamic number of form fields


> Donald put this attachment on one of his posts.  It's quite helpful and
I've
> attached it again to this message.
>
> Dave
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to