[Zope] Re: namespaces

Hannu Krosing hannu@trust.ee
Fri, 14 May 1999 12:43:33 +0300


Kent Polk wrote:
> 
> On 13 May 1999 21:31:03 GMT, Kent Polk wrote:
> >
> >In the following example, "columns" is a method that returns the
> >list of columns wrapped in a Results object. "col2" is the name of
> >one of the columns. Line 3 and line 5 provide the correct answer.
> >Line 6, however is looking at the columns namespace to render the
> >results and there's no data there.
> >
> >1: <!--#in table-->
> >2:  <!--#if sequence-end-->
> >3:   <!--#var "_['count-col2']"-->
> >4:   <!--#in columns-->
> >5:     <!--#var "_[colname]"-->
> >6:     <!--#var "_['count-'+colname]"-->

maybe you mean "_['count-' + _['colname']]"

> >7:   <!--#/in-->
> >8:  <!--#/in-->
> >9: <!--#/in-->
> >

Hannu