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

2006-05-26 Thread mats.nordgren
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  
> Anyone got this to work?
> 
> Sincerely,
> 
> Mats
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


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

2006-05-26 Thread mats.nordgren
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 http://mail.zope.org/mailman/listinfo/zope3-users