Re: [Zope3-Users] Re: Books example

2006-09-10 Thread Sébastien VINOT
Kim L. Jacobsen a écrit : Philipp, Regarding this subject... When I try the examples from chapter 7 in your book, I get the following error, when I try to add a Recipe. I simple can't figure out, how to resolve it. Any suggestions? I'm using Zope 3.2.1 Regards, Kim

[Zope3-Users] Re: Books example

2006-09-10 Thread Philipp von Weitershausen
Kim L. Jacobsen wrote: Philipp, Regarding this subject... When I try the examples from chapter 7 in your book, I get the following error, when I try to add a Recipe. I simple can't figure out, how to resolve it. Any suggestions? I'm using Zope 3.2.1 This is a known erratum: * page 96,

[Zope3-Users] SV: Books example

2006-09-10 Thread Kim L. Jacobsen
Thanks Philipp and Sébastien Don't know why I missed that errata. Regards, Kim -Oprindelig meddelelse- Fra: Philipp von Weitershausen [mailto:[EMAIL PROTECTED] Sendt: 10. september 2006 10:22 Til: Kim L. Jacobsen Cc: zope3-users@zope.org Emne: Re: Books example Kim L.

Re: [Zope3-Users] your questions = KPUG wiki

2006-09-10 Thread Baiju M
On 9/10/06, Christophe Combelles [EMAIL PROTECTED] wrote: First, thanks to all the z3-experienced people who answer beginners' questions here, and particularly to Stephan Richter who answered my own ones. I have added his answers on the kpug wiki. May I suggest that all people asking something

[Zope3-Users] nextUrl(), passing state in formlib

2006-09-10 Thread Martin Aspeli
Hi, I have an add form (and later, an edit form) that may be invoked from a particular view among a few choices. That is, the user can be at @@foo or @@bar, click add X or edit Y. When the form is successfully submitted (i.e. validated) I want to send the user back to @@foo or @@bar

[Zope3-Users] Re: nextUrl(), passing state in formlib

2006-09-10 Thread Jürgen Kartnaller
Hi Martin. I did it this way : The Edit Form implementation : class AddClub(zope.formlib.form.AddForm): base_template =zope.formlib.form.AddForm.template template = ViewPageTemplateFile('club_add.pt') ... def referer(self): returnself.request.form.get('referer')\

[Zope3-Users] Re: nextUrl(), passing state in formlib

2006-09-10 Thread Martin Aspeli
Jürgen Kartnaller wrote: I did it this way : The Edit Form implementation : class AddClub(zope.formlib.form.AddForm): base_template =zope.formlib.form.AddForm.template template = ViewPageTemplateFile('club_add.pt') ... def referer(self): return

[Zope3-Users] zope.contentprovider and z3c.traverser

2006-09-10 Thread Darryl Cousins
Hi, z3c.traverser and zope.contentprovider are helpful packages with good and clear doctests. It didn't much time to get up and running with them. However the packages do not include an example of how to configure my new useful code into my project. I got it figured (well, ... it works):

[Zope3-Users] Using ZCML for defining global constants ?

2006-09-10 Thread Andrew Groom
Hi there, I've got a few global constants that I'd like to be available to my application and a .zcml file seems to be a sensible place. I'm thinking of something like a .zcml file with, e.g.: applicationSettings setting name=name1 value=value1/ setting name=name2