4 Jul
2002
4 Jul
'02
11:54 a.m.
| OdesÃlatel: Dieter Maurer <dieter@handshake.de> | It seems that you would like to render "index.htm" if it exists | in the current folder and do something else, otherwise. Yes, but it is in my initial question. I am sorry, but I need to learn english more (I know low word count). | The following code is not completely safe but may be sufficient | for your purposes: | | <dtml-if "_.hasattr(aq_explicit,'index.htm')"> | <dtml-var index.htm> | <dtml-else>.... | </dtml-if> Absolutelly sufficient and works :) Why it is not completely safe? Many thanks, Jaroslav Lukesh