ichester" [EMAIL PROTECTED]>
To: [EMAIL PROTECTED]>
Sent: Sunday, October 08, 2000 8:58 PM
Subject: [Zope] DTML Method not working
> I took some code that was in the (work-in-progress) O'Riley book on
> Zope. In that example, then had a DTML Method used for identifying
> folders
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 08, 2000 8:58 PM
Subject: [Zope] DTML Method not working
I took some code that was in the (work-in-progress) O'Riley book on
Zope. In that example, then had a DTML Method used for identifying
folders and hyperlinking to them
Is the code you used in a DTML Method or a DTML Document?
I figured out (later) that it was indeed the DTML Method/Document issue on the
latter part of my question. Please disregard my last mesage.
Thanks for your help.
Ron
./.
___
Zope
I took some code that was in the (work-in-progress) O'Riley book on
Zope. In that example, then had a DTML Method used for identifying
folders and hyperlinking to them. The code is as follows:
ul
dtml-in expr="objectValues('Folder')"
lia href="dtml-absolute_url;"dtml-var title_or_id/abr/li
r_id/abr/li
/dtml-in
/ul
/dtml-with
The resolve_url(BASE0+'/') should give you a reference to the top Zope
object (root).
hth
Phil
[EMAIL PROTECTED]
- Original Message -
From: "Ronald L. Chichester" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 08, 2000 8:58 PM
Subject:
"Phil Harris" [EMAIL PROTECTED]
To: "Ronald L. Chichester" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, October 07, 2000 9:38 PM
Subject: Re: [Zope] DTML Method not working
Is the code you used in a DTML Method or a DTML Document?
Is it in a DTML Method being call