Hello everybody.

I've got a problem for several days.
I'm trying to load a multidimensional data array with a JsonStore and load it into a XTemplate.

My Data is something like that :

Code:
[{
  "total":"1", 
  "result":
  [{
    "id_project":"1",
    "name_project":"Test",
    "depts":
    [{
      "id_dept":"1",
      "name_dept":"Commercial",
      "workers":
      [{
        "id_user":"1",
        "name_user":"John Doe",
        "planning":
        [{
          "day":"2010-10-02",
          "hours":"7"
        },{
          "day":"2010-10-20",
          "hours":"10"
        }]
      },{
        "id_user":"2",
        "name_user":"Jane Doe",
        "planning":
        [{
          "day":"2010-07-02",
          "hours":"7"
        },{
          "day":"2010-06-20",
          "hours":"10"
        }]
      }]
    }]
  }]
}]
When I load my data from the store, i can put it into a Xtemplate but can't access deeper than workers.name_user.

My Template is like that :

Code:
var tpl = new Ext.XTemplate
(
  '<tpl for=".">',
    '<div>'
      '<p>{id_project}</p>',
      '<tpl for="depts">',
        '<div>',
          '<p>{name_project}</p>',
          '<tpl for="workers">',
            '<div>',
              '<p>{name_user}</p>',
              '<table>',
                '<tpl for="planning">',
                  '<tr>',
                    '<td>{day}</td>',
                    '<td>{hours}</td>',
                  '</tr>',
                '</tpl>',
              '</table>',
            '</div>',
          '</tpl>',
        '</div>',
      '</tpl>',
    '</div>',     
  '</tpl>',
);
Is it possible to put a template in a template and what can I do to access all my data ?

Thanks for your answer.