[Zope] - ANN: AutoMessageDialog patch

Kent Polk kent@eaenki.nde.swri.edu
Wed, 13 Jan 1999 16:18:34


Hi John (John Mitchell), in <Pine.SGI.4.05.9901131634130.21231-100000@lemur.magnet.com> on Jan 13 you wrote:

> A policy I've used successfully is to have virtually all apps be
> one-pagers.  That is, the "Fill out Form" and "Oops: please type zipcode
> again" pages are *the same*; except for a bit of code in the header that
> says "if there was a status message, show it; otherwise continue."
> 
> For example, check out this app:
> 	http://www.mayohealth.org/cgi-bin/apps/list_mailer2?list=alzupdate
> 
> Hit the form, type "haha" in the Name form, then press Subscribe.  You'll
> get the same page back with a warning in the top part of the page.  All
> fields remain filled-in, so you the user can just edit his information and
> continue.

We do this quite a bit also, however one should note that care must be 
taken with browser cacheing issues here. POSTs, in particular, can get
quite interesting, especially with Netscape and I.E.

Kent