Ned Seagoon wrote:

> This is all rather complex. What I would like to see happen is this. Each
> ActionForm should have a static member of type FieldNameMap (returned by a
> method called getFieldNameMap). FieldNameMap maps parameter/field names to
> the page url that they appear on. When a page is submitted, the fields are
> enumerated and added to the FieldNameMap on the ActionForm. (probably want
> to keep a list of forms added in the FieldNameMap so as not to do it over
> and over again). This means the mapping from parameters to pages that they
> appear on is done automatically at runtime.
>

How would you suggest we deal with those blasted checkboxes using this approach?  If 
the
checkbox is unchecked, the browser doesn't send the field name at all -- so there is no
way for Struts to know that this field is on this page.


> Ned
>

Craig


Reply via email to