[Zope] dtml-let and product

2008-02-21 Thread Wayne Volkmuth
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

Re: [Zope] dtml-let + 'expr=' possible?

2001-01-24 Thread Chris Withers
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:/

[Zope] dtml-let + 'expr=' possible?

2001-01-23 Thread Lee
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

RE: [Zope] DTML-LET problems

2000-12-08 Thread Andy Dawkins
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

[Zope] DTML-LET problems

2000-12-08 Thread Mohan Baro
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

RE: [Zope] DTML-LET problems

2000-12-08 Thread Mohan Baro
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

Re: [Zope] DTML-LET problems

2000-12-08 Thread Ivan Cornell
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!

Re: [Zope] dtml-let ?

2000-10-12 Thread Dieter Maurer
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

[Zope] dtml-let ?

2000-10-11 Thread Mark Twiddy
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

Re: [Zope] dtml-let and quoting(?) or forcing to string

2000-08-21 Thread Chris Withers
"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

[Zope] dtml-let and quoting(?) or forcing to string

2000-08-21 Thread Mayers, Philip J
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

Re: [Zope] dtml-let help

2000-05-26 Thread Dieter Maurer
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

Re: [Zope] dtml-let help

2000-05-26 Thread Luis Cortes
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,

[Zope] dtml-let help

2000-05-26 Thread Pete Kazmier
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!