[Zope] Convert URL to object

Rafael Cordones Marcos rcm@bcnartdirecte.com
Mon, 1 Nov 1999 00:24:17 +0100


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