[Zope] dtml-var AND dtml-tree
Thomas B. Passin
tpassin@mitretek.org
Thu, 12 Apr 2001 11:13:11 -0400
Danny William Adair wrote -
> For the people who have problems with dtml-tree's "urlparam" only handling
> constants...
>
> I patched "lib/python/TreeDisplay/TreeTag.py" so that I can have a
parameter
> "urlparam_var", an object on the namespace that holds the querystring I
want
> to insert. This is the first time I patched zope internals, but it works
> fine. Maybe someone who knows better can comment on this.
>
It's always a temptation to patch and add features since it's so easy to do
with Zope. But it's a bit dangerous because the changes could get lost or
forgotten when you upgrade to a new version. Also, other people can't use
your code unless they install the changes too.
Cheers,
Tom P