[Zope] get an object based on URL???
Chris McDonough
chrism@digicool.com
Sat, 22 Apr 2000 16:09:32 -0400 (EDT)
Damn, I knew somebody was going to make it that easy. Nevermind what I
said, go do that :-)
On Sat, 22 Apr 2000, Kevin Dangoor wrote:
> ----- Original Message -----
> From: "Kevin Howe" <khowe@performance-net.com>
> To: "ZOPE Mailing List" <zope@zope.org>
> Sent: Saturday, April 22, 2000 3:40 PM
> Subject: [Zope] get an object based on URL???
>
>
> > but it seems like the whole premise of Zope is translating URLs into
> > Objects, is there a routine that can be used in DTML to translate the URL
> to
> > an object reference?
> >
> > Example:
> > <!--#with " ObjectFromURL( 'http://domain/my/object' ) "-->
> > <!--#var id --><br>
> > <!--#/with-->
>
> <dtml-with "REQUEST.resolve_url('http://domain/my/object')">
> <dtml-var id>
> </dtml-with>
>
> Kevin
>
>
> _______________________________________________
> 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 )
>