cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32169] New: - [PATCH] Suggestion for widget population
Date Wed, 10 Nov 2004 20:15:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32169>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32169

[PATCH] Suggestion for widget population

           Summary: [PATCH] Suggestion for widget population
           Product: Cocoon 2
           Version: Current SVN 2.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: CocoonForms
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: ekstedt@ibg.uu.se


This patch enables CForm to only populate the widgets that has been rendered.
Currently it only works if you use the
src/blocks/forms/java/org/apache/cocoon/forms/generation/jx-macros.xml macro to
render your widgets.

It should be fully back-compatible as it introduces an additional flag in the
Form.showForm function that flags whether population should be done old-style
(recursively through all widgets) or with the new method.

To use it in flow do:

form.showForm(uri, bizData, true);

Where true indicates that selective population should be used. If you instead do:

form.showForm(uri, bizData)

The recursive behaviour will be used.

Mime
View raw message