oops.. replace: <dtml-call "REQUEST.set('baseobject', _.getitem(baseobject, 0)"> with: <dtml-call "REQUEST.set('baseobject', _.getitem(baseobjectstring, 0)">