I have a ComposeableModel, which contains another ComposeableModel:
        self instantiateModels: #(
                flashCardModel FeFlashCardUI).

I want to refresh child and update the parent.

Before doing "self buildWithSpec",
- Replacing the child's model works: "flashCardModel model: self
newFlashCard."
- But replacing the whole child doesn't work: "flashCardModel := self
newFlashCardUI."

Why? What's the right way to handle this? Thanks.



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Spec-replace-sub-widget-tp4754364.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to