OdesÃlatel: Can Burak Cilingir <canburak@knuth.cs.bilgi.edu.tr> following code ---cut--- ---------var---------- <dtml-var bilgi_cs_index> ------loooooop-------- <dtml-in expr="PARENTS[0].objectValues('DTML Method')" > <dtml-comment>this was returning. this behaviour is a must to illustrate the problem.</dtml-comment> <dtml-var bilgi_cs_index> </dtml-in> ---cut---
displays
---------var---------- No content for this folder. ------loooooop--------
Year 1
address is: http://xxx/Courses/Year_1/ "Year 1" comes from http://xxx/Courses/Year_1/my_index "No content.." comes from http://xxx/my_index (this will be changed with "missing" later.)
Do you know why you use DTML Method, or you use it because you have just few lines of code here? Try to play with acquisition: <dtml with aq_explicit> ---------acq---------- <dtml-var bilgi_cs_index> </dtml-with> --------/acq----------- <dtml-var bilgi_cs_index> But it raise error if you does not have called object here. Please make more comments on what you wan to have and code of bilgi_cs_index and my_index. Regards JL.