Re: [Zope-dev] ZPatterns Project Help!

2000-11-22 Thread Steve Spicklemire
Hi Ben, GAPs are sort of deprecated at this point in favor of SkinScript. In SkinScript you might do something like this: WITH accounts.getItem(self.account_id) COMPUTE account_object=RESULT or more carefully... WITH accounts.getItem(self.account_id) COMPUTE account_object=(RESULT is

RE: [Zope-dev] ZPatterns Project Help!

2000-11-22 Thread bentzion
Thanks for answering Steve. Unfortunitly I am working with version 0.3 of ZPatterns so I have to use GAP. When I try to translate your Skinscript into GAP like this "attrsexprs:account_object=(RESULT is _.None) and NOT_FOUND or RESULT" and I try to access the object's id with dtml-var

RE: [Zope-dev] ZPatterns Project Help!

2000-11-22 Thread Phillip J. Eby
At 10:21 AM 11/22/00 -0500, [EMAIL PROTECTED] wrote: Thanks for answering Steve. Unfortunitly I am working with version 0.3 of ZPatterns so I have to use GAP. When I try to translate your Skinscript into GAP like this "attrsexprs:account_object=(RESULT is _.None) and NOT_FOUND or RESULT"

[Zope-dev] ZPatterns Project Help!

2000-11-21 Thread bentzion
Another question... I want to have a GAP that will add some other Object to an attribute of my DataSkin. This is what I have tried with no success. fromexpr: accounts.getItem(self.account_id) attrsexprs: account_object=RESULT This way in my UI Methods in my DataSkin I can access (and change)

[Zope-dev] ZPatterns Project Help!

2000-11-18 Thread Ben Schochet
I am trying to create a ZPatterns based project and have a few question. I am trying to create an application that can consist of thousands of object without running into the ZODB size problems. * It seems that I need to have separate Racks for each Class that I want to store with ZPatterns. Is