Hi,
The first parameter of an action is the presentation. And the presentation has access to its pane. So, the preferred way is for the presentation to only talk with its pane and then let transmissions deal with links between panes. So, you can do:
a somePresentation act: [:p :entity | (p pane portNamed: #somePort) value: entity something] on: $x entitled: 'Update'
or shorter:
a somePresentation update: #somePort on: $x entitled: 'Update' with: [:p :entity | entity something]
So, I guess that the buttons in your case are part of an ActionList that is placed in one pane. So, you could populate 6 different ports in that pane and then have one transmission from all ports to the mondrian pane (entity port).
Is this better?
Cheers, Doru
On 21 Jan 2010, at 02:11, Johan Fabry wrote:
I'd love to. How?
Seriously. It has never been made clear to me how I myself can send a transmission from a button or menu item to a pane such that it refreshes itself.
On 20 Jan 2010, at 18:19, Tudor Girba wrote:
Hi,
Why is it not possible to have a single transmission from all the buttons to the mondrian pane and decide the visualization based on all provided input?
Cheers, Doru
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."