| layout | model := DynamicComposableModel new. model instantiateModels: {#accessor. #TextInputFieldModel}. layout := SpecLayout composed. layout add: #accessor withSpec: TextInputFieldModel defaultSpec. model openWithSpecLayout: layout. leads to: DNU SpecLayoutAddWithSpec(Object)>>doesNotUnderstand: #subwidget: After I added it, I got: DNU SpecLayoutAddWithSpec(Object)>>doesNotUnderstand: #layoutFrame: After I added that, I got: UndefinedObject(Object)>>doesNotUnderstand: #asSymbol SpecInterpreter>>interpretASpec: What do you think? Thanks, Sean
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.
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.
participants (3)
-
Benjamin -
DeNigris Sean -
Sean P. DeNigris