[Zope] Request data and form data

Li Dongfeng mavip5@inet.polyu.edu.hk
Thu, 16 Sep 1999 14:24:13 +0800


Thanks. That is a way to solve the problem.
Is there any other way to do this?

Anthony Baxter wrote:
> 
> Try using <input type="hidden">  form fields.
> 
> >>> Li Dongfeng wrote
> >
> > Calling a DTML method/document with
> > argument is easy, like:
> >
> >   <A HREF="say_hello?who=<dtml-id>">Say hello</A>
> >
> > This uses URL link to call a DTML document/method.
> > But if I use form submit to call, like
> >
> > <FORM ACTION="say_hello?who=<dtml-id>">
> > <INPUT TYPE='TEXT' NAME="name" SIZE=20>
> > <INPUT TYPE='submit'>
> > </FORM>
> >
> > then the "say_hello" document will respond with
> > "Name Error: who not found". It seems that using
> > form submit cannot transmit request data like "?who=...".
> > Then how can I supply argument to the responding
> > DTML document, in addition to the form data?
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://www.zope.org/mailman/listinfo/zope
> >
> > (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 )
> 
> --
> Anthony Baxter     <anthony@interlink.com.au>
> It's never too late to have a happy childhood.