title: ui5 SplitContainer not passing event data to onBeforeShow in child element
body: <p>I'm writing an OpenUI5 application, utilising a TileContainer Launchpad, SplitContainer, Master and Detail pages. The SplitContainer needs to service three different models, each with the same structure (but different data). This means that the master and detail are reused for each model, but I have to tell the master which model it's using. Sequence goes:</p>
  <p>Launchpad tiles displayed:</p>
  <pre><code>data = model.getData(); // from model, includes an attribute 'model'
                          // to tell the subsequent page which model to use
  if (data &amp;&amp; data.Menu) {
    for (m = 0; m &lt; data.Menu.length; m++) {
      menu = data.Menu[m];
      tc.addTile(new sap.m.StandardTile({
        icon: menu.icon,
        title: menu.title,
        info: menu.title,
        press: navFn(menu.model) // here, the model to use is passed in the function params
      }));
    }
  }
  </code></pre>
  <p>User clicks tile with specific parameters in the 'press' event to indicate which model to use. Navigation function raises the event with the data payload and App controller handles navigation. This works.</p>
  <pre><code>this.bus.publish(&quot;nav&quot;, &quot;to&quot;, {
    id: &quot;my.Main&quot;,
    data: {
        model: model // received from function parameters
    }
  });
  </code></pre>
  <p>Main view (containing a SplitContainer) is called and receives the event <strong>with the supplied event data</strong> in onBeforeShow; and in function onBeforeShow in Main view, we call the Master view with function toMaster on the SplitContainer, supplying the same event data (specifying the model to use)</p>
  <pre><code>onBeforeShow: function(event) { //event contains data.model (verified in debugging)
    var container = sap.ui.getCore().byId(&quot;my.Main.container&quot;);
    container.toMaster(&quot;my.Master&quot;, &quot;show&quot;, { model: event.data.model }); //oData parameter
  }
  </code></pre>
  <p>Master view is called but in method <code>onBeforeShow</code>, event data object <strong>does not contain the previously passed data</strong> for attribute 'model'. And I'm using <code>onBeforeShow</code>, because the documentation explicitly states this is where you will find any data used in <code>toMaster()</code>.</p>
  <pre><code>onBeforeShow: function(event){
    // extract the model from the event data...
    if( typeof event.data.model !== &quot;undefined&quot;) // because event.data.model is not defined, the model is never set :(
       this.getView().setModel(new sap.ui.model.json.JSONModel(event.data.model));
  },
  </code></pre>
  <p>From <a href="https://sapui5.netweaver.ondemand.com/sdk/#docs/api/symbols/sap.m.SplitContainer.html#toMaster" rel="nofollow noreferrer">SplitContainer.toMaster documentation, referring to parameter oData</a></p>
  <blockquote>
  <p>{object}  oData Since version 1.7.1. This optional object can carry any payload data which should be made available to the target page. The &quot;beforeShow&quot; event on the target page will contain this data object as &quot;data&quot; property.</p>
  </blockquote>
  <p>So where's it gone and how do I pass it? I'm basically trying to cascade the event data from the initial view, through a subsequent view, and then on to the final Master view (menu). Any help would be appreciated.</p>