Allan Rae <[EMAIL PROTECTED]> wrote:
> > To fix this bug we need to extend the ButtonController a little. However,
> > this demonstrates the power of
> > Asger's Model/View/Controller separation; the bug is present in many
> > dialogs but correct the controller and all the GUI's benefit. Ok, I know.
> > ButtonController is Xforms-specific at the moment, but it should be made
> > generic.
>
> How generic? All of the code in BC is xforms specific. That's the point
> of the Policy and Controller separation. Perhaps you just want an
> abstract base class?
Things became a little clearer with sleep!
an astract base class for BC and for View is exactly what I want.
> I'll get back to reading this fully later tonight (better go do some work
> soon) but maybe you should ask:
>
> Why does input() say the inputs are invalid when Dekel clicks on a key?
>
> AFAI can see input should be returning true not false.
This is correct. I have almost certainly got mixed up here, trying not to
activate the buttons by simply clicking on the keys. The bug is mine!
However, the point of the previous mail was to extend the ButtonController to
get the behaviour I want and that still holds.
> Anyway as I said, I'll reread your proposal later tonight and comment
> again then.
Please do. I value the input.
Angus