[Zope3-Users] My Javascript resources aren't loading in Firefox

2005-06-27 Thread Jeff Shell
. But this is just... very vexing. Thanks -- Jeff Shell http://griddlenoise.blogspot.com/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Sending object modified event on FTP upload - best practice?

2005-07-28 Thread Jeff Shell
On 7/28/05, Jim Fulton [EMAIL PROTECTED] wrote: Jeff Shell wrote: In looking at how FTP support is written in zope.app.ftp, I notice that ObjectCreatedEvent notifications are sent off when new objects are created. But when zope.app.ftp.FTPView._overwrite(...) is used to write

Re: [Zope3-Users] User data / metadata

2005-09-28 Thread Jeff Shell
On 9/28/05, James Allwyn [EMAIL PROTECTED] wrote: Hello list, A small 'conceptual' question... Both Stephan and Philipp's books recommend using principal metadata to store users' email addresses etc. If I intend to use the email addresses (and other contact information I want to store for

[Zope3-Users] Denying permissions for 'everybody' - which principals to use?

2005-11-16 Thread Jeff Shell
For a simple content management system we're building, I've started working on a simple security interface which is supposed to enable / disable 'view' (and dublin core view). The setup that I have - or want to have - is a UI that says: Who can see this item? - Everybody - Nobody (grants view to

[Zope3-Users] Generations - a missed use case? (Evolving an application for the first time)

2005-11-18 Thread Jeff Shell
I have an application where I'm trying to use 'zope.app.generations' for the first time. And after much pulling of hair and looking at the core code, I found what may be a missed scenario. Basically, we deployed this application for a customer and now they want some changes. It changes the schema

[Zope3-Users] Re: Denying permissions for 'everybody' - which principals to use?

2005-12-02 Thread Jeff Shell
challenge box is canceled out of. On 11/16/05, Jeff Shell [EMAIL PROTECTED] wrote: For a simple content management system we're building, I've started working on a simple security interface which is supposed to enable / disable 'view' (and dublin core view). The setup that I have - or want

Re: [Zope3-Users] Catalog for newbies

2005-12-06 Thread Jeff Shell
On 12/6/05, Frank Burkhardt [EMAIL PROTECTED] wrote: Hi, after adding a Unique Id utility, Catalog and some field + text indices I successfully added documents which seem to be added to the catalog (as shown in the catalog's Advanced-tab). However I've got two question now: 1. How do I

[Zope3-Users] Re: [Zope3-dev] URGENT RFC: Is anyone using response.write in Zope 3?

2005-12-19 Thread Jeff Shell
I was using it in some custom views for HurryFile based images. I've removed it since I started testing our code against Zope 3.2. Right now I just return the hurryfile binary data with a return statement (one big chunk), but am looking forward to knowing how to return long output. On 12/19/05,

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

2005-12-22 Thread Jeff Shell
are. But it's still pretty poor at explaining what is really going on behind the scenes. That may be more advanced documentation for some cases - but it could cut down on some users frustration and surprises. OK. This has been long and rambling. I blame the christmas lunch cocktails. :) -- Jeff

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

2005-12-23 Thread Jeff Shell
On 12/23/05, Shane Hathaway [EMAIL PROTECTED] wrote: Jeff Shell wrote: I just believe - heavily - after many of my Zope 2 experiences that configuration as done by ZCML should be as separate from the code itself as possible. If it's going to be in the same programming language, it needs

[Zope3-Users] Specialized URL traversal.. Best way?

2005-12-29 Thread Jeff Shell
This week I've been revisiting some of my early Zope 3 ideas in a small new application we plan to use internally. One of the core concepts of this system is 'tagging', similar to del.icio.us, flickr, snippets, etc. Old versions that I wrote managed tags manually, with a 'taglib' object and tags

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jeff Shell
On 12/30/05, Florian Lindner [EMAIL PROTECTED] wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: So, what you want is not a list of classes but a list of factories that can create IContainers. This is possible by using

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jeff Shell
Oops. It didn't seem to provide the code. Ahhh, GMail. Not even you can convince me that web based mail is going to replace real clients... And if there are multiple copies of this message, I apologize. from zope.interface import Interface, implements from zope.app import zapi from zope.event

Re: [Zope3-Users] Container Constraints

2005-12-31 Thread Jeff Shell
First - you can use ``from zope.app.container.constraints import contains``. It's a bit easier to write. Anyways, in Python you can't reference the class you're in because that name, 'ILinkContainer' does not exist **until the end of the class statement** (after all of the things indented within

Re: [Zope3-Users] How come no IView?

2006-01-01 Thread Jeff Shell
Thanks Chris, that actually does make things clearer. As a Z3 beginner, longtime Z2 user (ZPTs, scripts, ZSQL), and corporate developer who is trying to promote Z3 in-house, I am all for the current trend toward simplification, especially of ZCML

Viewlets (was Re: [Zope3-Users] using tal to insert zwiki content)

2006-01-05 Thread Jeff Shell
On 1/4/06, Benji York [EMAIL PROTECTED] wrote: Jeff Shell wrote: Viewlets are a new feature in Zope 3.2. They are? I don't recall it being so (and would prefer it not). Why not? They're great! I've been using them in a new application I've been developing against the 3.2 betas. I try

Re: [Zope3-Users] Permission required for renaming?

2006-01-05 Thread Jeff Shell
One option that you have is to protect the View object that you use to do the renaming, unless you're using views that are provided by someone/something else (the default Zope UI, etc). You can protect your 'rename' view and inside of it use 'zope.security.proxy.removeSecurityProxy' to get access

Re: [Zope3-Users] Access attributes of content object from view

2006-01-07 Thread Jeff Shell
Try using ``len(self.context)``. The container will report its size. For a BTreeContainer, methods like ``values`` return OOBTreeItems, not a regular Python list. That's where the error is happening. You can get to the values of the OOBTreeItems object, but not its length. But the container itself

Re: [Zope3-Users] Tagging content

2006-01-08 Thread Jeff Shell
right now Has anyone done that before? Maybe I'm just reinventing the wheel... Thanks in advance, Igor ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users -- -- Jeff Shell

Re: [Zope3-Users] Importing Lots of Objects

2006-01-08 Thread Jeff Shell
On 1/8/06, David Johnson [EMAIL PROTECTED] wrote: What is the best for merchants to manage the product list and content of their site? I can certainly put in into an RDBMS, but what would be the easiest way for them to manage their offering? Should I create a portal site for them or should I

Re: [Zope3-Users] Re: Please Guido, pick me, pick me!

2006-02-03 Thread Jeff Shell
tenfold. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] How To Solve in Zope 3

2006-02-03 Thread Jeff Shell
On 2/3/06, Gary Poster [EMAIL PROTECTED] wrote: On Feb 3, 2006, at 9:32 PM, matt wilbert wrote: I have exactly the same situation, as I am writing a network management tool. I am using one big container and a local catalog. Then you can slice and dice as best suits you. I also think it

Re: [Zope3-Users] What attributes are made persistent

2006-02-14 Thread Jeff Shell
On 2/14/06, Peter Bengtsson [EMAIL PROTECTED] wrote: D'oh! That's confusing. Isn't there a class that gathers all of these in one. It seems confusing, you derive from Persistent but only some are accepted. Does that mean that there's PersistentFloat and PersistentTuple too? If not, why *only*

Re: [Zope3-Users] What attributes are made persistent

2006-02-14 Thread Jeff Shell
Oh! And reference to related Persistence modules (persistent mappings, lists, BTrees): http://www.zope.org/Wikis/ZODB/FrontPage/guide/node6.html On 2/14/06, Jeff Shell [EMAIL PROTECTED] wrote: On 2/14/06, Peter Bengtsson [EMAIL PROTECTED] wrote: D'oh! That's confusing. Isn't there a class

Re: [Zope3-Users] browser:form

2006-02-21 Thread Jeff Shell
take a little bit of time to read and understand all of the options available, but it's well worth it as I've found zope.formlib to be a wonderfully solid foundation to build on. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http

Re: [Zope3-Users] browser:form

2006-02-21 Thread Jeff Shell
. That would be a good thing. However, I personally feel there are other options that could be explored.. They may not exist yet :), but I've got thoughts brewing. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman

Re: [Zope3-Users] Re: browser:form

2006-02-23 Thread Jeff Shell
On 2/22/06, suresh [EMAIL PROTECTED] wrote: Jeff Shell wrote: On 2/21/06, David Johnson [EMAIL PROTECTED] wrote: With formlib, you'd be able to get/set this in the update() method, or if you're clever, you can do it in publishTraverse so you can have url like '.../mycontacts/contact/1234

[Zope3-Users] Visionaire! (All your problems, solved)

2006-03-01 Thread Jeff Shell
2 and similar caliber desires for a Big App Server while not interfering with the more pure and simple concepts that makes Zope 3 appealing for developers like me. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] PyWebOff

2006-03-20 Thread Jeff Shell
schema=.ILoan permission=zope.ManageContent menu=zmi_views title=Edit name=edit / /configure ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users -- Jeff Shell

Re: [Zope3-Users] editform onSuccess-method

2006-03-29 Thread Jeff Shell
, and a subclass would just need to provide onSuccess and the form_fields. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Other SQLAlchemy thoughts, Zope transaction manager, etc...

2006-04-06 Thread Jeff Shell
graph writing and the actual 'commit' command for the storage are more obviously separated and usable for API's like Zope's. Martin -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Security Roles and custom authenticators and scarcely-persistent apps (HELP!)

2006-04-27 Thread Jeff Shell
On 4/26/06, Bernd Dorn [EMAIL PROTECTED] wrote: On 27.04.2006, at 02:44, Jeff Shell wrote: So I spent the day writing an IAuthenticator utility that loads principals out of an RDBMS (via a SQLAlchemy mapper based model). I got that working. All I want right now is to have my site

Re: Re: [Zope3-Users] Re: zalchemy integration

2006-08-14 Thread Jeff Shell
` method. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: Re: [Zope3-Users] So you've just downloaded Zope 3.3....

2006-09-28 Thread Jeff Shell
On 9/28/06, Jim Fulton [EMAIL PROTECTED] wrote: Jeff Shell wrote: ... now what? I just tried moving some work over to Zope 3.3. Already things are blowing up. What do you mean by blowing up? We certainly tried to make 3.3 backward compatible. Jim One blow-up instance was on something

[Zope3-Users] Re: Re: So you've just downloaded Zope 3.3....

2006-09-29 Thread Jeff Shell
On 9/28/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Jeff Shell wrote: One blow-up instance was on something that was marked deprecated (a vocabulary that used `zope.app.utility.vocabulary.UtilityVocabulary` as its factory). How? can you provide a traceback? Like Jim said, we tried

[Zope3-Users] Using buildout for Zope 3 development instances (not developing Zope 3, but for developing against it)?

2006-10-12 Thread Jeff Shell
-- develop in an instance home built on a zope 3 release -- working smoothly while automating all of the dependencies and site.zcml/configure bits. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Links / Relationships (again)

2006-10-16 Thread Jeff Shell
beyond the scope of my current project, but is something I'd like to get back to. I see there's a `zc.extrinsicreference` in the svn.zope.org repository. Is that in a usable state? Thanks, Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http

Re: Re: [Zope3-Users] z3c.zrtresource or zc.resourcelibrary

2006-10-31 Thread Jeff Shell
, that is) -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: Re: [Zope3-Users] z3c.zrtresource or zc.resourcelibrary

2006-11-01 Thread Jeff Shell
collection of mochikit, dojo, et al). Ah, the real reason for my response here: how does one use third party WSGI Middleware with Zope? zope.paste, maybe (http://svn.zope.org/zope.paste/)? I think that's what Jim Washington has used. Ahh, thanks, I'll take a look. -- Jeff Shell

Re: [Zope3-Users] Using zope.component outside Zope 3-how to bootstrap the registries

2007-02-16 Thread Jeff Shell
the Simplify Component Architecture proposal which got rid of extraneous bits like Services, and as such may be a bit easier to work with. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Unicode for Stupid Americans (like me)?

2007-02-28 Thread Jeff Shell
so seemingly basic like strings/text. It may be a lot of technical debt, or it may be extremely easy to pay down. In any case, it's time to pay it down. :) Thanks, -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] Re: Unicode for Stupid Americans (like me)?

2007-02-28 Thread Jeff Shell
On 2/28/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Jeff Shell wrote: - Not have any encode / decode errors. 'ascii codec doesn't recognize character ... at position ...'. I don't want to keep on bullying through whenever this pops up. You can't just simply do str(some_unicode

Re: [Zope3-Users] Re: Using svn checkout with zc packages

2007-07-30 Thread Jeff Shell
just don't have. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Cheeseshop very flakey today

2007-08-02 Thread Jeff Shell
by watching it run on z3c.formdemo. But, alas, it's been very flakey. How common is this problem? -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Ahh, counters... Best practice?

2007-08-14 Thread Jeff Shell
understand the implications of '_p_independent', and some quick glancing around the web makes it appear as though you wouldn't want to count on a Length object for business logic). Would an annotation or tiny sub-object with two fields, the int and float, be enough? Thanks, Jeff Shell

[Zope3-Users] Eggs, workingenv.py, and 'classic' instance homes

2007-08-16 Thread Jeff Shell
, Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Eggs, workingenv.py, and 'classic' instance homes

2007-08-16 Thread Jeff Shell
, but it's been an uphill battle just to get this far. On Aug 16, 2007, at 11:29 AM, Benji York [EMAIL PROTECTED] wrote: Jeff Shell wrote: But now I'd like to be able to install that into classic zope 3.3 instance homes, trying to be as unobtrusive as possible. I don't know anything about

[Zope3-Users] Re: Eggs, workingenv.py, and 'classic' instance homes

2007-08-16 Thread Jeff Shell
Jeff Shell wrote: But now I'd like to be able to install that into classic zope 3.3 instance homes, trying to be as unobtrusive as possible. How have you installed other packages before? I suspect by just dumping their source in INSTANCE/lib/python. Any reason not to continue to do

Re: [Zope3-Users] Re: ObjectModifiedEvent but not ContainerModifiedEvent

2007-08-17 Thread Jeff Shell
On Aug 17, 2007, at 5:29 PM, Chris Withers [EMAIL PROTECTED] wrote: Martin Aspeli wrote: def handler(event): if IContainerModifiedEvent.providedBy(event): return ...which is pretty inefficient. All the subscriber lookup, etc, has to happen to get this far. There must be a

Re: [Zope3-Users] Kupu and Zope3

2007-08-20 Thread Jeff Shell
On Aug 20, 2007, at 3:45 AM, Jeremy Cook [EMAIL PROTECTED] wrote: Is anyone using Kupu (or any other visual editor) with zope3? I saw hints that it might be ported to zope3 or conversely that kupu must die. When I tried installing it under zope3 I didn't get awfully far. I tried and tried

Re: [Zope3-Users] Eggs and classic instance homes, again... (was Re: Eggs, workingenv.py, and 'classic' instance homes)

2007-11-07 Thread Jeff Shell
. As for optimism... We'll see. :) But this was the step I could never make work (getting a buildout-managed instance up and running) before running out of time. Thanks again. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

[Zope3-Users] Eggs and classic instance homes, again... (was Re: Eggs, workingenv.py, and 'classic' instance homes)

2007-11-07 Thread Jeff Shell
with the lists (which is obvious since I haven't read a thing for nearly three months). I'm going to resume my conversation here, responding to myself. August 16, 2007, Jeff Shell wrote: Jeff Shell wrote: But now I'd like to be able to install that into classic zope 3.3 instance homes

Re: [Zope3-Users] Eggs and classic instance homes, again... (was Re: Eggs, workingenv.py, and 'classic' instance homes)

2007-11-08 Thread Jeff Shell
perceive things. Things just look so different between the two. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Zope 3 w/ SQLAlchemy 0.4 (was Re: [Zope3-Users] Eggs and classic instance homes, again...)

2007-11-09 Thread Jeff Shell
On Nov 9, 2007 12:04 AM, Hermann Himmelbauer [EMAIL PROTECTED] wrote: Am Freitag, 9. November 2007 01:31 schrieb Jeff Shell: - zope.component 3.4.0 (or anything built into the zope 3.4 tarball) - sqlalchemy 0.4.0 - simplejson Btw., how do you integrate Zope3 with SQLAlchemy

Re: [Zope3-Users] buildout and egg depedencies

2007-12-11 Thread Jeff Shell
. There's just no time and the tools are just too hard to learn under the circumstances my little company is operating in right now. Buildout *seems* like it could fix some big problems that have been hitting us hard in recent weeks. But I still can't wrap my head around how. -- Jeff Shell

Re: [Zope3-Users] buildout and egg depedencies

2007-12-11 Thread Jeff Shell
, svn://svn.zope.org/repos/ main/zc.z3monitor/trunk. This buildouts out a working ZEO server and a minimal Zope 3 application that uses it. Others might be able to suggest better examples, Thanks, Jeff Shell ___ Zope3-users mailing list Zope3-users

Re: [Zope3-Users] Re: buildout and egg depedencies

2007-12-12 Thread Jeff Shell
time. Got a lot of pressure things the next couple of days :(. -- Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Buildout and the Data.fs

2008-01-22 Thread Jeff Shell
I'm trying to understand it better and polish it up. Thanks, Jeff Shell ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Zope on WSGI for Deployment - best to still use proxy behind apache? Good/bad servers?

2008-01-22 Thread Jeff Shell
it, but is it better to run through that than to go through mod_proxy? Or nginx? We had one new customer totally surprise us with their traffic/load (mostly solved, for now, due to some aggressive caching) and I'm interested in trying to find new setups. Thanks, Jeff Shell