[Grok-dev] Containment Contraints

Jeroen Michiel jmichiel at yahoo.com
Tue Apr 21 08:41:47 EDT 2009

Souheil CHELFOUH wrote:
> Constaints like that are defined on the interface and the interfaces
> are not grokked

Aha, I see...
I tried with zope.containers.constraints, but this seems to break something
in the generation of add forms...
I didn't have time to really debug, but if you make an IFooContainer and an
IFoo with some schema attirbutes, and apply appropriate constraints, I had
problems rendering a Grok.AddForm for IFoo. Something about an IInputWidget
that couldn't be found. Is it because the form rendering tries to find a
widget for the 'containers' statement somehow?

View this message in context: http://www.nabble.com/Containment-Contraints-tp23152405p23155240.html
Sent from the Grok mailing list archive at Nabble.com.

More information about the Grok-dev mailing list