[Zope3-Users] z3c.form: Data Manager - getting value via dm.query() instead of dm.get()

Roger Ineichen dev at projekt01.ch
Wed Aug 13 14:24:35 EDT 2008


Hi Herman
 
> Betreff: Re: AW: [Zope3-Users] z3c.form: Data Manager - 
> getting value via dm.query() instead of dm.get()

[...]

> But I would nevertheless suggest to implement some kind of 
> "switch" that decides if an error is raised or NOVALUE is 
> returned in case a value is missing in the underlying object.

I don't understand that.

Why whould you like to store a default value if a value
is missing. That's just a write access for storing
what default returns anyway. 

Regards
Roger Ineichen

> Many thanks for help!
> 
> Best Regards,
> Hermann
> 
> --
> hermann at qwer.tk
> GPG key ID: 299893C7 (on keyservers)
> FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7
> 
> 
> 



More information about the Zope3-users mailing list