[Zope] Target Help

Bak @ kedai kedai@kedai.com.my
Thu, 28 Feb 2002 23:43:59 +0800





>Hi all:
>
>I using the following:
>
><dtml-let target="'index_html'">
><dtml-call expr="RESPONSE.redirect(target)">
></dtml-let>
>
>But I would like to add variables to the url like this:
>
><dtml-let target="'index_html?me=<dtml-var name>&you=<dtml-var you>'">
>
>This doesn't seem to work the way I would like, is their another way to do
>this?

zope rule # 666
no DTML in DTML
what you can do
<dtml-let target="index_html" you="AUTHENTICATED_USER.getUserName()">
<dtml-call expr="RESPONSE.redirect(target +'?you='+you)">
</dtml-let>

untested


>Thanks,
>Todd
>
>
>_______________________________________________
>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 )
>