[Zope3-Users] Meaning of a Single "+" in a URL?

2005-12-05 Thread Jeff Rush
I've got viewing of my component working and now adding works but I don't quite understand how it is working. I have the following URL, where 'ventures' is a container of mine. https://taupro.com/webaccountant/ventures/+/newventure.html I want to display the form necessary to add a new entry

[Zope3-Users] Confused re Fine Distinction btw a View and a Page

2005-12-07 Thread Jeff Rush
I'm trying to understand how a sequence of pages is handled, as one example the IAdding (+) view. I'm running into the TAL use of the terminology: @@standard_macros/page versus @@standard_macros/view Both of those have much of the Zope interface look, just that /page drops the tabbar

[Zope3-Users] Anyone doing an ORM for Zope3?

2005-12-07 Thread Jeff Rush
Just wondering if anyone is currently or planning to produce any kind of ORM for Zope 3? I'm representing some rows of SQL data as Zope 3 objects and find I need some kind of minimal layer. While I can issue SQL requests easily, in Zope3 when receiving, validating and storing an add/edit form

[Zope3-Users] Re: index.html

2005-12-09 Thread Jeff Rush
Adam Groszer wrote: I register a page with the following zcml: I can access it only through .../person01/@@index.html. What am I missing? What do I have to do to access it as .../person01/index.html? Now that's odd! Here I can use @@index.html or index.html, @@contents.html or content

[Zope3-Users] Re: What's the rationale of @@ ? Was: index.html

2005-12-13 Thread Jeff Rush
Frank Burkhardt wrote: On Tue, Dec 13, 2005 at 02:02:05PM +0100, Andreas Elvers wrote: what the rationale of @@ anyway ? I've searched for a definition for this in the Developer Handbook and elsewhere but it's hard to search for @@ and view. @@ marks a given path component explicitely as a v

[Zope3-Users] Re: URL Traversal/SelectedManagementView

2006-01-17 Thread Jeff Rush
David Johnson wrote: I want to create an instance of a class that does not reside in the Zope DB, and yet manage it through the ZMI. Yes, I'm working on that as well. That is what I have done so far. I created a package called “customers”, which has an instance in the Zope DB. It has a v

[Zope3-Users] Seeking Zope 3 Equivalent to Zope 2 "LocalFS"

2006-01-17 Thread Jeff Rush
In my Zope 3 application I need to expose an underlying directory tree via a portion of the URL space, to receive images via FTP and then to serve them via URL (along with some special upon-arrival processing I won't bore you with). Basically is there any portion of Zope 3 that already has this

[Zope3-Users] Re: Seeking Zope 3 Equivalent to Zope 2 "LocalFS"

2006-01-17 Thread Jeff Rush
Michael Haubenwallner wrote: Jeff Rush wrote: The Resource directive exposes a single file, say a .CSS or favicon.png, but I'm not seeing that it can expose an entire directory tree. > The browser:resourceDirectory works for me, here is eg. the 'configure.zcml' of a packa

[Zope3-Users] Re: Is Zope Zope2 or Zope3?

2006-01-21 Thread Jeff Rush
David Johnson wrote: This is unfortunate. I do think Zope 3 will get the recognition it deserves in time. I feel the Zope community is more focused on how it works than how it is marketed and this seems like the best long term approach. Actually I think Zope3 is in danger of being rendered ir

[Zope3-Users] Re: Zope 3 Capacities

2006-01-21 Thread Jeff Rush
David Johnson wrote: In general we’re looking at using an RDBMS, but we’re trying to > get a better feeling of when we can use the ZODB and when we > should stick to the RDBMS. We have various datasets: 1. Transactions: 10-100 billion objects 2. Users: 10-100 million objects 3. Cont

[Zope3-Users] Re: URL Traversal/SelectedManagementView

2006-01-21 Thread Jeff Rush
David Johnson wrote: Thanks for the help. I think I understand, however, I think I might be missing something. You specified that you would get a URL such as: http://www.taupro.com/venture/IBM/ledger/100 This looks good, but it seems that the object is not persistent, and a restart of th

[Zope3-Users] Re: Anybody has answers to this? Re: Beginner looking for help...

2006-01-21 Thread Jeff Rush
Lennart Regebro wrote: On 1/20/06, Roman Susi <[EMAIL PROTECTED]> wrote: - is there any "conception strategy" associated with Zope3 ? What is a "conception strategy"? Sounds like he wants a architectural direction document, some kind of document saying "we created Zope 3 for the following

[Zope3-Users] Seeking Reference Guide on TAL/TALES/METAL

2006-03-31 Thread Jeff Rush
I've been searching and haven't managed to find the definitive reference guide for the particular dialect of TAL/TALES/METAL that is bundled with Zope 3. There are various fragmentary and somewhat divergent documents around and little about how the particular TALES namespaces provided by Zope

[Zope3-Users] Re: Traversal Tricks (was Seeking Reference Guide on TAL/TALES/METAL)

2006-04-01 Thread Jeff Rush
Jeff Rush wrote: My specific question is how evaluation of the path expression "X/Z" is handled. It *seems* to be: X.__getitem__('Y')# X['Y'] whereas I'm trying to get: X.__getattr__('Y')# X.Y Under Zope 2, as I recall, it woul

[Zope3-Users] Re: Traversal Tricks (was Seeking Reference Guide on TAL/TALES/METAL)

2006-04-01 Thread Jeff Rush
Jeff Rush wrote: My specific question is how evaluation of the path expression "X/Z" is handled. It *seems* to be: X.__getitem__('Y')# X['Y'] whereas I'm trying to get: X.__getattr__('Y')# X.Y Under Zope 2, as I recall, it woul

Re: [Zope3-Users] Multiple containers in one object - how to implement in Zope3?

2006-04-01 Thread Jeff Rush
Alek Kowalczyk wrote: Florian Lindner napisał(a): Am Samstag, 1. April 2006 15:15 schrieb Alek Kowalczyk: I have a single object, which can contain many objects of 2 another types (IType1, IType2). My intention is to have those objects contained in separate collections (because they are very

[Zope3-Users] Re: Traversal Tricks (now Seeking Tutorial on Namespaces)

2006-04-05 Thread Jeff Rush
jürgen Kartnaller wrote: Jeff Rush wrote: I need control over which namespace is searched, so I added a couple of generic TALES namespace adapters. Now I can do: How about : to -only- search for a name attribute, and (less frequently): Thanks, Jürgen, I was unaware of those

[Zope3-Users] Seeking Explicit Acquisition Support re Climbing Containment Hierarchy

2006-04-05 Thread Jeff Rush
I know that Zope3 dropped 'implicit' acquisition, but is there any support for *explicit* acquisition that walks the __parent__ containment hierarchy. Something that follows the same rules as traverse() to look up a name, but from bottom-to-top instead of traverse() from top-to-bottom? I know

Re: [Zope3-Users] Seeking Explicit Acquisition Support re Climbing Containment Hierarchy

2006-04-06 Thread Jeff Rush
Michael Howitz wrote: Am Mittwoch, den 05.04.2006, 09:36 -0500 schrieb Jeff Rush: I know that Zope3 dropped 'implicit' acquisition, but is there any support for *explicit* acquisition that walks the __parent__ containment hierarchy. Something that follows the same rules as traverse

[Zope3-Users] Time for a Decimal field type in zope.schema?

2006-04-07 Thread Jeff Rush
Perhaps this is an old topic, although I've done searches. I've seen the brief discussion about security proxies and the Decimal type on zope3-users, but (to zope3-dev) what about getting it added to the zope.schema as a first-class field type? So we can have auto-generated HTML forms and such

[Zope3-Users] Use Case for a Tree of Adapter Registries?

2006-04-14 Thread Jeff Rush
I've read the code for adapter registries, how there is a global one and any number of local ones, arranged in a tree and that each can be disabled. But I can't figure out when you'd want to make use of such an arrangement. The docstrings and .txt files use abstract examples, for unit testing,

[Zope3-Users] A Few Questions re Namespaces

2006-04-14 Thread Jeff Rush
I've been working hard reviewing the source to understand namespaces, and have most of them figured out but not all. 1. Resources are given a __parent__ so they have an absolute_url. But it seems that views are not. So they are non-locatable things? 2. I finally found the "+" view in con

[Zope3-Users] Re: Referencing objects in auto-generated forms

2006-04-16 Thread Jeff Rush
Frank Burkhardt wrote: On Sat, Apr 15, 2006 at 08:41:57AM -0700, Ruben Gutierrez wrote: I'm having trouble understanding some of the semantics or conventions with Zope. One simple question I have is how do I create a list of selectable values in a form. Sounds like a classic use case for a

[Zope3-Users] Re: A Few Questions re Namespaces

2006-04-16 Thread Jeff Rush
Martin Aspeli wrote: 2. I finally found the "+" view in container/browser, but all uses of it are as "/@@+/newitem.html". I could have sworn I saw the "+" used w/o the "@@" prefix someplace but can't find it again. Did I indeed imagine ever seeing "/+/newitem.html"? No, I'v

[Zope3-Users] Found a (perhaps obvious) page template speedup

2006-04-16 Thread Jeff Rush
Perhaps most of you already know this but it bit me this week. For my project I've noticed some sluggish presentation of pages, and a lot of container queries flying around for very simple pages. It turns out to be Javascript code (singleBranchTree.xml) that is walking one-level of parents, si

Re: [Zope3-Users] Found a (perhaps obvious) page template speedup

2006-06-02 Thread Jeff Rush
Stephan Richter wrote: On Sunday 16 April 2006 15:17, Jeff Rush wrote: I thought I was doing things the preferred way, by using the existing @@standard_macros/page and filling in slots to change out selected portions. It turns out that while there is a slot to disable the -display- of the nav

[Zope3-Users] Versionitis with psycopgda Again

2006-09-28 Thread Jeff Rush
Greetings. The last time I was matching up psycopgda with a new Zope installation, I was informed I should not be using the tarball for 1.0.0 on zope.org but instead using the psycopgda at the subversion head. Doing so worked fine with Zope 3.2.1. Today I need to install another Zope 3.2.1 b

[Zope3-Users] Re: Versionitis with psycopgda Again

2006-09-29 Thread Jeff Rush
Philipp von Weitershausen wrote: Jeff Rush wrote: Studying the psycopgda repository for branches/tags I figured there was a tag set to match psycopgda with each Zope version released, but no luck. There are no tags at all in several years. The package has obviously been poorly maintained

[Zope3-Users] Seeking a ZCML Example for a CSSViewlet

2006-10-06 Thread Jeff Rush
I've got viewlets working fine (really cool too!) but I'm stumped on getting a CSSViewlet declared. Googling doesn't show anyone using CSSViewlets but hopefully someone who implemented it might clarify. The doc files show how to do it with pure Python and the utility function viewlet.viewlet.CSSV

[Zope3-Users] Call for Members of Panels on Web Technologies

2006-10-11 Thread Jeff Rush
Talks at previous PyCons have tended to be of the lecture format. I'd like to see if we can get some panel discussions going and am looking for participants. At PyCon 2005 in D.C. Michelle Levesque gave a wonderful talk, PyWebOff, contrasting a few of the web frameworks. However, it is a lot of

[Zope3-Users] Representation for Zope at PyCon 2007

2006-10-22 Thread Jeff Rush
If you'd like to get involved, check out the following conference pages: http://us.pycon.org/TX2007/CallForProposals http://us.pycon.org/TX2007/CallForTutorials Django and TurboGears will be at PyCon in force; I hope Zope will be too. Jeff Rush PyCon 2007 Co-Chair

[Zope3-Users] Reminder: Early Bird Registration for PyCon Ending Soon

2007-01-10 Thread Jeff Rush
hedule of presentations with abstracts, is available online: http://us.pycon.org/ Thanks for any help you can give in spreading the word, Jeff Rush Co-Chair PyCon 2007 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users