Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1028 by chisvasi...(a)gmail.com: 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