You were right - I did just send it to him.

----------------------------------------------------------------------------
------------------------------

Ah yes, I should have mentioned this.  I need to de-couple the actions from
the output.

I have begun to implement the web site using a simple binary state machine
where the current page, based on user input, directs both the action (if
any) and the next page.  This 'next page' can follow any number of different
actions or even no action at all (in the case of a simple navigation).  As
such, I envisioned taking advantage of run modes to implement a two stage
decision tree - ie, have each current page set an 'action' mode param value
and a 'new page' mode param value.  Then, I could use run() to invoke the
first (again, if any) subroutine, change the mode param, and then invoke the
second subroutine which would create the output.

Sorry I didn't make this more clear - as several of you have pointed out, I
must eventually create some output!  BTW - I am also using HTML:Template as
the author suggests.

Comments?
Elizabeth


-----Original Message-----
From: Brett Sanger [mailto:[EMAIL PROTECTED]]On Behalf Of Brett
Sanger
Sent: Friday, October 19, 2001 11:51 AM
To: Elizabeth Vaughn
Subject: RE: [cgiapp] How to suppress "print" in run()?


> Doesn't this couple my action to my output?  See my reply to DJCP ...

I'm not seeing this reply -- either I deleted it and don't remember it, or
my mail is slow (or it went only to him).

I guess the question is...The user is on a web page, they follow a link to
perform an action.  _SOMETHING_ needs to appear on their screen, what do
you want it to be?  I described a solution that would just update the
screen, but it seems you want something else.




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

Reply via email to