[Zope3-Users] practical example of migrating from services to utilities

2005-08-08 Thread Duncan McGreggor
Hey all, I just wanted to check to make sure I was doing this right, and if so, provide a resource that would turn up on subsequent googling. This example involves the getting menus items with the getService/getUtility functions and is taken from Philip's worldcookery example code. Here's

Re: [Zope3-Users] images in a content object

2005-09-27 Thread Duncan McGreggor
On Jun 3, 2005, at 3:28 PM, Stephan Richter wrote: On Saturday 14 May 2005 14:21, [EMAIL PROTECTED] wrote: A direction to a working example would be very much appreciated. Playing with Z3 is nice, but it is much harder than Z2 when it comes to getting where I want. But, I'm not giving up!

Re: [Zope3-Users] images in a content object

2005-09-27 Thread Duncan McGreggor
On Sep 27, 2005, at 11:54 AM, Benji York wrote: Duncan McGreggor wrote: My problem is that I haven't figured out how to point to this image, as it is part of the content object itself. Ideally, I would like to be able to refer to it in a ZPT via a URL. Something on the order of img

Re: [Zope3-Users] images in a content object

2005-09-28 Thread Duncan McGreggor
On Sep 27, 2005, at 12:21 PM, Duncan McGreggor wrote: On Sep 27, 2005, at 12:09 PM, Jean-Marc Orliaguet wrote: http://svn.nuxeo.org/trac/pub/file/z3lab/cpsskins/branches/jmo- perspectives/browser/caching.py On Sep 27, 2005, at 12:13 PM, Benji York wrote: Chapter 35 of Stephan's book. I

[Zope3-Users] zope.app.catalog doc question

2005-09-30 Thread Duncan McGreggor
I am curious about the documented catalog method searchResults(). Starting at line 223 of zope/app/catalog/README.txt (3.1 rc3 download, not svn co), there is the following usage of the method: result = cat.searchResults(size=5) len(result) 2 list(result) == [o4, o5]

Re: [Zope3-Users] Re: worldcookery Christmas Dinner

2005-10-03 Thread Duncan McGreggor
On Oct 3, 2005, at 12:32 AM, Joel Moxley wrote: * RecipeFolder Views. In a RecipeFolder page template file, how would you view both parameters on the parent RecipeFolder as well as specific child Recipes within the container? * RecipeFolder Controllers. How would you access an external

Re: [Zope3-Users] Re: Compound Form Elements

2005-10-06 Thread Duncan McGreggor
On Oct 6, 2005, at 2:29 AM, James Allwyn wrote: On 04/10/05, James Allwyn [EMAIL PROTECTED] wrote: Hello, I wish my users to be able to register various contact details. For each, I would record the type (e.g. email, landline tel, mobile tel, fax...), the value (e.g. [EMAIL PROTECTED]) and

Re: [Zope3-Users] Re: Compound Form Elements

2005-10-21 Thread Duncan McGreggor
On Oct 21, 2005, at 12:16 PM, James Allwyn wrote: Following Christian's tweaks to the browser.py file (creating a CustomSequenceWidget), I've got this working well in isolation - I can add a ContactData object on its own no problem. However, I've hit a brick wall about how to use the

Re: [Zope3-Users] Windows binary psycopgda-1.0.0.tgz

2005-10-27 Thread Duncan McGreggor
On Oct 27, 2005, at 9:45 PM, Bobby Brewster wrote: Thanks for your help. However I am still not able to install the database adapter. I copied the file psycopg-configure.zcml into package-includes and folder psycopgda into .\lib\python C:\PyZope\ZopeHome ├───bin ├───etc │

Re: [Zope3-Users] list archives for zope3-users

2005-11-30 Thread Duncan McGreggor
On Nov 30, 2005, at 11:41 AM, Brad Allen wrote: If anyone else has thoughts on the best way to search the mailing list archives, I'd appreciate hearing about it. I'd prefer to avoid asking questions that others have already asked. Hey Brad, I feel like we're becoming best friends ;-) I use

Re: [Zope3-Users] list archives for zope3-users

2005-11-30 Thread Duncan McGreggor
On Nov 30, 2005, at 11:49 AM, Duncan McGreggor wrote: If anyone else has thoughts on the best way to search the mailing list archives, I'd appreciate hearing about it. I'd prefer to avoid asking questions that others have already asked. Hey Brad, I feel like we're becoming best friends

Re: [Zope3-Users] need guidance

2005-11-30 Thread Duncan McGreggor
On Nov 30, 2005, at 12:13 PM, Brad Allen wrote: Hmm, again, I think you *might* want to stay away from an approach that interacts directly with the ZODB. Unless you're not using z3/Zope 2... I didn't see this posting until after I started a new thread called Direct ZODB access in a Zope3

Re: [Zope3-Users] need guidance

2005-11-30 Thread Duncan McGreggor
On Nov 29, 2005, at 3:45 PM, Brad Allen wrote: I'm still in the midst of an effort at learning Zope 3, while try to build a real website for it. I have ambitions for using Zope 3 in several different projects, and am actively working on a Zope 3 website that I hope to have looking

Re: [Zope3-Users] Where to start?

2006-01-01 Thread Duncan McGreggor
On Jan 1, 2006, at 4:30 PM, Maciej Zięba wrote: Is there a ZopeBook or something similiar for Zope 3? Zope3Book is about development of the framework. Could you please recommend some place I could start learning it (articles, tutorials, etc.)? Here is the zope 3 book at zope.org: