You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Johan Compagner <jc...@j-com.nl> on 2000/12/19 16:58:25 UTC

Does struts have a Dynamic Form.

Hi,

Let's say i want to make something so that i can edit database tables.
I don't want to write for every database table that must be editiable a special jsp page.

For every database table i have a Java Mapping Object.
Not all Columns are editable, only the specified ones.

DynamicForm form = new DynamicForm()
form.setDatabaseObject(javaMappingObject);
form.setEditableColumns(String[])

When the user presses submit i can validate the form in the perfom()
and get the updated database object back so that i can update the database.

does struts have something like this?

Johan Compagner