Here's a snippet from my builder method:
... views do: [ :d | container tree act: [ :tree :projects | "change the model." tree update ] iconName: #back on: $n entitled: 'New Project'; ... ].
Each tree represents a different view on the same data. When the action is performed, they all need to be updated. I tried replacing `tree update` with `container update`, but that didn't work.
Ideas?
----- Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html
Hi,
Glamour has a prototype-based design. So, inside the blocks, you will get runtime instances that are different from the ones that have as input. So, container will be a different one.
You get the presentation in the block and that is the right instance. You should be able to do: tree pane update.
Cheers, Doru
On Sep 25, 2019, at 7:49 PM, Sean P. DeNigris sean@clipperadams.com wrote:
Here's a snippet from my builder method:
... views do: [ :d | container tree act: [ :tree :projects | "change the model." tree update ] iconName: #back on: $n entitled: 'New Project'; ... ].
Each tree represents a different view on the same data. When the action is performed, they all need to be updated. I tried replacing `tree update` with `container update`, but that didn't work.
Ideas?
Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html _______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- feenk.com
"Value is always contextual."
Tudor Girba-2 wrote
You should be able to do: tree pane update.
That worked. Thanks :)
----- Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html