cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: CForms stabilization tasks (was Re: Marking cforms stable in 2.1.8)
Date Fri, 10 Jun 2005 09:04:07 GMT
Reinhard Poetz wrote:

> Sylvain Wallez wrote:
>
>> I personally don't use v2 nor v3. People using it are invited to 
>> speak up!
>
>
> You answered the question in your summary of the last year GT 
> Hackathon discussion about cforms 
> (http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=109774752401800&w=2) 
> yourself:
>
> [...]
> - don't use JS wrapping classes for widgets: they introduce 
> yet-another-API which is sometimes confusing.
> - update the widgets' java public API so that it's more 
> "Rhino-friendly" (check JavaBean conformance and add accessors where 
> needed)


So this speaks for a removal of form.model...

> - implement an equivalent to the bookmark feature of V2, by a function
> property of the form that gets called at each request roundtrip


Done: see cleanupHook and restoreHook in Form.js

> - add helper methods to the Form class to create event listeners from JS
> functions


Can be done quickly, and doesn't prevent marking state stable as it will 
be an addition

> - restrict the "cocoon" object that's available in the event handlers 
> so that it does not provide response-related methods (sendPage etc)


To be done.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://apache.org/~sylvain            http://anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message