"T.J. Mannos" <[EMAIL PROTECTED]> writes:
> Hi, there,
>
> I have a DTML document called "apples".
>
> A call to gives the string "apples"
>
> However, a returns false. Am I missing
> something? I've tried _.str(document_id) and even
> _.string.strip(_.str(document_id)).
document_id is a function,
document_id() returns the document_id.
dtml-var calls any function automatically,
python (inside the quotes) doesn't.
Compare
--
Jens Quade * [EMAIL PROTECTED] * Bonn
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )