[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)

[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 img SRC="star.gif" height=15 width=15 so the number of stars

[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

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 img SRC="star.gif" height=15

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 times the code

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

2000-06-02 Thread Steve Alexander
Steve Alexander wrote: Shane Hathaway wrote: dtml-in expr="_.range(0, movie_rating)" img SRC="star.gif" height=15 width=15 /dtml-in Replace movie_rating with the variable that represents the movie rating. What about dtml-var "'*' * movie_rating" ? Or rather: dtml-var "'img

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

2000-06-02 Thread Jim Sanford
if number_of_stars is 5 then dtml-var " '*' * number_of_stars " 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

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

2000-06-02 Thread Duncan Booth
dtml-in expr="_.range(0, movie_rating)" img SRC="star.gif" height=15 width=15 /dtml-in Replace movie_rating with the variable that represents the movie rating. What about dtml-var "'*' * movie_rating" ? Fine, except that he wants the img tag repeated the appropriate number of

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

2000-06-02 Thread Steve Alexander
Another slightly different idiom is: dtml-var """'img src="foo.gif"' * 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"

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

[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

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

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, though.

[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

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

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 for

[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.

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 not be

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,

[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: authorabc/authorauthorcde/author. I hope the xml implementation will have this. Rgs, Kent Sin

[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 web

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 Re:

[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

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