Apologies for not being clear in my mail. The key is that the UI is being opened as a dialog box, generating the OK and Cancel buttons. All this logic is explained in the section "Opening a dialog box and its configuration options”. This also talks about configuring what to do when these buttons are clicked.
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see
.
PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile
> On Sep 7, 2016, at 18:07, Brad Selfridge <
[hidden email]> wrote:
>
> Read the chapter. Being new to Spec, I'm still confused because I don't see
> clear evidence in the chapter that would fix the problems that are occurring
> in the InputWidget.
>
> I did, however, read your documentation referring to the TextFieldInputModel
> example. After reading that, I created a TextPrompterWidget, (which is a
> direct copy of InputWidget). I changed the super class to
> DynamicComposableModel. I modified the "initializeWidgets" method, removed
> the "OK" method, and made a few other small modifications and got the widget
> to work as expected. I DID have to open the widget with "openDialogWithSpec"
> as that was the only way to auto-magically get the OK-Cancel toolbar widget.
> I'd share my code if you want.
>
>
>
> -----
> Brad Selfridge
> --
> View this message in context:
http://forum.world.st/Spec-InputWidget-question-tp4914439p4914673.html> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>