On Fri, 15 Nov 2002, John Levon wrote:

> On Thu, Nov 14, 2002 at 11:29:04PM +0000, John Levon wrote:
>
> > Angus, how on earth are we supposed to cope with "Save" ? Must we really
> > add another type to the state machine ? (if there is workaround, we can
> > remove unused PreferencesPolicy)
>
> Ah, we can send it to input() and call controller().OKButton() then
> controller().save() manually. I  have to do something similar for the
> MVCed tabular too.

Can't you just make controller.OKButton() call save() for you since
"Save" is really just a relabelled OK button?  (overloading maybe?)

I haven't managed to find time to understand how MVC works yet...

Allan. (ARRae)

Reply via email to