You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/10/27 08:07:53 UTC

DO NOT REPLY [Bug 13998] New: - XMLForm automated checkbox handling

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13998>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13998

XMLForm automated checkbox handling

           Summary: XMLForm automated checkbox handling
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: ivelin@apache.org


Currently XMLForm requires custom implementations to handle unchecked 
checkboxes for HTML forms.
The goal is to implement form view snapshot to allow populating with default 
values when request parameters are not available.
For session scope forms, XMLFormTransformer can save a copy of all references 
to model properties in the session. When data is submitted, the Form populator 
can enumerate all expected fields and the ones which are not present in the 
session can be replaced with default values.
This will take care of the general case, where until now each custom action 
was supposed to handle unchecked checkboxes on a case by cases basis.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org