[Zope3-Users] Calling createAndAdd with different object id

Adam Groszer adamg at fw.hu
Sat Sep 10 12:53:28 EDT 2005


Hello Florian,

I suggest you download the examples for Philipp's book from
http://worldcookery.com/files/examples-1.0.tgz
Have a look at \examples-1.0\14containers\folder.py.

Saturday, September 10, 2005, 5:05:26 PM, you wrote:

> Hello,
> I want to override the createAndAdd method mothed in a view class. Since I
> don't want to do all the work I want to derive my class from the AddView
> class from /home/florian/Zope3/src/zope/app/form/browser/add.py. The only
> thing I do in my class is to change the name (object id) of the object to be
> created. In the arguments of the createAndAdd method I have not found any
> information about the id. How can I alter the name?

> Thanks,

> Florian
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users 



-- 
Best regards,
 Adam                            mailto:adamg at fw.hu
--
Quote of the day:
Chance is a word devoid of sense; nothing can exist without a cause. 
- Voltaire 



More information about the Zope3-users mailing list