Hello,
Usman and I use glamour a lot to quickly create cool browsers.
To capitalize some recurrent parts of our browsers, we create subclasses to GLMCompositePresentation and then use it that way:
browser := GLMTabulator withStatusbar.
...structure definition...
browser transmit to: #selector; andShow: [ :a | a custom: (MyCustomPresentation new)].
then we just have to implement the #compose method and everything is fine.
But now i have to transmit data to something else (I want to create a filter that will receive a collection of entities and transmit only a subset of it to another presentation)
I am using some morphs in this custom presentation and on some events I send:
(self pane port: #filtered) value: self filter
In my browser i have a transmission like this:
browser transmit from: #selector port: #filtered; to: #graph; andShow: [ :a | a list display: [ :list | list ] ].
It doesn't work because the pane obtained in my custom presentation is not the one defined in my browser but another one named 'root'.
Maybe i am not using it in the right way but i don't see another way to do it correctly (I would like to avoid to set the right pane in my presentation).
Thanks in advance for your help.
PS: I tried to look in the MooseBook but the server is down
--
Guillaume Larcheveque