On 9/11/2002 at 3:20 PM John Averty wrote: >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/> >%>
Almost certainly not. If you want to dynamically choose a different type of element, I think you basically need to fake a switch statement with a bunch of logic:equals elements. - donald -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>