Andy writes:
Ive resulted to:
<dtml-with "REQUEST.resolve_url(URL0)"> <dtml-var id> </dtml-with>
DTML Methods aquire the attributes of their parent folders. If you use a DTMLDocument then you can just do <dtml-var id> and you'll get the Document's id. Hope that helps,
But there must be a more efficient method.
----- Original Message ----- From: Andy <andy@agmweb.bc.ca> To: <zope@zope.org> Sent: Sunday, May 14, 2000 1:36 PM Subject: Re: [Zope] Newbie: URL0
Darn I thought that worked, when it didnt. For example: /folderx/foldery/blob_html.... all I get is the foldery, not blob_html.
grrr. ----- Original Message ----- From: Andy <andy@agmweb.bc.ca> To: <zope@zope.org> Sent: Sunday, May 14, 2000 12:52 PM Subject: Re: [Zope] Newbie: URL0
Got it.. I knew it was something obvious... aq_parent...
----- Original Message ----- From: Andy <andy@agmweb.bc.ca> To: <zope@zope.org> Sent: Sunday, May 14, 2000 12:20 PM Subject: [Zope] Newbie: URL0
Hi,
Im trying to access a property of a DTML document which calls about 3 DTML methods. I cant seem to get access to the original document though. Ive tried combinations of URL0, im obviously missing something obvious. Can anyone help?
Thanks in advance.
Andy and Danae McKay Email: dna@agmweb.bc.ca Web: www.agmweb.bc.ca Icq: 37397945
Phone: (604) 990-6762
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.