[Zope] accessing REQUEST variable
Mike Doanh Tran
mtran at shufflemasterrd.com
Wed Oct 15 13:56:32 EDT 2003
Thanks Andreas, LOL. I was trying to make it harder then it was.
Mike
On Wednesday 15 October 2003 11:35 am, you wrote:
> --On Mittwoch, 15. Oktober 2003 11:25 Uhr -0600 Mike Doanh Tran
>
> <mtran at shufflemasterrd.com> wrote:
> > What am i doing wrong here?
> >
> > I am trying to access a variable passed from a form. I named the input
> > field current_delivery plus a Cust_ID(see below). The variable that i
> > am tried to accessed is part a string and a variable. I've tried to
> > contatenate the "string + variable" with the let tag and used that to
> > access the REQUEST variable.
> >
> > <input type=text name="current_delivery<dtml-var Cust_ID>" value="">
> > <input type=hidden name="rec.Cust_ID:records">
> > ----------------------------------------------------------------------
> > <dtml-in rec mapping>
> > <dtml-let delivery="'current_delivery'+Cust_ID">
> > <dtml-var "REQUEST['delivery']">
>
> <dtml-var "REQUEST['delivery']">
>
> You're trying to get the key 'delivery' instead of the key that is
> stored in the 'delivery' variable. So pass the variable and *not*
> the string.
>
> -aj
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list