[Zope] Newbie <dtml-if> question

Juan Carlos Coruņa jcoruna@umd.es
Fri, 7 Apr 2000 09:36:30 +0200


Your statement resolves to: <dtml-if "<dtml-var id>.jpg in somelist">

To resolve to: <dtml-if "'1.jpg' in somelist"> try:

<dtml-if "_.str(id) + '.jpg' in somelist">

-----Mensaje original-----
De: zope-admin@zope.org [mailto:zope-admin@zope.org]En nombre de Stuart
Foster
Enviado el: jueves, 06 de abril de 2000 20:30
Para: 'zope@zope.org'
Asunto: [Zope] Newbie <dtml-if> question


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
MediServe Information Systems

> http://www.mediserve.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 )