You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Al Sutton <al...@alsutton.com> on 2007/05/15 16:59:02 UTC

Best method for dynamic fields round trip

I've got an application which has a dynamic number of customisable fields
attached to each record. The customisable fields have a display name, an
internal name, and a value. Some records have no fields and there is no way
of determining at compile time the maximum number of fields a record can
have.
 
So my questions are; 
 
1) What's the best way to get the dynamic fields to a JSP so the user can
edit them?
2) What's the best way to get the modified data back into an action so the
action can update the data?
 
I'm ideally hunting for a non-AJAX based solution because this app may be
used on PDAs which don't support JavaScript.