title: How to define and send variable?
body: <p>im new with Sencha Touch 2 and i have a problem working with drupal, json, etc...</p>
  
  <p>It's simple but i can't take the solution.</p>
  
  <p>I have a list who is completed by a json. This json comes from Drupal7 views in json format.</p>
  
  <p>In my view i have something like that:</p>
  
  <pre><code>var listaArtistas = {
          xtype: 'list',
          title: 'Artistas',
          height: 240,
          store: {
              autoLoad: true,
              fields: ['node'],
              proxy: {
                  type: 'ajax',
                  url: 'http://localhost/json-artistas',
  
                  reader: {
                      type: 'json',
                      rootProperty: 'nodes'
                  }
              }
          },
          listeners: {
              itemtap: function(lista,index,target,record,e,eOpts)
              {
  
                  var artistDetail = new Ext.create('app.view.ArtistDetail');
  
                  panelHomeNav.push(artistDetail);
  
              }
          },
  
          itemTpl: tpl
  
          };
  </code></pre>
  
  <p>This code Works for me. And complete de list with the artist.</p>
  
  <p>Now i click in the artist and goes to another view (artistDetail). But to show propertly this list with details of the artist, need the ID of the artist who i cliked before.</p>
  
  <p>I need something like this in artistDetail.... url: 'http://localhost/json-artistasDetail'+NID, where the NID is the ID of the artist who is in the list before. </p>
  
  <p>I don't know how to pass this parameters between 2 views in Sencha</p>
  
  <p>Thanks for help... or read :D</p>