I found a soluton that worked: <dtml-let mytest="REQUEST.id"> <dtml-with "_.getattr(PARENTS[0].products.productdb, mytest)"> Marius Kjeldahl