"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)
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
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
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
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
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
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
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
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"
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
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
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
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.
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
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
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
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.
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
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,
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
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
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:
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
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
linux for Intel, redhat 6.2.
--
Paul Beard / 206 728 4282 x138
Fizzylab / 2025 First Ave, Suite 1150
Seattle WA 98121
On Fri, 2 Jun 2000, Andrew Kenneth Milton wrote:
+[ paul beard ]-
| anyone have any insight on accessing a SQL server store
Hi Zopistas,
Hope you can help me .. (I'm hating DTML right now )
Take this dtml document with name: dontWork_dtml
dtml-return "a+'-'+b+'-'+c"
I want de document act like a function that concatenates a,b and c
but if at other document i do something like
let a="'1'"
b="'2'"
One method that works is to change the port in z2.py.
cb
= Original Message From Luis Cortes [EMAIL PROTECTED] =
Hello,
Does anybody know how to change the Port that Zope uses on Windows NT
when it is installed as a Service??? I know how to change it when it is
installed as
I would like to be able to have gifs/jpgs stored in an MS access
database and then pull the out using zope and display them in rendered
documents. I am completely new to access. I have successfully
installed the ODBCDA into zope, and are able to connect to an access
database and pull
Scavenging the mail folder uncovered Paolo Comitini's letter:
what's the current status of ZPygreSQLDA and ZPoPyDA? if i were to choose,
which should i use? and the reasons for using it?
i understand that ZPoPyDA is level 2 thread safety, and not quite sure what
ZPygreSQLDA thread safety
On Fri, 2 Jun 2000, Daryl Tester wrote:
No - just using the GPL'd adapter do not require you to distribute Zope
under GPL. The adapter is just a "plugin"; there was an explanation from
RMS that GPL'd plugins does not require to GPL the main program and vice
versa; there probably will
Where's the 'LIKE' ?
Such as SELECT * FROM table1 WHERE table1_id LIKE %field1_value%
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: 02 June 2000 09:10
To: [EMAIL PROTECTED]
Subject: [Zope] Using sql to search in zope
Hi All,
I can only say that we started writing PoPy and ZPoPyDA because pygresql
(and the adapter based on it) are *not* thread safe. we were experimenting
deadlocks in zope when you mix db access from sql methods and external
methods in the same page.
quoting DAroadmap at
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] writes
Hi All,
I tried to build a search feature using sql in zope, this is what I normal
do in sql to do a range search :
select * from table1 where table1_id = %field1_value%
where table1_id = dtml-sqlvar "'%'+ field1_value + '%'" type=string
Some time back I had an exchange with Mike Pelletier regarding SQL methods
and aquisition.
We talked about a URL structure :
mysite.com/Users/Fred/Flavor/Cherry/test
Users is a SQL method which takes a single parameter (value = Fred here).
Flavor is another method which takes a single
Fun for all the family. I'm trying to produce a page that draws from
two databases following one friendly search. The first chunk of data
is from the search itself and returns, among others, an ID which I want
to pass into the second chunk to search it. Kinda like this:
Search page: blah
+[ Andy Gates ]-
| Fun for all the family. I'm trying to produce a page that draws from
| two databases following one friendly search. The first chunk of data
| is from the search itself and returns, among others, an ID which I want
| to pass
dtml-in "secondQuery(id=id, name=name)"
Ahh... quotes. Parentheses. Works a treat. Ta.
AndyG
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
On Fri, Jun 02, 2000 at 09:02:11AM +0100, Phil Harris wrote:
Try going to http://localhost:8080/__no_before_traverse__/manage
Oops, I should have re-read SiteAccess docs... Thanks.
After a few tests it seems to work normally except for one feature:
When managing through
try
dtml-let total="_.int(SUNDAY) + _.int( ...
_.int() method tells zope you want (integer) numbers.
hth peter.
On Fri, 2 Jun 2000, Coleman, Bryan wrote:
:I can't seem to add variables using let. I just get a concatination of the
:integers. I am using ...
:
:dtml-let total="SUNDAY +
If object1 has a unique name in your acquisition path, you can get to it
simply through
self.object1.object2.object3
Otherwise, you can use PARENTS. I *think* you can get to the PARENTS list
via the REQUEST variable (so make sure you have REQUEST as a parameter in
your method).
Hi all,
My intellect was piqued recently by a discussion on the list about editors
for Zope etc.
I remember some people saynig that VIM was good, to which my response was,
'Yeah but there's no FTP built in'.
Someone then responded with a few scripts to do it.
Well I thought they were a bit
Shane, your idea about extending the URL and putting in an extra folder in
the path will work but its a bit of a fix rather than a solution. Right now
this isn't a RealLife(TM) problem for me, just part of my trying to get to
grips with Zope and its potential pitfalls.
Isn't there a way to
dtml-sqlvar " '%' + _.string.strip(field1_value) + '%'" type=string
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 02, 2000 3:10 AM
Subject: [Zope] Using sql to search in zope
Hi All,
I tried to build a search feature using sql in zope, this is
Zopistas,
I have two issues that I think should be rectified before the 2.2 release. I
am not very up to date on the goings-on in the list, but a quick search gave
me little information on the following:
1. The HTML that Zope outputs is not very standards-compliant (XHTML 1.0) at
the moment.
On Fri, Jun 02, 2000 at 06:50:46PM +0200, Alexander Limi wrote:
1. The HTML that Zope outputs is not very standards-compliant (XHTML 1.0) at
the moment. Tags like img / are rendered as IMG etc. I would like to
Perhaps support for XHTML-compliance in Zope should be optional. I
wrote a few
Rob Sporleder writes:
The shell was on my local machine...
That's the same as tryinga browser for network purposes. Can you try
bringing up a shell on the server next time and try a wget
http://localhost:8080, and see if it returns anything. If so, the Zope is
fine and it's that other
hi,
i need some help with permissions again. is there a way to make a subfolder
secure from people with manager roles in the parent folder? i've tried
different settings but nothing locks them out. thanks.
-mike-
___
Zope maillist - [EMAIL
I am running Zope on NT without IIS. I installed jcNTUserFolder, but I
cannot get users from a trusted domain to log in. I added these users in the
*add users from other domains screen*.
Any help appreciated.
Erik Myllymaki
[EMAIL PROTECTED]
___
I just got this mail from Martin Schulze, our contact at Linuxtag.
Moin,
die Raumfrage ist geklaert, es stehen Raeumlichkeiten zur Verfuegung,
genaueres schreibe ich euch morgen oder uebermorgen. Ihr koennt also
mit den Planungen fuer die ZopeCon beginnen.
Kurz noch: 1 Raum mit Stuehlen und
On Thu, 1 Jun 2000, Andrew H. Chatham wrote:
You can of course change it all into GET data and just join them
together using:
'%s=%s' % (url_quote_plus(name), url_quote_plus(data))
and joinging with , in which case you actually can do a redirect, but
presumably someone made it POST for a
On Fri, 2 Jun 2000 [EMAIL PROTECTED] wrote:
I tried to build a search feature using sql in zope, this is what I normal
do in sql to do a range search :
select * from table1 where table1_id = %field1_value%
But when I try it with zope, it will become
select * from table1 where
Hi there..
Sure! I just did a quick read through of the url you posted and it
looks to me that you've started with what I want. I am very interested
in getting this to work within the Zope framework as well.. with
Sql support etc. as I am doing a project that would require "robotic"
features!
Stuart 'Zen' Bishop wrote:
And another item from 'Sticky Tape String Crackpot Solutions R Us':
Write an external method that calls Pythons urllib or httplib methods to
suck in the desired URL and return it. You may be able to use
this as a replacement to redirect.
A while
53 matches
Mail list logo