Cairngorm View Locater : Change view based on Change in Command
I was making changes to view based on collection change event till i found out that Cairngorm Event and Cairngorm Event dispatcher go very well like a normal event dispatcher.
To change a view based on the result listen by command, write a Event Meta Tag, Create a Event and dispatch it in result handler of command as show in figure.
And listen this event in main File on initialize as shown in the figure
dispatched event is captured in function and based on this change can be made to View of Cairngorm.