[Zope] GET vs. POST

Charles Zealey charles1@itsolve.co.uk
Sat, 10 May 2003 08:48:28 +0100


What a lot of good ideas from one simple post (POST?).  Thank you.

Charles
----- Original Message -----
From: "David Hassalevris" <bluepaul@earthlink.net>
To: "Dennis Allison" <allison@sumeru.stanford.EDU>
Cc: <zope@zope.org>
Sent: Saturday, May 10, 2003 12:44 AM
Subject: Re: [Zope] GET vs. POST


> Dennis,
>
> A good while ago Jim Penny posted a message that described a really
> interesting coding
> construct.  One of it benefits is that the URL always stays the same.
>
>  I never thanked Jim for posting the original msg but I've put this
> technique to good use!
>
> The idea is the you turn your INDEX_HTML into something of an infinite
loop.
>
> If is filled with statements like:
>
> <DTML-IF current_state = 'MAIN' and action = 'VENDORS'>
>   <dtml-var vendorsForm>
> <DTML-IF current_state = 'MAIN' and action = 'EMPLOYEES'>
>   <dtml-var employeesForm>
>
> Anyway, you can find original article at
>
>
http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687
f0024bb5f/91d6497a4b1c5ade802569dd005d5881?OpenDocument
>
> David
>
> > My original question was to find a way to eliminate the display of
> > information in the browser's address window.  Typically this comes
> > from passing information with a URL either by having an actual hyperlink
> > or through using a redirect and passing parameter with it.
> >
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@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 )
>