[Zope] Links between DTML language and Python language...

2000-06-08 Thread QUIN Frédéric

Hello all,


In the last mail I sent, I explaint my problem to know if a specified item is
in a list. Oleg helped me and said that : "Learn Python". Now, I wonder if
there are strong links between DTML language and Python language. Because, in
the DTML language reference, you can find nothing meaning that.

Sometimes, I see functions used in DTML which are not referenced in DTML
language reference. I guess that it's Python functions. So, I ask the question
if it's advised to be introduced to Python before programming in DTML. I would
like to know too, if there is any rule that specify how to use Python functions
in DTML language, and if all Python functions are accessible in DTML...


Thanks,
Fred

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] get objects DTML Document having Property order...

2000-05-30 Thread QUIN Frédéric

Hello,


I want to do :
dtml-in "objectValues('DTML Document')" sort=order
...
/dtml-in

I have some DTML Documents which don't have the property "order", and I
don't want to consider those documents in my loop. But if I put the
"sort=order" option, Zope raises an error

How can I do ???


Thanks a lot,
Frederic

___
Zope maillist  -  [EMAIL PROTECTED]
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 )