Stephen,

Very intriguing!  I will give this a whirl.

Thanks,
Elizabeth

> 
> Hi all,
> 
> Elizabeth, what you might want to condsider is that the run 
> mode parameter helps you indicate what you want your App to do "right
> now", and subsequent actions need to be determined 
> subsequently.  So if you've got a sequence of Web form -> 
> Action -> Next Page,
> where the order is not completely pre-determined (or even if 
> it is), I'd reccommend doing something like this:
> 
> 1) Single run mode param to tell your application which 
> Action to do after the form.
> 2) The Action run-mode then grabs another form-field 
> parameter from $self->query()->param('foo') and then sends 
> redirect headers
> back to the browser with a new url.
> 3) That new url points back to the application script with 
> that form parameter as the new run mode.
> 
> In addition to better de-coupling your run modes, you also 
> get the advantage of making it impossible for the user to accidentally
> reload the page and resubmit the form.
> 
> HTH,
> 
> Stephen
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to