How to reference PARENTS' Document
Hi, If B is a folder of folder A, how can I reference a Document,eg, index_html of folder A in a DTML Document of folder B? I can reference a property of folder A by <!--#var "PARENTS[1].propertyId-->, but I can't figure out the above I asked. Any idea? T.C. Huang
At 12:28 01/06/99 , T. C. Huang wrote:
Hi, If B is a folder of folder A, how can I reference a Document,eg, index_html of folder A in a DTML Document of folder B? I can reference a property of folder A by <!--#var "PARENTS[1].propertyId-->, but I can't figure out the above I asked. Any idea?
T.C. Huang
If you mean including the result of index_html in your DTML Document/.method, you have to 'call' index_html, as it is a method: <!--#var "PARENTS[1].index_html()"--> This is untested, however =). -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (2)
-
Martijn Pieters -
T. C. Huang