I noticed that the “view” listen scope doesn’t seem to pickup messages on the same view, I have to set any component message hander to include “page” for it to work.
Example:
A Tree component has a message handler on it with listen scope set to view only.
A separate button is on the same (coordinate view). No other containers or components exist on the view.
The button calls the message handler.
It only works if I set the message handler to include ‘page’ that it works.
Just setting the scope did not fix the issue... I had to include the messageType="message" param too for it to start working! Thanks for including this example to copy/paste
Well, messageType is the name of the message to be sent and should match the name of the handler catching it... You can't possibly expect it to work without this parameter !