[Zope3-Users] Question about menu.py

2009-02-03 Thread Simon Elbaz
something ? Thanks for your explanation Simon Elbaz ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] test writing with z3c.testsetup

2009-03-15 Thread Simon Elbaz
Hi, I have some difficulties to run tests with z3c.testsetup. Running cdcadama/bin/test yields this output: bash-3.00$ cdcadama/bin/test -vvv Running tests at level 1 Running unit tests: Running: /home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/basicsetup.txt (0.140 s)

[Zope3-Users] Working with the last version of a module

2009-03-26 Thread Simon Elbaz
Hi, I need to use z3c.form and the last downloadable release is 1.9.0 in the python package index. However, I would like to use the last version of z3c.form (trunk revision in svn.zope.org). How I could do that ? Thanks for your help Simon ___

[Zope3-Users] Executing code a server startup

2009-05-17 Thread Simon Elbaz
Hi, I am trying to execute some code at zope3 server startup. Zope3 posts hint using a IProcessStartingEvent subscriber in configure.zcml. Here is an extract of configure.zcml: subscriber handler=cdcadama.authentication.onStartup

Re: [Zope3-Users] Executing code a server startup

2009-05-18 Thread Simon Elbaz
It is now better: the event DatabaseOpened is caught at startup. However, it is surprising that ProcessStartingEvent is not caught. Simon On Mon, May 18, 2009 at 6:46 AM, Andreas Jung li...@zopyx.com wrote: On 18.05.09 00:42, Simon Elbaz wrote: Hi, I am trying to execute some code

[Zope3-Users] z3c.form: Setting HTTP_AUTHORIZATION in header

2009-05-25 Thread Simon Elbaz
Hi, I would like to setup authentication in an application using HTTPBasicAuthCredentialsPlugin. For that, I need to set HTTP_AUTHORIZATION environment variable. How could I do that from within the add z3c.form method for example? Thanks for your help Simon

Re: [Zope3-Users] z3c.form: Setting HTTP_AUTHORIZATION in header

2009-05-31 Thread Simon Elbaz
, 'browserDefault', 'zope.View') Thanks for your help Simon* * On Tue, May 26, 2009 at 12:22 AM, Simon Elbaz elbazsim...@gmail.com wrote: Hi, I would like to setup authentication in an application using HTTPBasicAuthCredentialsPlugin. For that, I need to set HTTP_AUTHORIZATION environment variable. How

[Zope3-Users] Paste sending 'Authentication Required' popup

2009-06-11 Thread Simon Elbaz
Hi, I am trying to set a session credentials plugins in an application. A request on 'http://localhost:8080/' sends me to the login form as defined in the plugin. Whereas, a request on 'http://localhost:9030/++skin++Login/@@search.html' triggers the 'Authentication Required' popup (realm Zope). I

Re: [Zope3-Users] Paste sending 'Authentication Required' popup

2009-06-11 Thread Simon Elbaz
() - self.request.unauthorized('basic realm=Zope') * I wonder how zope gets into this piece of code and don't use ./zope.app.exception-3.5.0-py2.5.egg/zope/app/exception/browser/unauthorized.py Thanks for your help Simon On Thu, Jun 11, 2009 at 4:48 PM, Simon Elbaz elbazsim...@gmail.com wrote: Hi, I

[Zope3-Users] Unauthorized object not the same

2009-06-13 Thread Simon Elbaz
Hi, I am trying to set a SessionCredentialsPlugin in a application. When I try to access the following URL http://localhost:9030/++skin++Login/@@search.html, the result of the call:

Re: [Zope3-Users] Unauthorized object not the same

2009-06-15 Thread Simon Elbaz
/++skin++Login/@@search.html) (Pdb) print provided InterfaceClass zope.interface.Interface (Pdb) print name index.html I am a little bit stuck ... Regards Simon On Sun, Jun 14, 2009 at 1:27 AM, Simon Elbaz elbazsim...@gmail.com wrote: Hi, I am trying to set a SessionCredentialsPlugin

Re: [Zope3-Users] Unauthorized object not the same

2009-06-17 Thread Simon Elbaz
for=* layer=cdcadama.layer.ICdcadamaBrowserLayer template=unauthorized.pt / where unauthorized.pt is a copy of z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/browser/unauthorized.pt. And for the moment, it seems ok. Regards, Simon On Mon, Jun 15, 2009 at 6:02 PM, Simon Elbaz

[Zope3-Users] Using homefolder in a TALES expression

2009-07-09 Thread Simon Elbaz
Hi, I'm trying to reproduce the example given in zope.app.homefolder/trunk/src/zope/app/homefolder/README.txt and I have some difficulties to understand. The error traceback seems to say that principal cannot be traversed to the homefolder. The used template test_homefolder.pt looks like:

Re: [Zope3-Users] z3c.traverser and stackinfo

2009-10-21 Thread Simon Elbaz
That was the problem ! :) Thx a lot Simon Dan Korostelev wrote: 2009/10/21 Simon Elbaz simon.el...@free.fr: I am trying to use stackinfo module from z3c.traverser and don't understand the following error because ITraversalStackInfo should adapt BrowserRequest class according to (http

[Zope3-Users] How to modify the action value in a form

2009-11-11 Thread Simon Elbaz
Hi, I access a z3c.form with the following url: http://localhost:9060/++skin++Adama/mysite/kv/object_portfolio/OBJ_REF1/hf A stack consumer (from z3c.traverser.stackinfo.consumer) consumes the arguments kv/object_portfolio/OBJ_REF1. Finally, in the rendered form, I get: div id=contentform

[Zope3-Users] LoginPassword error

2010-01-10 Thread Simon Elbaz
Hi, I've been quietly working with zope3 until I recently launched a buildout. Now, the following error occurs when trying to access the ZMI. Thanks for your help Simon 2010-01-11T14:11:15 ERROR SiteError http://localhost:9060/@@login.html Traceback (most recent call last): File

Re: [Zope3-Users] LoginPassword error

2010-01-12 Thread Simon Elbaz
After adding zope.login to configure.zcml, all is fine. Thanks Baiju. Baiju M wrote: On Mon, Jan 11, 2010 at 6:45 PM, Simon Elbaz simon.el...@free.fr wrote: Hi, I've been quietly working with zope3 until I recently launched a buildout. Now, the following error occurs when trying to access

[Zope3-Users] z3c.formjs widgetselector customization

2011-02-13 Thread Simon Elbaz
Hi all, I use z3c.formjs in a project and would like to customize the selector id used into jsaction.handler for form field. Why ? because the z3c.formui templates add -row suffix to the widget id and I need also to add the -row suffix to the selector id in the event handler. I have attached a

Re: [Zope3-Users] Referencing objects

2011-02-21 Thread Simon Elbaz
Hi, here is what I have understood in zope3 security policy: On Mon, Feb 21, 2011 at 1:28 PM, Michael Seifert michael.seif...@gmx.netwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 04.02.2011 17:04, schrieb Thierry Florac: Hi, Le vendredi 4 février 2011, Michael Seifert

[Zope3-Users] core dump with zope.interface and zope.security

2013-06-05 Thread Simon Elbaz
Hi, A developement zope server crashes with a segmentation fault on a unix server. I am trying to figure out how the error happens. If someone has already encountered the same error, thanks for any advices ... Here is the stack of the core: #0 0x0dfe8108 in PyDict_GetItem () from

[Zope3-Users] label customisation

2013-07-13 Thread Simon Elbaz
) Thanks for your help Simon Elbaz ___ Zope3-users mailing list Zope3-users@zope.org https://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] label customisation

2013-07-19 Thread Simon Elbaz
AM, Simon Elbaz elbazsim...@gmail.com wrote: Hi, In the z3c.form.AddForm, zope.schema.List field is rendered with Add/Delete buttons. How to customize those labels ? My code does not have any effect: AddAction = button.StaticButtonActionAttribute( u'Add Action', button