I have a pretty simple class and I'm using a GLMFinder to browse its contents. If I make changes to the instance I'm browsing, it doesn't look like Glamour detects the changes and refreshes. I'm using self changed: #property in the setter. If I navigate backwards and unselect, and re-browse into it, it sees the changes. What should I do? Thanks again! â Daniel Lyons
Could you provide the code snippet you use for building the finder browser? Cheers, Doru On Sun, Dec 21, 2014 at 3:46 AM, Daniel Lyons <fusion@storytotell.org> wrote:
I have a pretty simple class and I'm using a GLMFinder to browse its contents. If I make changes to the instance I'm browsing, it doesn't look like Glamour detects the changes and refreshes. I'm using self changed: #property in the setter. If I navigate backwards and unselect, and re-browse into it, it sees the changes. What should I do?
Thanks again! â Daniel Lyons
-- www.tudorgirba.com "Every thing has its own flow"
Doru, buildBrowser browser := GLMFinder new. browser show: [ :a | a list display: #children; format: #title ]. browser title: 'Project Browser' And then #title: looks like this: title: anObject title := anObject. self changed: #title
On Dec 21, 2014, at 12:56 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Could you provide the code snippet you use for building the finder browser?
Cheers, Doru
On Sun, Dec 21, 2014 at 3:46 AM, Daniel Lyons <fusion@storytotell.org <mailto:fusion@storytotell.org>> wrote: I have a pretty simple class and I'm using a GLMFinder to browse its contents. If I make changes to the instance I'm browsing, it doesn't look like Glamour detects the changes and refreshes. I'm using self changed: #property in the setter. If I navigate backwards and unselect, and re-browse into it, it sees the changes. What should I do?
Thanks again! â Daniel Lyons
-- www.tudorgirba.com <http://www.tudorgirba.com/>
"Every thing has its own flow"
â Daniel Lyons
Hi, You should use announcements. See here some explanations: http://www.themoosebook.org/book/internals/glamour/update And a live example can be found at: GLMBasicExamples>>updateableBrowser Cheers, Doru On Sun, Dec 21, 2014 at 10:36 PM, Daniel Lyons <fusion@storytotell.org> wrote:
Doru,
buildBrowser browser := GLMFinder new. browser show: [ :a | a list display: #children; format: #title ]. browser title: 'Project Browser'
And then #title: looks like this:
title: anObject title := anObject. self changed: #title
On Dec 21, 2014, at 12:56 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Could you provide the code snippet you use for building the finder browser?
Cheers, Doru
On Sun, Dec 21, 2014 at 3:46 AM, Daniel Lyons <fusion@storytotell.org> wrote:
I have a pretty simple class and I'm using a GLMFinder to browse its contents. If I make changes to the instance I'm browsing, it doesn't look like Glamour detects the changes and refreshes. I'm using self changed: #property in the setter. If I navigate backwards and unselect, and re-browse into it, it sees the changes. What should I do?
Thanks again! â Daniel Lyons
-- www.tudorgirba.com
"Every thing has its own flow"
â Daniel Lyons
-- www.tudorgirba.com "Every thing has its own flow"
participants (2)
-
Daniel Lyons -
Tudor Girba