Chris Withers writes:
> If you do <dtml-with object> where object is something callable, it
> calls it.
>
> That's a bit unpleasant for things like Squishdot Sites which do
> something (return a list of all their elements) when you call them.
>
> So the only way to _really_ do what I thought dtml-with is for was to do
> <dtml-with "object"> which is sucky to say the least.
I, definitely, prefer the current implementation to making
"with" the (only) exception: currently, whenever you
use the name parameter of a tag, the object is called
when it is callable.
If this would be changed, I am almost sure, Chris Withers would later
complain about the inconsistency :-)
Dieter
_______________________________________________
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 )