[Zope] expr

2000-10-25 Thread Tom Deprez
I get an error when using following expr: This is due to the . in ADDRESS.CENTRE_NO how can I use ADDRESS.CENTRE_NO so that I don't get this error? Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] expr="id <> 'index_html" issue

2000-10-09 Thread Michel Pelletier
Seb Bacon wrote: > > > > > try : > > > > > > > >> title_or_id> > > > > > > > > that should be > > > > (quotes round id) > > > > would also work. This is because sometimes id is a property, sometimes it's > a method. The former version would work in every case; th

RE: [Zope] expr="id <> 'index_html" issue

2000-10-09 Thread Seb Bacon
> > try : > > > > title_or_id> > > > that should be (quotes round id) would also work. This is because sometimes id is a property, sometimes it's a method. The former version would work in every case; the latter only where id is a method. It's annoying, but there'

Re: [Zope] expr="id <> 'index_html" issue

2000-10-09 Thread Tino Wildenhain
hi, as usual, if such things happen, "id" is a method. it gets called by zope if you just use on it. So either use id() or better, look for title and if not set (dont set a title on html_index then) dont display it. Regards Tino [EMAIL PROTECTED] wrote: > > Okay, this is my second question f

Re: [Zope] expr="id <> 'index_html" issue

2000-10-09 Thread Rik Hoekstra
> Okay, this is my second question for the day. Hopefully it won't be as easy as > the first -- otherwise, I'll have to stick to practicing law. > > I'm looking for a way to list the DTML Methods in a folder -- except the > index_html method. So far, I've had to do it by using this: > > >

[Zope] expr="id <> 'index_html" issue

2000-10-09 Thread complaw
Okay, this is my second question for the day. Hopefully it won't be as easy as the first -- otherwise, I'll have to stick to practicing law. I'm looking for a way to list the DTML Methods in a folder -- except the index_html method. So far, I've had to do it by using this: This