I cannot slice context.REQUEST.PARENTS
The reason I want to do this is to travel up the URL tree for a
breadcrumb navigation do-hicky.
I want to slice it so I can make a copy because if I just do
...reverse() on it, I screw up everything afterwards.
It says I'm unauthorized (Guarded.py __carefu
I had posted about this previously, but no one has tackled this one,
it seems to be a pretty serious issue, plus I've done a *lot* of poking
around and learned a few things since I first reported it. What I have
*not* found (or been told) is that the below described behavior is normal.
First a s
> But I guess this still will be the same anyway. That is, if an object
> inhereted from Persistence.Persistance spawns a thread that
> manipulated data in the object, I will have no problems. The thread
> will be running just fine, and the data will be stored in the zodb.
This is how I've experi
> AFAIK, you should be able to spawn a new thread from within any
function
> within Zope and manipulate stuff in the ZODB as long as you lock
properly.
I guess I wasn't clear enough, but my application isnt within zope, im
just using zodb and some more components out of it.
> Specifically, an
If this is your exact code, it looks like you should be using
"sequence-item", instead of "sequence_item".
You should also be able to do it without the external method like this:
(100% untested)
"David W. Damon" wrote:
>
> Hey all,
>
> I'm having difficulty getting dtml-in to iterate ov
Hey all,
I'm having difficulty getting dtml-in to iterate over a list of strings
returned from an external python method.
Essentially, I have a string that is comprised of the contents of an HTML text
area. I need to split the string into a list of words and iterate over this
list.
My external
Re this error when adding a zwiki web:
Error Type: KeyError
Error Value: H?v`H?v$y_?-006412673360557
Content-Disposition: form-data; name="wiki_type" basic
Tony McDonald <[EMAIL PROTECTED]> writes:
> It is a Mac actually. IE 5.0. I've just asked a colleague to t
> Chris Petrilli is working on a fishbowl proposal for CatalogNG;
> I'm pretty sure he intends to adopt some kind of observer/event
> scheme to make it work.
CatalogTNG is definately going to be top down, rather than bottom up (its
current design). I'm trying to collect a set of requirements cur
AFAIK, you should be able to spawn a new thread from within any function
within Zope and manipulate stuff in the ZODB as long as you lock properly.
The number of database connections is fixed, but arbitrary threads can take
up a database connection on an ad-hoc basis. If I were you, I'd mess
aro
On Fri, 10 Nov 2000, Chris Withers wrote:
> Does this mean all of the classes in the diagram at that URL have been
> implemented?
> How come the Catalog doesn't use it so CatalogAware
> (bleugh!) isn't needed anymore?
Heh, because we would have to make far-reaching changes
(essentially, add an
Jim Fulton wrote:
>
>> Strings; fine, at least they're secure, and when they become proper
>> objects in Python 2.0, the problem should go away?
>
>
> Will Python 2.0 let you assign string attributes?
% python
Python 2.0 (#3, Oct 26 2000, 15:07:09)
[GCC 2.95.2 19991024 (release)] on sunos5
T
Erk... meant this for zope-dev :-S
Chris Withers wrote:
>
> Hello...
>
> Okay, I'm still staring up at the ZPatterns learning cliff as I write
> this so forgive my ignorance.
>
> I'm looking at ZPatterns WRT to 'dynamically generated dataskins'.
>
> You what? Well, okay, I'll try and explain.
Hi Nigel,
Yes.. the example still works. I am working on an update that
incorporates some of the suggestions folks have made and better
illustrates some ZPatterns concepts. Basically the example is *too*
simple, and it doesn't separate PD, and UI issues very well..
-steve
> "Nigel" ==
Hi.
Reading from Jims 'Introduction to the Zope Database':
"An object's state may be freed at any time by the ZODB to conserve memory
usage."
What does this mean? That the object can be freed even though there are
references to it?
The reason I'm asking is becase I want to use threads and per
Thanks a lot for all the guidance on ZPatterns so far.
Our company is building a Customer Relationship Management system using ZOPE
and ZPatterns. We have a object model and basic Dataskins and Specialists in
place. At this point we thought it a good idea to share the object model
with the Zope c
On 11/10/2000 9:45 AM, "seb bacon" <[EMAIL PROTECTED]> wrote:
> I was just building in some error handling into some UI code, and wanted to
> catch errors relating to duplicate ids. The problem is that just about every
> client-side error raises the same kind of Exception, a 'Bad Request'. A qu
>
>
> Oh if only!!!
>
> I love this idea, and comments haev coem from DC along those same lines,
> btu nothing ever really happened about it...
If there are people willing to work on this, then a proposal
would be most welcome...
http://dev.zope.org/Wikis/DevSite/Proposals/FrontPage
Brian
Itamar Shtull-Trauring wrote:
>
> Shane Hathaway wrote:
>
> > Not long ago I created a wrapper around File objects which automatically
> > splits the file before it reached a predefined limit. It could handle
> > any number of partitioned file segements.
>
> Yes please! Perhaps it could be int
Oh if only!!!
I love this idea, and comments haev coem from DC along those same lines,
btu nothing ever really happened about it...
cheers,
Chris
seb bacon wrote:
>
> I was just building in some error handling into some UI code, and wanted to catch
>errors relating to duplicate ids. The pro
I was just building in some error handling into some UI code, and wanted to catch
errors relating to duplicate ids. The problem is that just about every client-side
error raises the same kind of Exception, a 'Bad Request'. A quick grep counted 41
different types of 'Bad Request' in my Zope so
Chris Withers wrote:
>
> Okay, apologies in advance for picking up a thread that's been dorman
> for so long ;-)
>
> Jim Fulton wrote:
> >
> > Chris Withers wrote:
> > >
> > > self.id = id
> > > self.title = 'Title!'
> > > self.anInt = 0
> > > self.aString = 'test
Morten W. Petersen wrote:
>
> Specifically, the reason I want this function is that I feel using
>
>
>
>
>
>
>
> is a bit tedious (and ugly!) in the long run..
If this is what you want to do, there's an easier way from DTML:
this is row &dtml-sequence-item;
Tres Seaver wrote:
>
> The docs are in the interfaces wiki:
>
> http://www.zope.org/Members/michel/Interfaces/ObserverAndNotification
>
> (Note that this actually predates the fishbowl process -- this
> has been in Zope for a lng time).
Actually at:
http://www.zope.org/Members/michel/Pro
On Fri, 10 Nov 2000, Chris Withers wrote:
> Tres Seaver wrote:
> >
> > Chris Withers <[EMAIL PROTECTED]> asked:
> >
> > > Does anyone know what happened to it and how far its
> > > implementation got?
> >
> > The preliminary implementaion, DefaultObservabale, landed as
> > a mix-in class in Zo
Okay, apologies in advance for picking up a thread that's been dorman
for so long ;-)
Jim Fulton wrote:
>
> Chris Withers wrote:
> >
> > self.id = id
> > self.title = 'Title!'
> > self.anInt = 0
> > self.aString = 'testing'
> >
> None of the
> values above can hav
Michael Bernstein wrote:
> After some more thought, I realized that this really needs
> to be a three-way gateway betrween a mailing list, a 'blog,
> and a newsgroup.
I'm all up for doing the mailing list/weblog type bits but I have no
idea how news _works_ and how it could be integrated into th
Tres Seaver wrote:
>
> Chris Withers <[EMAIL PROTECTED]> asked:
>
> > Does anyone know what happened to it and how far its implementation got?
>
> The preliminary implementaion, DefaultObservabale, landed as a mix-in
> class
> in Zope 2.2:
>
> $ZOPE_HOME/lib/python/OFS/DefaultObservable.py
>
Hi,
i have a problem with using properties from dtml documents.
I have a sql method with the following code:
select * from foo where bar =
If i have 5 folders with different properties for bar and inside these
folders are dtml methods named as index_html then i get five different
results.
But
Andy McKay wrote:
>
> http://zope.nipltd.com/public/lists/dev-archive.nsf/0a8715d5f3c7b6a3802568c1
> 006328f7/c15eb30d0faf1057802568b8002e1273?OpenDocument
AKA:
http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C15EB30D0FAF1057
(which almost fits on a line ;-)
> to
>
> else
29 matches
Mail list logo