Re: [Zope3-Users] searching and relations

2006-07-21 Thread Pete Taylor
Lorenzo, I've run into a very (very!) similar situation, and ended up writing some wrapper/simplification utilities for zc.relationship. zc.relationship is wonderfully powerful, but a bit complex. It's use is intuitive once you wade through the 2000+ lines of documentation (which is worthwhile re

Re: [Zope3-Users] zodb data recovery

2006-07-18 Thread Pete Taylor
Jonathan, Thanks for the input... is there somewhere you can point me that I can read about how to do that myself? Thanks! On 7/18/06, Jonathan <[EMAIL PROTECTED]> wrote: - Original Message - From: "Pete Taylor" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 18

[Zope3-Users] zodb data recovery

2006-07-18 Thread Pete Taylor
Thinking about the ZODB and data recovery... Let's say I have two or three sites all running off the same Data.fs (through ZEO or otherwise). Doing nightly backups, being good sysadmins, etc. Now I get a call from a user who says "I don't know what happened to the content, but it was there thre

Re: [Zope3-Users] Getting params in a request

2006-07-12 Thread Pete Taylor
Stephane, do you mean how do you get the params out of the request when they post to your page? self.request.get('param1') should give you value1, if that's what you're getting at... On 7/12/06, Stéphane Brault <[EMAIL PROTECTED]> wrote: Hi, for my application I need to let another site redirec

Re: [Zope3-Users] IRelationshipMapper

2006-07-10 Thread Pete Taylor
Alek, That may be the case, though looking at schooltool.relationships, it does manage a few kinds of specific relationships, but it's not as generic as I was proposing... the schooltool relationships module is specifically geared toward that application space, not a more generalized solution.

[Zope3-Users] IRelationshipMapper

2006-07-07 Thread Pete Taylor
Hi all, The other day I had an interesting idea for managing complex inter-object relationships in Zope3 in a way I haven't seen done before. I threw a blog up about it so I wouldn't forget it when the idea struck me (things I don't write down, I tend to forget, no matter how seeming important at

[Zope3-Users] browser view and ajax

2006-06-18 Thread Pete Taylor
Hi all, While I am not, by and large, a proponent of AJAX for all situations, I have recently encountered a scenario that I believe merits it's usage. In order to make this work smoothly, and degrade gracefully, I have built a set of form.Form's and page.Pages to capture and display the data I wa

Re: [Zope3-Users] request.principal and render/update

2006-06-01 Thread Pete Taylor
, to get back a principal with my own, extra attributes. as far as the "login/password" fields issue, I'm pretty sure Florian submitted a fix for that back to svn a while back as well. Thanks for the answer though! On 6/1/06, Stephan Richter <[EMAIL PROTECTED]> wrote: On We

Re: FW: [Zope3-Users] Generating loginForm with formlib

2006-04-25 Thread Pete Taylor
good call... i like that solution much better. ;) On 4/20/06, Florian Lindner <[EMAIL PROTECTED]> wrote: > Am Donnerstag, 20. April 2006 15:49 schrieb Pete Taylor: > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > &g

Re: [Zope3-Users] zql

2006-04-23 Thread Pete Taylor
do still get most of the > good stuff in Zope if you do this and it's a lot less work. > > On Apr 23, 2006, at 3:25 PM, Pete Taylor wrote: > > > hmm again ;) > > > >> In reality you don't want to search inside a RDBMS for unindexed data > >>

Re: [Zope3-Users] zql

2006-04-23 Thread Pete Taylor
hmm again ;) > In reality you don't want to search inside a RDBMS for unindexed data > for performance reasons. This is even more true for Zope since you have to > read all data of the ZODB..this will be totally inefficient especially > for large installations. you're absolutely right that you do

[Zope3-Users] Re: zql

2006-04-23 Thread Pete Taylor
that would be excellent... a straight OQL implementation for the zodb would be fantastic. i agree with you entirely. +1 to the thought. On 4/23/06, Rocky Burt <[EMAIL PROTECTED]> wrote: > > > On Fri, 2006-21-04 at 11:03 -0400, Pete Taylor wrote: > > i'm going to call

Re: [Zope3-Users] zql

2006-04-23 Thread Pete Taylor
ck on my own idea though... if there are other ways of accessing data in the zodb that don't require extensive knowledge of python, then i'm all for knowing about them and teaching my technical dept. how to use them... thanks! Pete On 4/23/06, Andreas Jung <[EMAIL PROTECTED]> wro

[Zope3-Users] zql

2006-04-23 Thread Pete Taylor
Hi all, I was thinking about this the other night, and thought i'd try to put my thoughts into some kind of order, and then ask the questions I came up with. I was thinking about the fact that i don't know of a meaningful query language to use with the zodb. i know hurry.query is excellent agains

Re: FW: [Zope3-Users] Generating loginForm with formlib

2006-04-20 Thread Pete Taylor
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Florian Lindner > Sent: Thursday, April 20, 2006 9:39 AM > To: zope3-users@zope.org > Subject: [Zope3-Users] Generating loginForm with formlib > > Hello, > I want to generate a login form for the PAU ses

Re: FW: Re : Re : [Zope3-Users] formlib problem

2006-04-19 Thread Pete Taylor
Stéphane, i'm working on what sounds to be a pretty much identical issue currently... i'm attempting to use formlib and jsonserver. i've been throwing around a number of possible solutions, but none that i'm comfortable with so far. i agree, i don't know how to access my form.Form class programm

Re: [Zope3-Users] url traversal and jsonserver

2006-04-18 Thread Pete Taylor
On 4/18/06, Jim Washington <[EMAIL PROTECTED]> wrote: > Pete Taylor wrote: > > hi all, > > i've been looking at jsonserver recently, and am very impressed. > > however, my question doesn't really involve jsonserver functionality, > > so much as it does a

[Zope3-Users] url traversal and jsonserver

2006-04-18 Thread Pete Taylor
hi all, i've been looking at jsonserver recently, and am very impressed. however, my question doesn't really involve jsonserver functionality, so much as it does a bit of url traversal indirection. i have a simple "dashboard" like approach to a particular user interface design, where most of the

Re: FW: [Zope3-Users] maybe a bug in formlib?

2006-04-12 Thread Pete Taylor
I noticed the same the other day don't remember if i said anything in IRC about it or not, but i meant to. looks like a bug to me, but i am not (as those who've put up with my PAU confusion can attest) an expert :) > Hi list, > > I'm trying to use formlib and while looking at the source code

[Zope3-Users] request.principal and render/update

2006-04-12 Thread Pete Taylor
Hi all... here goes "yet another PAU email", after a fashion. it's really more a question of design, and "am i thinking about this correctly" than anything else. what follows is wordy and potentially too specific to my own implementation to be reasonably troubleshootable, so feel free to ignore.

Re: [Zope3-Users] RE: principal folder subclassing

2006-04-12 Thread Pete Taylor
wn (flawed) design ;) On 4/12/06, Stephan Richter <[EMAIL PROTECTED]> wrote: > On Tuesday 11 April 2006 04:07, Pete Taylor wrote: > > if you create your own principal info like i did for these principals, > > you have to make sure you don't set title or description

[Zope3-Users] RE: principal folder subclassing

2006-04-11 Thread Pete Taylor
thought i'd answer my own question. i apologize, one of those "i'm going to bed so of course my brain figures it out" moments happen, making me get up to write more code. if you create your own principal info like i did for these principals, you have to make sure you don't set title or descriptio

[Zope3-Users] principal folder subclassing

2006-04-11 Thread Pete Taylor
hi all... i have a question about principalfolder derivatives. weirdest thing keeps happening... I have a class that i derived from zope.app.authentication.principalfolder.PrincipalFolder. I've added it to my PAU, even created principals in it without trouble. but i've been trying (and failing

Re: [Zope3-Users] request ?param=val

2006-04-09 Thread Pete Taylor
ne page > template from another. So a link in page 1: > > Next > > could be used in page2.html like this: > > Request ID = > > Just check that that works. > > HTH > > Cliff > > Pete Taylor wrote: > > Hi all, > > I must just be overlooking

Re: [Zope3-Users] request ?param=val

2006-04-08 Thread Pete Taylor
Dorn <[EMAIL PROTECTED]> wrote: > > > > On 08.04.2006, at 10:26, Pete Taylor wrote: > > > Hi all, > > I must just be overlooking something, but i'm running into a > > problem... (could be that it's 4:00a on a saturday morning, and i'm > >

[Zope3-Users] request ?param=val

2006-04-08 Thread Pete Taylor
Hi all, I must just be overlooking something, but i'm running into a problem... (could be that it's 4:00a on a saturday morning, and i'm writing code for work. that alone might be my problem ;) ). I have a url like the following: http://localhost:8080/MyObject/activate.html?id= the troub

[Zope3-Users] embedding a form in a viewlet

2006-04-07 Thread Pete Taylor
based on help that Stephan, Gary, and Alen were able to give me, I managed to embed a form in a viewlet to edit child objects of the current context, on the same page. I threw out some documentation on what I did and how I got there just in case anyone else runs into the same issue. http://baldtr

Re: [Zope3-Users] formlib confusion

2006-04-06 Thread Pete Taylor
ah, hah! that would be why no matter what i do to the template, it doesn't change anything. I guess, since "viewlet" takes a template argument in zcml, i assumed it was using it. thanks, as always, Gary. On 4/6/06, Gary Poster <[EMAIL PROTECTED]> wrote: > > On Apr 6, 2006, at 7:27 PM, Alen Stan

[Zope3-Users] formlib confusion

2006-04-06 Thread Pete Taylor
hi all... i've recently tried to start moving away from zope.app.form.browser.editview's EditView, and to zope.formlib.form's Form and EditForm, but have run into something that confuses me. i'm setting up the zcml for both of them basically the same way, using browser:page and assigning a templa

Re: FW: [Zope3-Users] zalchemy alpha svn repository

2006-04-06 Thread Pete Taylor
just wanted to say thanks to Jurgen for getting this set up... :) > Hi all. > > As promised I set up a repository with my SQLAlchemy integration work. > > Actually it works under my test cases. > > The main part is the integration of the transaction process into zope so > that it is transparent

Re: FW: [Zope3-Users] ZODB storage ways

2006-04-04 Thread Pete Taylor
using it in Z3. I was curious how people have > been dealing with transactions with some hope that something could be > formalized with SQLAlchemy in a package. I am happy Jurgen is setting up > something in SVN. SQLAlchemy is a very solid ORM and provides some > excellent fun

Re: FW: [Zope3-Users] ZODB storage ways

2006-04-04 Thread Pete Taylor
have been looking at SQLAlchemy for Zope3. Can you advise how > you are using this with zope's transactions. It seems that there are > some folks using SQLAlchemy with Zope3 for sure. I am hoping to see a > few things formalized somewhere or some work on assembling a small > pac

Re: FW: [Zope3-Users] ZODB storage ways

2006-04-03 Thread Pete Taylor
now the zodb will be committing, it's been pretty seamless so far, for my experience. i admit, tables i'm using are not complex, nor are the objects that are tied to them, so your mileage may vary... On 4/3/06, Pete Taylor <[EMAIL PROTECTED]> wrote: > > > -Original M

Re: [Zope3-Users] container protectName

2006-03-30 Thread Pete Taylor
i have both stephan and phillip's books... but they're on loan to friends i'm trying to convert to zope ;) thanks again! On 3/30/06, Michael Howitz <[EMAIL PROTECTED]> wrote: > Am Mittwoch, den 29.03.2006, 12:22 -0500 schrieb Pete Taylor: > > That worked

Re: [Zope3-Users] container protectName

2006-03-29 Thread Pete Taylor
lication server startup somewhere that I can read through to have a better idea of how that works? I hate sending questions to the list if I could have just read it myself somewhere. On 3/29/06, Michael Howitz <[EMAIL PROTECTED]> wrote: > Am Mittwoch, den 29.03.2006, 01:56 -0500 schrieb Pete

[Zope3-Users] container protectName

2006-03-28 Thread Pete Taylor
Hi all (yet again ;) ), I ran into this issue on a project I worked on before, but I ended up changing the design before it became a significant issue. this time around, i don't see a way by it. i have a class that derives from Folder (or BTreeContainer, it doesn't really matter for this). in c

Re: [Zope3-Users] pau scenario

2006-03-28 Thread Pete Taylor
wrote: > > On Mar 28, 2006, at 10:43 AM, Pete Taylor wrote: > > > Hi all, > > I've been off working on some other projects recently (zope3 projects, > > but none that involved specific logins and users, just data capture > > from a public site), and just got ba

[Zope3-Users] pau scenario

2006-03-28 Thread Pete Taylor
Hi all, I've been off working on some other projects recently (zope3 projects, but none that involved specific logins and users, just data capture from a public site), and just got back to working with PAU, and had an interesting scenario presented to me. I'm trying to sell a co-developer on zope3

Re: [Zope3-Users] zodb and object updating

2006-03-17 Thread Pete Taylor
t; wrote: > > Isn't this what the "generations" code is for? > > > > cheers, > > > > Chris > > > > Pete Taylor wrote: > > > Hi all, > > > I've run into an interesting issue. I've been building an application > &

[Zope3-Users] zodb and object updating

2006-03-17 Thread Pete Taylor
Hi all, I've run into an interesting issue. I've been building an application in zope3 over the last few months to meet a business need where I work. Basically just capturing a lot of data about prospective insurance agencies, creating applications for them, pdfing them (reportlab rocks), and ema

[Zope3-Users] RE: Zope3 Developers Handbook

2006-02-14 Thread Pete Taylor
Stuart, I apologize, but I haven't had time to look at workflow to see what breaks with 3.2... afaik, 3.1 worked, inasmuch as the tests worked and I didn't have any problems installing/using it... just out of curiosity, do you have a process definition already defined before you attempt to create

[Zope3-Users] Re: ZCML, practicality, purity (was "Excellent perspective...")

2005-12-22 Thread Pete Taylor
*ping* for interest in elaboration on the code you have in mind... >Are you sure ZCML is The Right Way? I know its purpose (since I helped >invent Zope 3): to combine configurations by multiple developers without >imposing a particular workflow. However, I maintain that Python code could >do the

[Zope3-Users] fieldindex

2005-10-28 Thread Pete Taylor
hi all, I have a catalog set up, and i've been able to make text field work on zmi-added content. however, what i really want to be able to index and search is a set of objects that are created and archived elsewhere. I've tried to add a field index with the interface set to the interface that my

[Zope3-Users] Re: apache

2005-10-27 Thread Pete Taylor
just as a followup, Benji helped me fix the rewrite issue I was having before. If anyone else comes across the same issue, a workaround is to do the following: ServerAdmin [EMAIL PROTECTED] ErrorLog logs/fcwkstn.thig.com-error_log CustomLog logs/fcwkstn.thig.com-access_log common

[Zope3-Users] apache

2005-10-26 Thread Pete Taylor
twice in a day... i'm on some kind of roll ;) put zope3.1 behind apache for the first time, and i'm running into some behavior i didn't expect. nothing configured as a browser:resource is coming through. not zope's own css, js, or images, not my own application's css and images... the html gen

Re: [Zope3-Users] catalog woes

2005-10-26 Thread Pete Taylor
Tom, thank you sir!  I'll get on that immediately.On 10/26/05, Tom Dossis <[EMAIL PROTECTED]> wrote: Pete Taylor wrote:> Hi all, on a fresh install of zope3.1final, and then again when> running from the latest update out of the Trunk, I end up with the> following when I a

[Zope3-Users] catalog woes

2005-10-26 Thread Pete Taylor
Hi all, on a fresh install of zope3.1final, and then again when running from the latest update out of the Trunk, I end up with the following when I attempt to register a catalog: ComponentLookupError: (, '') the relevant portion of the traceback is: Module zope.tales.tales, line 695, in evaluat

[Zope3-Users] Re: event subscribers

2005-10-05 Thread Pete Taylor
but I don't think I understand the event dispatch machinery well enough yet to know if it's within my grasp.  a review of IObjectEvent is in order for me ;) Thanks much! PeteOn 10/5/05, Florent Guillaume <[EMAIL PROTECTED]> wrote: Pete Taylor wrote:> hi all... question for any ev

[Zope3-Users] Re: Re: event subscribers

2005-10-05 Thread Pete Taylor
>Normallym event subscribers are single-object adapters.  In some cases, >we have subscrobers that redispatch on multiple objects.  For example, >object events have a subscriber that redispatches events based on the >object and event.  You expect something similar to be going on for workflow >event

[Zope3-Users] event subscribers

2005-10-04 Thread Pete Taylor
hi all...  question for any event subscriber gurus (or just anyone who knows more than me, which probably won't take much ;) ) i have a set of actions that i would like to have trigger off of a particular state in a workflow.  in my unittest i can see that the workflow fires the event, but my subs

[Zope3-Users] Authentication question

2005-08-31 Thread Pete Taylor
hat it's only checking local registry, but I don't know how to push it along to check the next IAuthentication implementation available. I may, also, be going about this the wrong way.  Any thoughts? Pete Taylor THIG Systems (desk) 352.333.1722 (cell) 352.359.0073 CONFIDE