title: SAPui5 Routing Passing Parameters
body: <p>I'm trying to passing parameter through routing as step 32 in this link,(<a href="https://sapui5.netweaver.ondemand.com/docs/guide/2366345a94f64ec1a80f9d9ce50a59ef.html" rel="nofollow">https://sapui5.netweaver.ondemand.com/docs/guide/2366345a94f64ec1a80f9d9ce50a59ef.html</a>) but it's not working, I don't know what I'm doing wrong:</p>
  
  <p>ListController</p>
  
  <pre><code>        onPressItemDetail: function(evt) {
  
          var oSource = evt.getSource();
          var oBind = oSource.getBindingContext();
          var sPath = oBind.getPath();
  
          var oRouter = sap.ui.core.UIComponent.getRouterFor(this);
          oRouter.navTo("changeitem", { path : sPath});
  
      },
  </code></pre>
  
  <p>Manifest.json</p>
  
  <pre><code>        "routes": [{
              "pattern": "",
              "name": "first",
              "target": "first"
          }, {
              "pattern": "secondview",
              "name": "second",
              "target": "second"
          }, {
              "pattern": "checkout",
              "name": "checkout",
              "target": "checkout"
          }, {
              "name": "changeitem/{path}",
              "pattern": "changeitem",
              "target": "changeitem"
          }],
  </code></pre>
  
  <p>changeitemcontroller</p>
  
  <pre><code>    onInit: function() {
          var oRouter = sap.ui.core.UIComponent.getRouterFor(this);
          var rChangeItem = oRouter.getRoute("changeitem");
          rChangeItem.attachPatternMatched(this._onObjectMatched, this);
      },
  
      _onObjectMatched: function (evt) {
  
          this.getView().bindElement({
              path: "/" + evt.getParameter("arguments").path,
              model: "item"
          });
  
      },
  </code></pre>
  
  <p>The error showed is :  Can not navigate to route with name changeitem because the route does not exist..</p>