A global view does not use a context, only object views have the notion of object context, i.e. the currently selected object in the navigator (their mediators implement IContextObjectHolder).
NavigationRequest.targetProperties can be used to pass a bag of properties to the target extension.
For instance in globalview-ui SettingViewMediator change onLinkButtonClick to this:
and in MainView.xml add the settings property that will get set during the NavigationRequest:
<mx:Script>
<![CDATA[
import com.vmware.samples.globalview.Util;
import mx.controls.Alert;
/**
* The settings property is set by the NavigationRequest in SettingViewMediator,
* this is an example of passing data between two views.
*/
public function set settings(value:String):void {
// Simple debug message
Alert.show("Navigating from Settings view, current values are: " + value);
_settings = value;
}
private var _settings:String;