Status: Started Owner: damien.c...@gmail.com CC: tudor.gi...@gmail.com Labels: Type-Defect Priority-Medium Component-Glamour Difficulty-Easy
New issue 688 by damien.c...@gmail.com: Trait browser #build3StackerBis dynamic presentation does not work http://code.google.com/p/moose-technology/issues/detail?id=688
I can't make the dynamic presentation in #build3StackerBis to work. Doru asked for simple example with numbers to show the problem.
Comment #1 on issue 688 by damien.c...@gmail.com: Trait browser #build3StackerBis dynamic presentation does not work http://code.google.com/p/moose-technology/issues/detail?id=688
| browser | browser := GLMTabulator new column: #stacker; yourself. browser transmit to: #stacker; andShow: [:c | c dynamic display: [:number | |st| st := GLMStacker new. st aPane: #all. st transmit to: #all; andShow: [:a | a text display: ['All ', number asString]]. st]]. browser openOn: 10.
Updates: Labels: -Difficulty-Easy Difficulty-Normal
Comment #2 on issue 688 by damien.c...@gmail.com: Trait browser #build3StackerBis dynamic presentation does not work http://code.google.com/p/moose-technology/issues/detail?id=688
Name: Glamour-Tests-Morphic-DamienCassou.70 Author: DamienCassou Time: 28 July 2011, 1:35:10 pm UUID: 352e0ac3-551f-4382-80f7-a39c6d1a8042 Ancestors: Glamour-Tests-Morphic-DamienCassou.69
Issue 688: Trait browser #build3StackerBis dynamic presentation does not work
- Adds two tests for dynamic presentations, one is failing
Comment #3 on issue 688 by damien.c...@gmail.com: Trait browser #build3StackerBis dynamic presentation does not work http://code.google.com/p/moose-technology/issues/detail?id=688
We now have to fix the code so that the unit test pass and the above example work
Comment #4 on issue 688 by tudor.gi...@gmail.com: Trait browser #build3StackerBis dynamic presentation does not work http://code.google.com/p/moose-technology/issues/detail?id=688
I have been pondering about this issue for a while now. The way to get your example to work is by explicitly start the browser with the desired input (see below). The reason is that the dynamic presentation installs the browser, but the browser should still trigger the internal transmissions. The internal transmissions are triggered by changes in the external ports, but as you install the browser *after* the external ports were set, the browser does not know about it.
| browser | browser := GLMTabulator new column: #stacker; yourself. browser transmit to: #stacker; andShow: [:c | c dynamic display: [:number | |st| st := GLMStacker new. st aPane: #all. st transmit to: #all; andShow: [:a | a text display: ['All ', number asString]]. st startOn: number ]]. browser openOn: 10
I tried before to get a default behavior working, but the thing is that we do not know what ports should be triggered and in what order. So, at the moment, the way to work with it is by explicitly starting the browser.
Updates: Status: WontFix Labels: Milestone-4.6
Comment #5 on issue 688 by tudor.gi...@gmail.com: Trait browser #build3StackerBis dynamic presentation does not work http://code.google.com/p/moose-technology/issues/detail?id=688
I will close it for now.
Let me know if you have other ideas.