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 2003/07/17 02:04:09 UTC

DO NOT REPLY [Bug 21671] New: - [woody] initial binding framework

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=21671>.
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=21671

[woody] initial binding framework

           Summary: [woody] initial binding framework
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: mpo@apache.org


A first functional throw at the implementation of some Binding ideas for
connecting Woody forms to actual back-ends.

The enhancement is packaged as a patch for the Woody-block where it introduces
- code in the o.a.c.woody.binding package
- some new BindingManager component to be declared
- supporting logging xpatch files
- a sample showing the current features.
- usage of a new xml-namespace: http://apache.org/cocoon/woody/binding/1.0 for
the declarations in the 'binding'-file

More explanation/ideas to be found on the mailarchives.
- http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=105703782520964&w=2
- http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=105834927217234&w=2
Please direct your comments to the list.


Known Limitations:
- no documentation yet: should get into the wiki with the other woody-docos
- no namespace-awareness concerning the xml-backend-objectmodel (how to express
in jxpath?)
- the repeater requires a unique id --> this calls for a hidden widget inside
Woody (actually leaving it out from the template should do as soon as Woody
learns how to deal with widgets that are missing on the form)
- simple way to address this from flowscript is missing
- BindingManager should maintain a cache of the bindings it build (pattern to be
copied from woody form-manager, or factored out/reused)
- no dataconversions yet: binding strictly 'String'
- no binding for booleanfield and multivaluefield
- list of builders probably nicer in the xconf in long run
- use of jxpath was to enable binding to javabeans (coming from O/R layer)
current patch lacks the sample though.