I have a simple test Zope product inheriting from Cacheable, PropertyManager
and SimpleItem.
Say I have a dtml method at http://myzopeinstance.com/testdtml with contents
I'd like "myvar" to be available in the__call__ method of testproduct. I don't
know how to do that.
Here's my testproduct
Lee wrote:
>
>
I think:
..will do it, if it doesn't, then you probabyl can't :-S
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http:/
Hi,
I have one quick question about the 'let' tag;
gives me the value
'class52225'. Is there anyway I can use the 'let' tag to push this onto
the namespace stack? I was thinking something *like*;
The python method, classcode_to_table, takes in a string, alters it
and returns it. This is goin
Mohan
try this,
-AndyD
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mohan
> Baro
> Sent: 08 December 2000 14:41
> To: [EMAIL PROTECTED]
> Subject: [Zope] DTML-LET problems
>
>
> Why doesn't the followi
Why doesn't the following code work?
How do I achieve the desired functionality?
">
Mohan.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://l
Thanks Ivan & Peter,
It work!.
Mohan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ivan Cornell
Sent: Friday, December 08, 2000 10:25 AM
To: Mohan Baro
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] DTML-LET problems
Mohan Baro wrote:
> Why
Mohan Baro wrote:
> Why doesn't the following code work?
> How do I achieve the desired functionality?
>
> ">
>
>
>
> Mohan.
You can't embed dtml within dtml. Try:
Ivan
PS, I would have replied to your previous post if it hadn't been in HTML!
Mark Twiddy writes:
> Im totaling columns returned from a zsql thingy is there an easy way to do
> this in dtml.
can do that for you.
Look at the documentation, section "variables for statistics".
Dieter
___
Zope maillist - [EMAIL PROTECTED]
ht
hi all
Sorry fro the dumb question.
Im totaling columns returned from a zsql thingy is there an easy way to do
this in dtml.
thanks
mark
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML en
"Mayers, Philip J" wrote:
>
>
>
>
>
Anything in a DTML tag that's inside "" is python, usually ;-)
So, your dtml-let should be:
which is kinda yucky, don't you think?
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.o
All,
I've just setup a test Zope installation. So far, very impressive.
I'm using a Postgresql database containing a network hierarchy (basically, a
table with a "network" column, and a "parentnet" column). I'm trying to
display this with a tree view, using the following DTML:
Where the
Pete Kazmier writes:
> I'm trying to keep a cumulative count while sequencing over a list via
> the dmtl-in tag. I tried this but it didn't work, Zope complained
> about the syntax
>
>
>
>
>
>
>
>
I can tell you, why you get the syntax error.
Luis Cortes has told yo
I tried the same thing, it doesn't work (or at least, I haven't found a way to
make it work).
What I do now is use REQUEST.set('totalActive',0 ) and
REQUEST.get('totalActive') when I need the value. The other alternative is to
write it in a python method.
Regards,
Luis.
On Fri, 26 May 2000,
I'm trying to keep a cumulative count while sequencing over a list via
the dmtl-in tag. I tried this but it didn't work, Zope complained
about the syntax. Could someone help me or point me in the right
direction, I search the archives but couldn't find anything relevant?
Thanks!
14 matches
Mail list logo