[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    [Zope] Convert URL to object
From:       Rafael Cordones Marcos rcm () bcnartdirecte ! com
Date:       1999-10-31 23:24:17
[Download RAW message or body]

On Sun, Oct 31, 1999 at 08:43:50PM +0200, Itamar Shtull-Trauring wrote:
> I have an attribute Link that contains the URL of an object (e.g.
> "/blah/foo"), and I want to do something like  
> 	<dtml-with Link>
> 	....
> 	</dtml-with>
> 
> which of course doesn't work.
> 
> How to I convert a URL into a reference to an object?

Maybe dereferencing the name?

<dtml-with "_[Link]">
...
</dtml-with>

> 
> -- 
> Itamar - itamars@ibm.net
> ---------------------------o----------------------------------------------o
>  Perl/Gimp Greeting Cards  | Trust? Ha! The US dollar is backed by ICBMs! |
>  http://www.sealingwax.com |      --Anonymous Coward, Slashdot            |
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (Related lists - please, no cross posts or HTML encoding!
> 
> To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )

-- 
Linux. The Choice of a GNU Generation! -> http://www.debian.org 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic