[Zope] dtml-var AND dtml-tree

nuno nuno@fccn.pt
Wed, 14 Mar 2001 18:20:11 -0000


Hello,
I'm trying to submit a form to a dtml-document (as action)
which i did. But if a have a dtml-tree in the action Document
the recursion doesn't work on clicking on the +/- icon when i try to access
a dtml-var
passed through the form.

something like this:
dtml-document_one has:
<form .... action="dtml-document_two">
<input type="text" name="test" value="0">
</form>

dtml-document_two has:

<dtml-tree expr="PARENTS[0].dir1.dir2"
branches_expr="objectValues(['Folder','DTML Document'])">
      <IMG border="0"  SRC="<dtml-var SCRIPT_NAME>/<dtml-var icon>">
      <dtml-var id>
</dtml-tree>

<dtml-var test>


If i click on the +/- of the tree it gives me an error on finding the object
test !
The value is displayed on the first load, but the recursion doesn't work !!

Has anyone accomplished something like this working ???

thanks,
Nuno