cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: [lazy vote] cforms request processing
Date Tue, 02 Nov 2004 10:04:07 GMT
Tim Larson wrote:

>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
>[+1] make the changes described above
>  
>

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message