[Zope] dtml-with syntax question

Geoffrey L. Wright geoff@integritysi.com
Wed, 11 Oct 2000 12:06:02 -0800 (AKDT)


So here's a question from a fairly new Zope developer:

I think I am finally getting a decent handle on namespace issues in
Zope, and I can now with the dtml-with tag with reasonable efficacy in
simple situations. But I have run into something of a brick wall on
one issue.

What I would like to be able to do is something like this:

<dtml-with objectName1>
	<dtml-var attribute1>
	<dtml-var attribute2>
	<dtml-var attribute3>
	<dtml-with folder.subFolder.objectName2>
		   <dtml-var attribute1>
	</dtml-with>
</dtml-with>

Where objectName2 is actually an attribute of objectName1.


I figure I _should_ be able to do this, and I'm sure I'm missing
something obvious.  But I spent about a half hour scanning the
Zope.org site and the list archives and can't find an obvious example
of this.

Any thoughts, hints or HOWTOs?



Thanks!


//glw