[Zope] <dtml-if url type contruct>
Jens Grewen
zope@grewen.de
Wed, 25 Oct 2000 03:14:56 +0200
Hi,
I am not quite sure if this is what you want but may this helps
<dtml-with bar>
<dtml-if "REQUEST.has_key('foo')">
do something
</dtml-if>
</dtml-with>
This is not resolving the URL.
If you found a solution let me know.
Jens Grewen
----- Original Message -----
From: "kosh" <kosh@home-dhcp3-127.Colorado.EDU>
To: <zope@zope.org>
Sent: Tuesday, October 24, 2000 10:56 PM
Subject: [Zope] <dtml-if url type contruct>
> What would be the correct dtml-if contrstruct for this behavior?
>
> I want to check and see if zope can resolve a url to a valid object.
>
> Ie does http://foo.com/bar/foo get you to a valid page or is it not
> found.
>
> I need something like <dtml-if http://foo.com/bar/foo> that way I can know
> when to rewrite the url based on zope finding the object or not.
>
> Thanks
> Kosh
>
>
> _______________________________________________
> 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 )
>