[ENH] Automate User Inputs

Avi Bryant avi at beta4.com
Tue Oct 5 16:05:28 UTC 2004


On Oct 5, 2004, at 1:57 AM, John Pierce wrote:

> This changeset will add an enhancement to PopUpMenu and
> FillInTheBlankMorph such that they can request answers to their
> questions by signaling a ProvideAnswerNotification.

Another nice thing about this approach, separate from automation, is 
that it makes #inform: and friends easily cross-UI.  It would be simple 
for me to have Seaside catch the ProvideAnswerNotification and show a 
web form if your model sends #confirm: in the context of a web 
application - I already do this for Warning, for example.  And the same 
could be done to strip out all the ugly Morphic/MVC checks in those 
methods, or to support command line interaction (like my REPLServer, if 
anyone actually uses it).

Avi




More information about the Squeak-dev mailing list