Hi
 
Somehow my code isn't working like expected:
 
Without the 1st dtml-in loop the PARENTS[0].objectValues brings the results as expected. If I add the 1st loop the results are wrong. They are on level to low ...
 
Has anyone a idee how I can do this?
 
<dtml-in "objectValues(['kiscImageContainer'])" sort=ImgSequenceNo> //1st

  <dtml-in "objectValues(['kiscImageDetail'])"> //2nd
    <dtml-if expr="ImgCoDefaultImageType==ImgDeImageType">
       
      <dtml-in "PARENTS[0].objectValues(['kiscImageDetail'])">
        do something
      </dtml-in>
 
      <dtml-var sequence-item>
    </dtml-if>
  </dtml-in>
 
</dtml-in>
Thanks for your help
Stefan