[Grok-dev] Containment Contraints

Hugo Lopes hltbra at gmail.com
Tue Apr 21 09:02:58 EDT 2009

Jeroen, I didn't understand your "test" (IFooContainer and IFoo).
Can you pastebin?
And the traceback would be nice, too.

On 4/21/09, Jeroen Michiel <jmichiel at yahoo.com> wrote:
> 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.
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev

More information about the Grok-dev mailing list