[Zope3-Users] Prevent an event

2007-09-16 Thread kevin
Is there away to prevent the catalog from auto-indexing upon creation of the catalog? Thanks, Kevin Smith ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] job opportunities

2007-10-10 Thread Kevin
. If you're interested in responding but have any questions, feel free to respond to me off of the list. If I shouldn't post these here anymore - please feel free to flame me and I won't do it again :-) -Kevin p.s. Don't hate me for cross posting ways to make money doing cool things like working

Re: [Zope3-Users] Prevent an event

2007-09-17 Thread Kevin Smith
it correctly, recursively touching all of my objects. Kevin Smith Markus Kemmerling wrote: Am 16.09.2007 um 21:00 schrieb [EMAIL PROTECTED]: Is there away to prevent the catalog from auto-indexing upon creation of the catalog? Why would you want to do this on the catalog level? You can

[Zope3-Users] SQL and Zope3 Tutorial - Feedback needed

2008-01-08 Thread kevin gill
style as well as the content. This is my first attempt to add to the documentation body for Zope. Thanks, Kevin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Tutorial on Security Configuration with External DB Data

2008-01-15 Thread kevin gill
time to review the tutorial I would appreciate any feedback, http://wiki.zope.org/zope3/HowDoIConfigureSecurityInARelationalDatabase The SQLScipt Tutorial is at: http://wiki.zope.org/zope3/HowDoIUseSQLScript Thanks, Kevin ___ Zope3-users

[Zope3-Users] Viewlet Manager Configuration

2008-01-16 Thread kevin gill
Is it possible to pass parameters from a skin page template to a Viewlet Manager? The requirement is to use the same Viewlet Manager in different places on a page, and control the content based on configuration information. For example: Adverts are served on pages with unique slot information

[Zope3-Users] z3c:layout - not working with z3c.form.EditForm

2008-01-29 Thread kevin gill
I am having a problem configuring a layout template. It works with z3c.form.DisplayForm but not with z3c.form.EditForm. formdemo works fine for me. It seems to use an identical approach. Thanks, Kevin --- Here is the details

Re: [Zope3-Users] z3c:layout - not working with z3c.form.EditForm

2008-01-29 Thread kevin gill
In answer to my own question, the EditForm must also inherit from the z3c.formuilayout.FormLayoutSupport class. This code now works: from z3c.form import form from z3c.formui import layout class IndexForm(layout.FormLayoutSupport, form.EditForm): pass Thanks, Kevin I am

[Zope3-Users] z3c.formjs in a viewlet

2008-02-07 Thread kevin gill
should I work around this problem? - I can mark the view in advance - I can render the subscriptions in the viewlet and thus have javascript in the body of the html result - I can give up and put the form in an IFrame Any suggestions? Thanks Kevin

[Zope3-Users] Help configuring multiple forms in a viewlet

2008-02-12 Thread kevin gill
similar. That has a more structured mechanism for moving between forms that my example does. Is that they best approach? Thanks, Kevin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Dynamic interfaces ?

2008-03-13 Thread Kevin Teague
The userschema package works in ways similar to what you are describing, and demonstrates how to instantiate new interfaces: http://agendaless.com/Members/tseaver/software/userschema/ ___ Zope3-users mailing list Zope3-users@zope.org

Re: [Zope3-Users] Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-03-28 Thread Kevin Teague
Nabble provides a web forum bridge to the mailing lists. I use both the mailing list and the forums, depending on which forum/computer I'm using at the time. Here are the links: http://www.nabble.com/Zope-f6706.html http://www.nabble.com/Grok-f28342.html We've also embedded the Grok-Nabble

[Zope3-Users] How do I automatically login a user

2008-04-01 Thread kevin gill
During my registration process I want to automatically login the user (in Zope3). I can see how to programatically logout a user using ILogout().logout(request), but I don't see an equivalent for logging in. I intend to use session cookies for tracking users. Thanks Kevin

Re: [Zope3-Users] How do I automatically login a user

2008-04-02 Thread kevin gill
Please check in the code to the sandbox and I will have a look at it. The coding looks straight-forward, but choosing how to work it into the existing components. I will look at the code and come back with questions. Thanks Kevin On Apr 1, 2008, at 12:33 PM, kevin gill wrote: During my

Re: [Zope3-Users] How do I automatically login a user

2008-04-03 Thread kevin gill
Thanks for that Jim, The code does what I want. I will have a good look at it and respond on zope-dev on Tuesday (I only work Tuesday, Wedensdays and Thurday). Thanks Kevin Let's move this discussion to zope-dev. On Apr 2, 2008, at 5:36 AM, kevin gill wrote: Please check in the code

[Zope3-Users] How do I set up layers for functional testing

2008-04-22 Thread kevin gill
to? :-) Thanks, Kevin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Fwd: Re: [Zope3-Users] How do I set up layers for functional testing]

2008-04-23 Thread kevin gill
Thanks for the pointer, Stephen. I have changed the tests from using TestRequest to using etestbrowser. I also found that I was doing unit test things (placefulSetup) in my functional tests (which cleared down the configurations setup via ZCML). Thanks, Kevin On Tuesday 22 April 2008, kevin

[Zope3-Users] How can I find all Local Registries (Sites)

2008-05-06 Thread kevin gill
the IDatabaseOpenedEvent and opening the database and getting the Application object and the root local registry. However, the local utilities I instantiate believe that they are in the global Registry. There is also a problem deleting a site which registered itself with a parent. Thanks Kevin

[Zope3-Users] ISession = cache problems - is this a bug?

2008-05-21 Thread kevin gill
is incorrect? Thanks Kevin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Best Practices - Zopeproject Deployment

2008-05-26 Thread Kevin Teague
So, I am now thinking that I will have to have instructions in my installation instructions that tell developers to edit the 'eggs-directory' line; correct? Also they will need to install buildout (or zopeproject) and create a project space before doing the checkout? You can avoid storing

[Zope3-Users] Grant Permission to a Group

2008-07-01 Thread kevin gill
includeOverrides but that just gave a duplication error. I tried registering a new adapter, but the original adapter was always used. Thanks Kevin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Zope 3 security model

2008-07-02 Thread kevin gill
own listings. That information is stored on the relational database. I use a PrincipalRoleMap to map owners to objects. In my environment the 'owner' has less privileges than administrators so it is a bit different for the standard Zope concept of an owner. Regards, Kevin

[Zope3-Users] Help: I cannot login after installing z3c.formjs

2008-07-15 Thread kevin gill
z3c.formjs.jsclientevent.caughtEvents. These cannot be pickled. I tried both the PersisentSessionDataContainer and the RamSessionData Container. Does anyone have suggestions on how I might proceed with this? Thanks, Kevin This is the tail of the exception 2008-07-15T15:31:38 ERROR SiteError rm.commit(self

Re: [Zope3-Users] Help: I cannot login after installing z3c.formjs

2008-07-17 Thread kevin gill
with these changes. I will be interested in seeing where you are going with formjs. I am really using it to get the AjaxRequestHandler at the moment. Thanks Kevin - Paul On Tue, Jul 15, 2008 at 7:51 AM, kevin gill [EMAIL PROTECTED] wrote: Hi, I am integrating z3c.formjs to a new site

[Zope3-Users] z3c.selectWidget terms without vocabulary

2008-09-30 Thread kevin gill
the code that it looks up a registered adapter, but I don't understand how to control this on a view instance basis. Thanks Kevin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] z3c.selectWidget terms without vocabulary

2008-09-30 Thread kevin gill
and the schema field: zope.component.adapts( zope.interface.Interface, z3c.form.interface.IFormLayer, ViewClass, LocalChoice, z3c.form.interfaces.IWidget) 3. Put in the zcml adapter ... And it is picked up fine. Thanks Kevin I want

Re: [Zope3-Users] Zope3 and SQLAlchemy

2008-11-18 Thread kevin gill
are going with SQL database only, have a look at lovey.zetup. This provides a ZODB'less mechanims for building your site. I hope this helps, Kevin Hi, I currently have to integrate an SQL database (PostgreSQL, with PostGIS extensions) into my Zope3 application. I'd like to use SQLAlchemy to handle

[Zope3-Users] Need help with an urgent problem

2009-01-07 Thread kevin gill
Hi, I am having a problem on my live site. The problem is todo with a DataBase connector object which ends up in an incorrect state: This is the important part of the traceback. File /home/kevin/src/castingzone.tables/castingzone/tables/person/extraaccount_db.py, line 460, in IsValidUser

Re: [Zope3-Users] Need help with an urgent problem

2009-01-08 Thread kevin gill
On Wed, Jan 07, 2009 at 01:28:24PM -, kevin gill wrote: I am having a problem on my live site. The problem is todo with a DataBase connector object which ends up in an incorrect state: This is the important part of the traceback. File /home/kevin/src/castingzone.tables/castingzone

Re: [Zope3-Users] Need help with a Five / Viewlet Configuration Problem

2009-02-24 Thread kevin gill
It turned out that the problem was the viewlet manager. It was using the zope.viewlet.manager instead of the Five.viewlet.manager baseclasses. Once I changed the viewlet manager it worked fine. Kevin I am getting a ForbiddenAttribute error on 'render' when I try to display a viewlet in my

[Zope3-Users] Annotations when creating a Principal

2007-05-09 Thread Kevin Gill (Newaddress)
? Would it be easier to replace the InternalPrincipal with a content object which contains my new data? If I do that can I access that data via the standard principal machinery? Thanks in advance Kevin Gill

[Zope3-Users] RE: Annotations when creating a Principal

2007-05-10 Thread Kevin Gill (Newaddress)
Further to my last email, it appears that my error is using the FoundPrincipalFactory. I changed the code to use the getPrincipal method of the PAU and it works fine. pau = getUtility(IAuthentication) principal = pau.getPrincipal(principal_id) Thanks Kevin I am following