What you wanna do is

model := DynamicComposableModel new.
model instantiateModels: {#accessor.  #TextInputFieldModel}.
layout := SpecLayout composed.
layout add: #accessor withSpec: #defaultSpec.
model openWithSpecLayout: layout.

maybe the message should be add:withSpecSelector:

Ben

On May 28, 2013, at 10:42 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:

Sean P. DeNigris wrote
leads to:
DNU SpecLayoutAddWithSpec(Object)>>doesNotUnderstand: #subwidget:

That was in 2.0, in 30172, I get:
MessageNotUnderstood: DynamicComposableModel>>getText



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Spec-add-withSpec-Bug-tp4690523p4690525.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.