Hi, I working on an structure like this: folder1 | folder11 | folder111 I have some objects in folder111 which I want to pass as parameters to a dtml method in folder1 (two levels above). I tried something like: <dtml-with "PARENTS[2]"> <td><dtml-var "mtdCreate(_.None, _, qry_item='par1',qry_table='par2', list_name='par3')"> </td></tr> </dtml-with> where par1 and par2 are strings and par3 is an object in folder111. mtdCreate is in folder1. it doesn't work... How can I do that ------------------------------------------- E-mail enviado pelo servidor do CEFETCampos
Rogerio Atem de Carvalho wrote:
Hi,
I working on an structure like this:
folder1 | folder11 | folder111
I have some objects in folder111 which I want to pass as parameters to a dtml method in folder1 (two levels above). I tried something like:
<dtml-with "PARENTS[2]"> <td><dtml-var "mtdCreate(_.None, _, qry_item='par1',qry_table='par2', list_name='par3')"> </td></tr> </dtml-with>
where par1 and par2 are strings and par3 is an object in folder111. mtdCreate is in folder1. it doesn't work...
How can I do that
You should be able to do: <dtml-with "folder11.folder111"> <td><dtml-var "mtdCreate(_.None, _, qry_item='par1',qry_table='par2', list_name='par3')"> </td></tr> </dtml-with> -- Nick Garcia | ngarcia@codeit.com CodeIt Computing | http://codeit.com
participants (2)
-
Nick Garcia -
Rogerio Atem de Carvalho