[Zope] Newbie question(s)

2000-11-12 Thread Bowyer, Alex
Hi, I have what I'm sure is a very simple question about Zope programming style: I want to count how many objects are contained in the current container object and then do something with that value, but I can't do the bit I need to do at the point of reading the count variable because I am in the

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
From: Bowyer, Alex >I want to count how many objects are contained in the current container >object and then do something with that value, but I can't do the bit I >need to do at the point of reading the count variable because I am in >the wrong namespace. I would try and do it like this (unte

RE: [Zope] Newbie question(s)

2000-11-12 Thread Bowyer, Alex
> >I want to count how many objects are contained in the > current container > >object and then do something with that value, but I can't do > the bit I > >need to do at the point of reading the count variable > because I am in > >the wrong namespace. > > I would try and do it like this (unt

Re: [Zope] Newbie question(s)

2000-11-12 Thread Morten W. Petersen
[Alex Bowyer] | My query is really more general though, that was just an example, I need to | know what the generally accepted method is for transferring values through | the code (i.e between namespaces) Unless I've misunderstood your problem, wouldn't do the trick? (See DTML manual for more i

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
From: Bowyer, Alex >My query is really more general though, that was just an example, >I need to know what the generally accepted method is for >transferring values through the code (i.e between namespaces) I do believe that our ugly friend REQUEST.set() is the way to go here. I cannot remember

Re: [Zope] Newbie question(s)

2000-11-13 Thread Rik Hoekstra
"Bowyer, Alex" wrote: > > Hi, > > I have what I'm sure is a very simple question about Zope programming style: > I want to count how many objects are contained in the current container > object and then do something with that value, but I can't do the bit I need > to do at the point of reading