Issue 688 in moose-technology: Trait browser #build3StackerBis dynamic presentation does not work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 688 in moose-technology: Trait browser #build3StackerBis dynamic presentation does not work

moose-technology
Status: Started
Owner: [hidden email]
CC: [hidden email]
Labels: Type-Defect Priority-Medium Component-Glamour Difficulty-Easy

New issue 688 by [hidden email]: 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.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 688 in moose-technology: Trait browser #build3StackerBis dynamic presentation does not work

moose-technology

Comment #1 on issue 688 by [hidden email]: 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.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 688 in moose-technology: Trait browser #build3StackerBis dynamic presentation does not work

moose-technology
Updates:
        Labels: -Difficulty-Easy Difficulty-Normal

Comment #2 on issue 688 by [hidden email]: 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

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 688 in moose-technology: Trait browser #build3StackerBis dynamic presentation does not work

moose-technology

Comment #3 on issue 688 by [hidden email]: 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

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 688 in moose-technology: Trait browser #build3StackerBis dynamic presentation does not work

moose-technology

Comment #4 on issue 688 by [hidden email]: 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.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 688 in moose-technology: Trait browser #build3StackerBis dynamic presentation does not work

moose-technology
Updates:
        Status: WontFix
        Labels: Milestone-4.6

Comment #5 on issue 688 by [hidden email]: 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.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev