Re: [Zope] RE : [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-11-20 Thread Dieter Maurer
Kelvin Cheong writes: dtml-in "category_method(id='1')" size=100 start=query_start id=dtml-var idseq=dtml-var seqvid=dtml-var vid where can i find out more about these properties, i.e. the seq...vid... and so on..? The argument to "dtml-in" is a sequence of objects. "dtml-in"

[Zope] RE : [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-11-19 Thread Kelvin Cheong
dtml-in "category_method(id='1')" size=100 start=query_start id=dtml-var idseq=dtml-var seqvid=dtml-var vid where can i find out more about these properties, i.e. the seq...vid... and so on..? thanx for any directions in advance, later, amoebia VCN - The Leader In Corporate Communication

Re: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-21 Thread Dieter Maurer
[EMAIL PROTECTED] writes: This is FAQ material and should be inserted into either the DTML programmer's guide or the ZSQL Methods guide. It bites everyone who uses SQL methods eventually. ZSQL methods do not perform acquisition, but will look at REQUEST, change it to. A minor

[Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread Theodore Patrick
What is the DTML syntax for nested in statements. Here is an example. EXAMPLE 1: NO VARIABLE PASSING GOAL: loop 4 times and with each loop run the category_method and print out the results: dtml-in "1,2,3,4" dtml-in "category_method(id='1')"

Re: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread jpenny
On Thu, Jul 20, 2000 at 12:27:01PM -0500, Theodore Patrick wrote: What is the DTML syntax for nested in statements. Here is an example. EXAMPLE 1: NO VARIABLE PASSING GOAL: loop 4 times and with each loop run the category_method and print out the

RE: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread Theodore Patrick
THANKS A TON!!! I just found that the following solutions works also: I think the only difference is the id is evaluated in the namespace variable before invoking the SQL_METHOD dtml-in "active_category_method()" dtml-in "category_method(id=(_['id']))" size=100 start=query_start

Re: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread Peter Sabaini
this should work too (untestet): dtml-in "active_category_method()" dtml-in "category_method(id=id)" size=100 start=query_start id=dtml-var idseq=dtml-var seqvid=dtml-var vid /dtml-in /dtml-in ('id' var should be put on the namespace by 'active_category_method()' and gets