19 Mar
2001
19 Mar
'01
3:51 p.m.
On Mon, Mar 19, 2001 at 09:06:43AM -0600, Tim Cook wrote:
<dtml-with "_.getitem(doc_id)"> <dtml-call expr="???"> </dtml-with>
Ahh, getitem returns the value of a dtml variable: <dtml-with "_.getitem(doc_id)"> <dtml-call expr="manage_edit('some text','')"> </dtml-with> OK this works fine! What's more in <dtml-with "_.getitem(doc_id)"> <dtml-call expr="manage_edit(_.getitem('template',1),'')"> </dtml-with> another getitem inserts the rendered version of the dtml-method template into doc_id. Which is the same as calling template(_.None,_), isn't it. There is hope! Maybe i'll grok zope sometime :) Thanks again! Bernd -- -----Bernd Worsch-----------bernd.worsch@frontsite.de--------