Re: [Zope] sql query results - DTML method problem

2000-12-18 Thread Dieter Maurer
"Manuel Amador (Rudd-O) writes: #8 dtml-in expr=\"findClassTitle(code=52.139)\" RING: dont do that, dtml wont work in python namespace instead, remember that in python namespace all vars present in dtml namespace are inherited. I do not see a reason, why not to use this

[Zope] sql query results - DTML method problem

2000-12-16 Thread Lee Reilly CS1997
Hi, I have a TINY problem, which I think there is a simple solution too... but for the life of me, I can't find it! I'd be grateful if someone could point me in the right direction. I have a database setup containing details of classes, students lecturers. The user is prompted to enter a class

Re: [Zope] sql query results - DTML method problem

2000-12-16 Thread Pavel V. Piankov
#8 dtml-in expr="findClassTitle(code=52.139)" you might wanna try either dtml-in expr="findClassTitle(code=_['class_code'])" or dtml-in expr="findClassTitle(code=_.getitem('class_code'))" dtml-in expr="findClassTitle(code=dtml-var class_code)" *** syntax error regards. -- pashah

Re: [Zope] sql query results - DTML method problem

2000-12-16 Thread Manuel Amador (Rudd-O) Gerente de desarrollo Alpha
Quoting Lee Reilly CS1997 [EMAIL PROTECTED]: Hi, I have a TINY problem, which I think there is a simple solution too... but for the life of me, I can\'t find it! I\'d be grateful if someone could point me in the right direction. I have a database setup containing details of classes,