[Zope] dtml-in ???
Luis Cortes
lcortes@pollak.com
Tue, 2 May 2000 11:20:56 -0600
Try the following to see if you get anything at all.
<dtml-var "objectItems()">
for some reason, when I do it, it returns nothing. If it returns anything at
all,it should render it.
like
<dtml-var "objectMap()">
does.
good luck.
On Tue, 02 May 2000, you wrote:
>> On 02-May-2000 Pierre Rougier wrote:
>> > <dtml-in "objectItems('DTML Method')" sort=id>
>> > <dtml-if "id == index_html">
>> > <dtml-var "read_raw()" html_quote>
>> > </dtml-if>
>> > </dtml-in>
>> >
>> > As u can see, I want to test if the methods I extract from the methods
>> > that exists have special names, to treat it in different manners.
>> > Problems is that the <dtml-if "id == index_html"> test does not seem to
>> > work.... It can sound a very simple syntax question, but how can I test
>> > the method name???
>>
>> Using <dtml-if "id = 'index_html'"> should work. Have to make sure you are
>> comparing the id to a string value.
>>
>> --
>> M. Adam Kendall | Got Linux?
>> Internetworking & | We do.
>> Security Architect |
>> akendall@devis.com | http://www.devis.com
>>
>>
>> _______________________________________________
>> Zope maillist - Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> ** No cross posts or HTML encoding! **
>> (Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
--
======================================================
Luis Cortes
Pollak EPD (915) 621-6113
======================================================