Re: [Zope-dev] Basic LoginManager HowTo

2000-06-02 Thread Phillip J. Eby
At 10:45 PM 6/2/00 -0300, Lalo Martins wrote: >On Fri, Jun 02, 2000 at 07:29:18PM -0600, Bill Anderson wrote: >> Has anyone out there actually sarted _using_ LoginManager with ZODB >> storage? IOW, one that is not dependant on LDAP/SQL/etc., but that is >> functioning in place of a non-PTK acl_use

Re: [Zope-dev] Basic LoginManager HowTo

2000-06-02 Thread Lalo Martins
On Fri, Jun 02, 2000 at 07:29:18PM -0600, Bill Anderson wrote: > Has anyone out there actually sarted _using_ LoginManager with ZODB > storage? IOW, one that is not dependant on LDAP/SQL/etc., but that is > functioning in place of a non-PTK acl_users folder? I tried. It's quite easy, except that

[Zope-dev] Basic LoginManager HowTo

2000-06-02 Thread Bill Anderson
Has anyone out there actually sarted _using_ LoginManager with ZODB storage? IOW, one that is not dependant on LDAP/SQL/etc., but that is functioning in place of a non-PTK acl_users folder? I am starting to play with it (so many toys, so little time...), and would like to see (if it exists) a ba

Re: [Zope-dev] ZPHP [was Re: [Zope] CHAT]

2000-06-02 Thread Phil Harris
You do lose some functionality using PHP as CGI rather than module: Persistent DB Connections, :( - Original Message - From: "Stuart 'Zen' Bishop" <[EMAIL PROTECTED]> To: "Gonçalo Gomes" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 03 June 2000 00:24 Subject: [Zope-dev] ZPHP [was R

[Zope-dev] ZPHP [was Re: [Zope] CHAT]

2000-06-02 Thread Stuart 'Zen' Bishop
On Thu, 1 Jun 2000, [iso-8859-1] Gonçalo Gomes wrote: > Silver_Surfer: how do you see the future of Zope fighting against PHP space on the >web? > Jim: I don't know much (enough) about PHP, but from what I vaguely know, PHP methods >seem like a logical step. Hmm... I'm having to setup a PHP we

[Zope-dev] XML in Zope

2000-06-02 Thread Sin Hang Kin
Kevin, I agree with you, the performance will be better and more powerful. The thing missing in zope (dtml) now is that we can not store multiple instance of the same name which is allow with xml: abccde. I hope the xml implementation will have this. Rgs, Kent Sin

Re: [Zope-dev] XPath and Aquisition Incompatible?

2000-06-02 Thread Martijn Faassen
Josh Zeidner wrote: > I was just looking over the Wiki on Zope XML, and came across the current > notes on XPath. I tend to think that XPath( which is a relative > discripition of a tree traversal ), and Aquisition( which implies quite a > bit based on where it gets executed )- may not be ex

Re: [Zope-dev] The future of Zope with XML

2000-06-02 Thread Martijn Faassen
Kevin Dangoor wrote: > Thanks for getting this document going. It's good to see where XML is > going in Zope. [note that the zope-xml list may be a better list to discuss these things; I've cc-ed to there but we might want to move the thread there completely] > I do have a question, tho

Re: [Zope-dev] XPath and Aquisition Incompatible?

2000-06-02 Thread Chimezie Thomas-Ogbuji
Josh Zeidner wrote: > > hi, > > I was just looking over the Wiki on Zope XML, and came across the current > notes on XPath. I tend to think that XPath( which is a relative > discripition of a tree traversal ), and Aquisition( which implies quite a > bit based on where it gets executed )- may

[Zope-dev] [ANN] Zope at Linuxtag 2000 in Stuttgart

2000-06-02 Thread Stephan Richter
Hello everyone, A couple of days back Martijn Faassen and I had the idea to organize a European Zope conference. Maik Roeder reminded me of the upcoming Linuxtag 2000 in Stuttgart. So I contacted the Linuxtag staff and we will have a booth. Martin Schulze, my main contact, will also try to ge

Re: [Zope-dev] What causes the failure

2000-06-02 Thread Robin Becker
In article <[EMAIL PROTECTED]>, Timothy Grant <[EMAIL PROTECTED]> writes >"R. David Murray" wrote: >> >> On Thu, 1 Jun 2000, Timothy Grant wrote: >> > > Error Type: SuperCannotOwn >> > > Error Value: Objects cannot be owned by the superuser >> > >> > I just installed the 2

[Zope-dev] XPath and Aquisition Incompatible?

2000-06-02 Thread Josh Zeidner
hi, I was just looking over the Wiki on Zope XML, and came across the current notes on XPath. I tend to think that XPath( which is a relative discripition of a tree traversal ), and Aquisition( which implies quite a bit based on where it gets executed )- may not be exactly compatible. Has

Re: [Zope-dev] The future of Zope with XML( XSLT revisited )

2000-06-02 Thread Josh Zeidner
Hi, It is great stuff! ( similar idea to Apache Cocoon )... now all we need is someone to put in an XSLT( 4XSLT ) processor into the core Zope code- are there any immediate plans for this? note: i realize this has been discussed before :) . -thanks, Josh Z >Hi, Josh > > Thanks f

Re: [Zope-dev] The future of Zope with XML( what does ZDOM do for us? )

2000-06-02 Thread Kevin Dangoor
Hi, Josh Thanks for the insight! I also just noticed that there is a whole lot of good information already up there in the Wiki. This does look like great stuff. I see how it complements Zope's current data storage capabilities. It provides good ways to move XML data in and out of the ZODB vi

[Zope-dev] setting proxy roles from a python product add method

2000-06-02 Thread R. David Murray
In the add method for a python product, I need to set the proxy role of a method I am adding to a folder to 'manager'. What is the correct way to do this? I tried searching the interfaces Wiki under 'proxy' but received no enlightenment. Under 2.1.6, looking at the DTMLMethod source, it looked l

Re: [Zope-dev] Memory Management How-To

2000-06-02 Thread Jason Spisak
Tres Seaver: Thanks Tres. If anyone who knows a little more wants to drop me an email with help me fill in the (Help) stuff, that's be great. All my best, > Jason Spisak <[EMAIL PROTECTED]> wrote: > > > > Zopists, > > > > Can anyone see a document before it's been Cataloged? > > > > If so,

Re: [Zope-dev] Problems with LoginManager form-based login

2000-06-02 Thread Evan Simpson
- Original Message - From: Phillip J. Eby <[EMAIL PROTECTED]> > At 06:14 PM 5/26/00 -0400, Evan Simpson wrote: > > > >D'oh! How 'bout if REQUEST.close() were to always do a > >self.__dict__.clear()? > > > > Are you absolutely positively sure that REQUEST.response is never accessed > follo

[Zope-dev] Adding files to a request feature

2000-06-02 Thread Carlos de la Guardia
Hi, I have created a very simple Search and Replace tab and added it to my Zope´s management interface. I would like to contribute this to the Zope distribution if possible. What process do I need to follow for you guys to check it out. I found the collector and I imagine I could add a request fo

Re: [Zope-dev] LM 0.8.6 w/CurrentCVS failure

2000-06-02 Thread Phillip J. Eby
At 01:51 AM 6/2/00 -0600, Bill Anderson wrote: >"Phillip J. Eby" wrote: > >[...] > >> LM 0.8.6 also works with Zope 2.2 as far as being able to be added, >> although I'm not sure it interoperates properly with the new security API. >> It will still be backward compatible with Zope 2.1.6 either way

Re: [Zope-dev] What causes the failure

2000-06-02 Thread R. David Murray
On Thu, 1 Jun 2000, Timothy Grant wrote: > Thanks for the tip. That solved the first problem. Now, however, when I > attempt to view one of my pages I get an authorization error. The > traceback shows that it occurs on one of my Tiny Tables. The user I am > logged in has has *full* rights to anyth

Re: [Zope-dev] The future of Zope with XML( what does ZDOM do for us? )

2000-06-02 Thread Josh Zeidner
Hi Kevin, What FourThought/DC are currently doing with Zope will allow for fast transformations to memory-resident structured data( ZDOM or whatever ) to exportable XML documents( which are simply strings of characters ). This introduces( to the Zope world ) cutting edge metaphors in web-a

[Zope-dev] Re: ZPatterns complexity?

2000-06-02 Thread Phillip J. Eby
At 01:40 PM 6/2/00 +0800, Mike wrote: > >As I'm reading ZPatterns source code more and more I'm finding there are >good things just hidden in unclean or bad defined interfaces. Just a >suggestion: define interfaces as abstract classes first, then implement >them (as AbstractRack, DefaultRack and G

Re: [Zope-dev] The future of Zope with XML

2000-06-02 Thread Kevin Dangoor
Hello, Thanks for getting this document going. It's good to see where XML is going in Zope. I do have a question, though. For me, the main value in XML has been in its usefulness as a flexible interchange format. Right now, I can store data as objects (either straight Python or ZClasses)

Re: [Zope-dev] Using """string""" idiom in dtml

2000-06-02 Thread Steve Alexander
Another slightly different idiom is: ' * 12"""> It isn't very SGML-like though. Jim Sanford wrote: > > You've got my vote. Being able to use """ would solve alot of my dtml coding > headaches. > > Jim Sanford > - Original Message - > From: "Steve Alexander" <[EMAIL PROTECTED]> >

Re: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Duncan Booth
> > > > > > > > > > Replace movie_rating with the variable that represents the movie rating. > > What about ? > Fine, except that he wants the tag repeated the appropriate number of times. Try putting the tag into the dtml-var statement and you get something along the lines of (untest

Re: [Zope-dev] Using """string""" idiom in dtml

2000-06-02 Thread Jim Sanford
You've got my vote. Being able to use """ would solve alot of my dtml coding headaches. Jim Sanford - Original Message - From: "Steve Alexander" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 02, 2000 8:06 AM Subject: [Zope-dev] Using """string""" idiom in dtml How easy

Re: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Jim Sanford
if number_of_stars is 5 then will give you * (Multiplication works on strings in python and thus Zope!) Jim Sanford - Original Message - From: "Alex Mendez" <[EMAIL PROTECTED]> To: "Lista Zope" <[EMAIL PROTECTED]> Sent: Friday, June 02, 2000 5:28 AM Subject: [Zope-dev] Repeatin

[Zope-dev] Using """string""" idiom in dtml

2000-06-02 Thread Steve Alexander
How easy would it be to allow """python strings""" inside DTML tag attributes? I'm thinking particularly of situations like: ''' * 12"> Currently, you need to mess about with _.chr(34) and string concatenation. The triple-quote idiom looks clearer to my eyes. -- Steve Alexander Software Eng

Re: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Steve Alexander
Steve Alexander wrote: > > Shane Hathaway wrote: > > > > > > > > > > > > Replace movie_rating with the variable that represents the movie rating. > > What about ? Or rather: ' * movie_rating"> -- Steve Alexander Software Engineer Cat-Box limited __

Re: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Steve Alexander
Shane Hathaway wrote: > > Alex Mendez wrote: > > > > Hello, it's the first time I write here and I'm a > > newbie at Zope, so maybe I'm asking a stupid > > question... > > > > Case is I retrieve from my movie database the value of > > the movie from 1 to 5 stars. I would like to repeat > > that n

RE: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Marcus Collins
Hi, > -Original Message- > From: Alex Mendez [mailto:[EMAIL PROTECTED]] > Sent: 02 June 2000 12:28 > To: Lista Zope > Subject: [Zope-dev] Repeating a piece of HTML code > > Hello, it's the first time I write here and I'm a > newbie at Zope, so maybe I'm asking a stupid > question... The

Re: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Shane Hathaway
Alex Mendez wrote: > > Hello, it's the first time I write here and I'm a > newbie at Zope, so maybe I'm asking a stupid > question... > > Case is I retrieve from my movie database the value of > the movie from 1 to 5 stars. I would like to repeat > that n times the code width=15> so the number

[Zope-dev] newbie / dtml-tree and external methods

2000-06-02 Thread Gilles Verley
Hi all, I'm newbie both in python and in zope (in English too!), and here is a problem I realy can't sort out. I would to display the tree structure of a repository disk. Therefore I wrote a recursive class MyFolder, with the following attributes (code is at the bottom of the message): class My

[Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Alex Mendez
Hello, it's the first time I write here and I'm a newbie at Zope, so maybe I'm asking a stupid question... Case is I retrieve from my movie database the value of the movie from 1 to 5 stars. I would like to repeat that n times the code so the number of stars would appear: 1 - * 2 - ** 3 - *** 4

[Zope-dev] LM 0.8.6 w/CurrentCVS failure

2000-06-02 Thread Bill Anderson
"Phillip J. Eby" wrote: [...] > LM 0.8.6 also works with Zope 2.2 as far as being able to be added, > although I'm not sure it interoperates properly with the new security API. > It will still be backward compatible with Zope 2.1.6 either way, though. Hmmm ... just tried it on a fresh (Thursday