Issue 1028 in moose-technology: the transformation block is not called correctly

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

Issue 1028 in moose-technology: the transformation block is not called correctly

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1028 by [hidden email]: the transformation block is not  
called correctly
http://code.google.com/p/moose-technology/issues/detail?id=1028

When using a transmission with a transformation block, the transformation  
block is not called when creating the presentations. The code bellow will  
show a list from 1 to 10 instead of one from 1 to 20:

browser := GLMTabulator new.
browser row: #row.
browser transmit
        to: #row;
        transformed: [ :anInt |  anInt+10 ];
        andShow: [ :aComposite :anInt |
                aComposite list
                        display: [ 1 to: anInt ] ].
browser openOn: 10.

The transformation block is only called when populating the port, which  
happens after the presentation was created.

This can be fixed by modifying GLMPresentStrategy>>presentations to use the  
transformation, but the the block will be called two times.

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
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 1028 in moose-technology: the transformation block is not called correctly

moose-technology
Updates:
        Labels: Component-Glamour

Comment #1 on issue 1028 by [hidden email]: the transformation block  
is not called correctly
http://code.google.com/p/moose-technology/issues/detail?id=1028

(No comment was entered for this change.)

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev