[kupu-dev] Object notation change in kupubasetools.js

Guido Wesdorp johnny at johnnydebris.net
Fri Jun 6 08:21:18 CEST 2008


Charlie Clark wrote:
> Sounds good - we'd then just need to hook into the widgeteer from the  
> formlib widget?
>
>   
I guess that would be an option. To be honest I haven't thought of 
combining Widgeteer with other (server-side) forms solutions, I guess it 
can be very useful but I'm not sure what the best way is of doing that.

The idea behind Widgeteer is that you create a form with simple, 
standard form fields, Widgeteer replaces them with complex widgets on 
the client, using JavaScript. It takes care of graceful fallback (no JS 
means you just get the simple form field), preserving data between page 
reloads and navigation (by serializing to the simple form field on 
unload, and unserializing on load, so the behaviour is the same as for 
simple form fields) and ease of integration.

I think this can be nicely combined with e.g. formlib by just generating 
the simpler form fields with annotations, but so far I've only used it 
in situations with hand-crafted forms.

> Regarding the Zope2 stuff - any sense in updating the code to work  
> with the CMF? Looks like most of the code simply registers the kupu skin
>   

I'm not sure, I don't know much about the CMF and I think the Zope 2 
stuff hasn't been touched in a long time...

Cheers,

Guido


More information about the kupu-dev mailing list