According to the documentation that comes with Zope 2.5.0, the dtl-sqltest tag can take either a variable or an expr="" tag. But when I do this, I get the message "Invalid atrribute name, "expr" for tag <dtml-sqltest..." What's up? - rmgw http://www.electricfish.com/hawkfish/ ---------------------------------------------------------------------------- Richard Wesley Electric Fish, Inc. hawkfish@electricfish.com "Grownups have the most uninteresting explanations for things." - C. S. Lewis, _The Magician's Nephew_
Richard Wesley writes:
According to the documentation that comes with Zope 2.5.0, the dtl-sqltest tag can take either a variable or an expr="" tag. But when I do this, I get the message "Invalid atrribute name, "expr" for tag <dtml-sqltest..."
What's up? You used
<dtml-sqltest expr="your expression" ...> ? No missing "="? No inserted spaces between "expr", "=" and the leading ´"´ of the expression? If you reply with "yes" to all those questions, retry by omitting the "expr=" but retaining the "..." around your expression. BTW, you need to tell "sqltest" the column name, when you use "expr". Dieter
At 9:32 PM +0200 4/12/02, Dieter Maurer wrote:
Richard Wesley writes:
According to the documentation that comes with Zope 2.5.0, the dtl-sqltest tag can take either a variable or an expr="" tag. But when I do this, I get the message "Invalid atrribute name, "expr" for tag <dtml-sqltest..."
What's up? You used
<dtml-sqltest expr="your expression" ...>
?
No missing "="? No inserted spaces between "expr", "=" and the leading ´"´ of the expression?
Nope, nope, nope.
If you reply with "yes" to all those questions, retry by omitting the "expr=" but retaining the "..." around your expression.
Did that too.
BTW, you need to tell "sqltest" the column name, when you use "expr".
Did that too. - rmgw http://www.electricfish.com/hawkfish/ ---------------------------------------------------------------------------- Richard Wesley Electric Fish, Inc. hawkfish@electricfish.com "A little patience and a lot of tape!" - Danny DeVito, _Batman Returns_
participants (2)
-
Dieter Maurer -
Richard Wesley