iteration to create dynamic form

2003-06-25 Thread Piers Dunleavy
I have a tag which is supposed to create a dynamic form, filled with a checkbox for every object in a collection. (The checkbox is an option to delete one of those records from the database.) The form itself is a Map-Backed Action form with two methods (public void setValue(String key, Object v

Re: Forms with dynamically generated fields

2003-06-24 Thread Piers Dunleavy
> You can always use mapped properties though. > > public String getSomeProperty(String parameter); > public void setSomeProperty(String parameter, String value); I take it, however, that there's no way of doing this simply through DynaActionForm? -Piers

Forms with dynamically generated fields

2003-06-24 Thread Piers Dunleavy
I have a JSP that generates a form based. The JSP creates a set of input fields on fly based on some prior information that the user entered. Therefore the number of fields for that form will differ from user to user. What is the best approach in Struts for dealing with this. Obviously, I can't sim