cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Larson <>
Subject [lazy vote] cforms request processing
Date Mon, 01 Nov 2004 14:47:06 GMT
We have talked several times about changing the request
processing in cforms to not touch any widget whose
request parameter is missing (to prevent these widgets'
values from being reset to null,) the end result being
that it would be easier for the view to decide how to
split a form across multiple pages without breaking the
SoC between the form model and the view.

As discussed before, this change would involve sending
a hidden field along with every checkbox to indicate
the presence of the checkbox, because an unchecked
checkbox does not generate a request parameter on POST.
This would allow to distinguish between a checkbox that
is unchecked versus a checkbox that is not on the page.

What do we want to do?
[ ] leave as is
[ ] make the changes described above

This is my +1 to make the change.

--Tim Larson

View raw message