You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Reported by chisvasileandrei on 2013-12-12 14:00:06
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 1028
Reported by
chisvasileandrei
on 2013-12-12 14:00:06The text was updated successfully, but these errors were encountered: