On Tue, 21 Nov 2000, Phillip J. Eby wrote:
At 11:08 AM 11/21/00 +0100, Joachim Schmitz wrote:
I have an existing ZClass/Data Structure like this
RecruitingPlatform
Company
Recruiting
Candidates
Student
Profiles
Address
Highschool
IT
Chris Withers wrote:
i'm no expert but deeply nested data structures in a single object are
rife with possibilities for conflict errors. if data might be changing
concurrently in the structures or frequently changing you would be
better off to switch the structure to nested persistent objects.
Hello,
Since the SkinnableAndLocalizable project is on hold, and since
people here in Japan and other non-english speaking countries have
repeatedly expressed their wish for localized versions of Zope, I
decided to continue zzLocale development and turn it into an actually
usable
I have a specialist Contacts and for Contacts I have a method
getAllContactsForCustomer. Whenever I want to call this method I have to
pass on the whole namespace and the object itself to get it to work eg:
getAllContactsForCustomer(this(), _, _.None). Why is this the case? And
what does
"Stefan H. Holek" wrote:
Taking ideas from the Renderable product, the ZCallable baseclass
(PTK) and the __call__ thread on this very list, I created a Callable
baseclass intended as a mixin for ZClasses.
class Callable:
def render( self, client=None, REQUEST={}, RESPONSE=None, **kw
Hi Roch'e,
I'm guessing that getAllContactsForCustomer is a "DTML Method". If
I remember correctly the third argument is a 'mapping object' that can
be used to augment the effective namespace available to the
method. Passing _.None should do nothing (I'm guessing you could just
use
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
On Tue, 21 Nov 2000 17:03:17 +, Chris Withers [EMAIL PROTECTED]
wrote:
It happens when more than one thread tries to modify the same object in
storage at the same time. It's Zope's equivalent of record-locking... It's
normal. There's no corruption or anything, it's telling you that it
Hurm, well, it appears to happen when we're doing a lot of sequential
write to a product (automated bulk data upload), but the thing that
triggers it off is actually trying to read a page from the same area of
the site... confusing. Although that could also be a one-off
coincidence...
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
The only way I've found to do this thus far is to add the following method to
classes which I want to have deepcopyable instances:
def __deepcopy__(self,memo):
self=getattr(self,'aq_base',self)
new=cPickle.loads(cPickle.dumps(self))
At 10:29 AM 11/22/00 +0100, Joachim Schmitz wrote:
I created a FwCS and in it a customizer, but in my list of to customize
object types are only meta_types listed, which have the Base class
"_ZClass_for_DataSkin",. Is this a requirement, and if yes, is there a way
to add this to existing
At 12:41 PM 11/22/00 +0200, Roch'e Compaan wrote:
I have a specialist Contacts and for Contacts I have a method
getAllContactsForCustomer. Whenever I want to call this method I have to
pass on the whole namespace and the object itself to get it to work eg:
getAllContactsForCustomer(this(), _,
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"
On Wed, 22 Nov 2000, Chris Withers wrote:
[ snipped cosmetic modifications ;) ]
until I had to put some security on my CallableFolders. Removing 'View'
for Anonymous keeps me from accessing a CallableFolder directly but it can
still be used as a subtemplate (dtml-var x) from another DTML
Can we see a screenshot of what the Zope managment interface looks like
in Japanese? (just a personal curiousity)
-Michel
Yves-Eric Martin wrote:
Hello,
Since the SkinnableAndLocalizable project is on hold, and since
people here in Japan and other non-english speaking countries
For all who are interested in breaking database size barriers without
moving to Oracle or Berkeley Storage, here's something to try out.
http://www.zope.org/Members/hathawsh/PartitionedFileStorage
I *highly* recommend you back up Data.fs before installing.
What is known to work:
- Reads and
This is great, Lalo! Thanks.
I checked in ZUnit support to ZWiki-cvs, and the first couple of unit
tests. Suddenly, I feel all Extreme!
FWIW, here's how I run the tests. I made a TestRunner called
ZWikiTests, pointing to "Products.ZWiki.TestSuite". I have these rules
in a makefile:
18 matches
Mail list logo