[Zope3-Users] How do I get formlib to play nice with NameChooser

mats.nordgren mats at ronin-group.org
Fri May 26 15:04:18 EDT 2006


Never mind it was a user error on my part.

I was stuffing the data variables in the create function into the context not
the object being created.  Oooops :)

On Fri, 26 May 2006 13:02:42 -0500, mats.nordgren wrote
> I've been trying to use NameChooser with formlibs AddForm and it 
> always tells me "An empty name was provided. Names cannot be empty."
> 
> I suspect it has to do with set_before_add as my object comes in to the
> NameChooser without data.  Problem is that you define formlib forms 
> with <page and set_before_add is in <addform.
> 
> Anyone got this to work?
> 
> Sincerely,
> 
> Mats
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users



More information about the Zope3-users mailing list