[Zope] Newbie <dtml-if> question

Peter Sabaini sabaini@niil.at
Thu, 6 Apr 2000 22:39:42 +0200 (CEST)


you would have to use something like 

  <dtml-if "id in somelist">

where id would contain the jpg part. if the id contains a point this
should be (indirect lookup)

  <dtml-if "_['id.jpg'] in somelist">

because the point is special to zope.




On Thu, 6 Apr 2000, Stuart Foster wrote:

:I have the following statement:
:
:<dtml-if "'<dtml-var id>.jpg' in somelist">
:  DoSomething
:</dtml-if>
:
:id is some arbitrary numeric value that will change. 
:
:Is the If tag being resolved to: <dtml-if "'1.jpg' in somelist">
:or <dtml-if "<dtml-var id>.jpg in somelist">  
:
:
:Thanks
:
:Stuart Foster


-- 

_________________________________________________
peter sabaini, mailto: sabaini@niil.at
-------------------------------------------------