[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: dtml-in

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: dtml-in

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 dtml-var 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

RE: [Zope] expr=id 'index_html issue

2000-10-09 Thread Seb Bacon
try untested but this is a faq: dtml-in expr="objectValues('DTML Method')" sort="title" dtml-if expr="_[id] 'index_html'" td align="center"a href="dtml-absolute_url;"dtml-var title_or_id/a/td /dtml-if /dtml-in that should be dtml-if expr="_['id'] 'index_html'"

Re: [Zope] expr=id 'index_html issue

2000-10-09 Thread Michel Pelletier
Seb Bacon wrote: try untested but this is a faq: dtml-in expr="objectValues('DTML Method')" sort="title" dtml-if expr="_[id] 'index_html'" td align="center"a href="dtml-absolute_url;"dtml-var title_or_id/a/td /dtml-if /dtml-in that should be dtml-if