Re: [Zope3-Users] How to access request variable from vocabulary

2007-08-07 Thread Hermann Himmelbauer
Am Montag, 6. August 2007 19:08 schrieb Benji York: Adam Groszer wrote: I'm using something like this: def getCurrentRequest(): return getInteraction().participations[0] It is, of course, better if you can structure your app so you don't have to pull the request out of thin air,

[Zope3-Users] possible bug in zope\app\authentication\principalfolder.py

2007-08-07 Thread Shailesh Kumar
Hi, I was using InternalPrincipal object and specified a password with non-ascii characters. Since Password is derived from TextLine, hence its supposed to be acceptable. But I found that if I use MD5 or SHA1 password managers, it leads to problems. The following exception is thrown. I guess

[Zope3-Users] zc.buildout beginner's question

2007-08-07 Thread Andreas Reuleaux
I am aware that a lot of fancy stuff can be done with zc.buildout, however I am just starting... I found Benji's blogs a good entry point: [1] http://baijum81.livejournal.com/19795.html [2] http://baijum81.livejournal.com/20551.html I got z3hello running - hey, that was not to hard - and decided

Re: [Zope3-Users] zc.buildout beginner's question

2007-08-07 Thread Andreas Reuleaux
$ diff -f mydemo-skeleton mydemo1 should only reflect my change: Hello - Hello from Rx my typo: should read $ diff -r ... i. e. recursive diff ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] zc.buildout beginner's question

2007-08-07 Thread Andreas Reuleaux
I found Benji's blogs a good entry point: Baiju's blog i. e. - well, it's getting late ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] z3c.form: how to use invariant/validator?

2007-08-07 Thread Stephan Richter
On Monday 06 August 2007 22:23, Stephan Richter wrote: On Sunday 05 August 2007 16:51, Peter Piehler wrote: recently I started working with Zope3 and z3c.form. The figures in the form should be checked, for instance that the first name and the surname are not identical. Therefore I write an

Re: [Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-07 Thread Stephan Richter
On Wednesday 01 August 2007 13:15, Hermann Himmelbauer wrote: In one of my forms, one field is defined like that:     foobarid = Int(         title=u'ID',         description=u'ID of Foobar',         required=False) When I add this field in a z3c.form based form, e.g.: fields =