On Jan 6, 2006, at 10:28 AM, Zachery Bir wrote:
The Zope 3 formlib chokes when all the attributes specified by a Schema interface aren't present (that haven't explicitly been omitted from the view). But MochiKit eliminates empty form elements from the result of a formContents. Any chance we can optionally get it to include those as empty strings, or the like?
Perhaps it would be better to test for !(isUndefinedOrNull(key, value)), rather than (isNotEmpty(key, value)) for the formContents function to allow for the empty strings that represent un-set text fields and the like?
Zac
