16 Oct
2003
16 Oct
'03
11:12 a.m.
--On Donnerstag, 16. Oktober 2003 13:04 Uhr +0200 Giuseppe Bonelli <giuseppe.bonelli@tiscali.it> wrote:
Can someone explain to me why in the following code the line starting with * outputs a null string and the line starting with ** outputs the correct id of the DTMLDocument object ?
<dtml-var standard_html_header> <dtml-in expr="objectItems('DTML Document')" prefix="sequence"> *<dtml-var "sequence_item.id"><br/>
maybe because you haven't understand what the underscore namespace is about. Use <dtml-var "_['sequence-item'].id" > And btw. *never* access the ID of an object why with 'id'. You should *ever* use obj.getId(). -aj