Hello all
In the mail example how can i create this things dynamically when the response come from the JSON-RPC call,
<div dojoType="dojo.data.ItemFileWriteStore" jsId="mailStore" url="mail/mail.json"></div>
<table dojoType="dijit.Declaration" widgetClass="demo.Table" class="demoTable" defaults="{ store: null, query: { query: { type: 'message' } }, columns: [ { name: 'From', attribute: 'sender' }, { name: 'Subject', attribute: 'label' }, { name: 'Sent on', attribute: 'sent', format: function(v){ return dojo.date.locale.format(dojo.date.stamp.fromISOString(v), {selector: 'date'}); }} ] }">........
<span dojoType="demo.Table" store="mailStore" query="{ query: { type: 'message' }, sort: [ { attribute: 'label' } ] }" id="foo" jsId="table" style="width: 100%">
<table dojoType="dijit.Declaration" widgetClass="demo.Table" class="demoTable" defaults="{ store: null, query: { query: { type: 'message' } }, columns: [ { name: 'From', attribute: 'sender' }, { name: 'Subject', attribute: 'label' }, { name: 'Sent on', attribute: 'sent', format: function(v){ return dojo.date.locale.format(dojo.date.stamp.fromISOString(v), {selector: 'date'}); }} ] }">........
<span dojoType="demo.Table" store="mailStore" query="{ query: { type: 'message' }, sort: [ { attribute: 'label' } ] }" id="foo" jsId="table" style="width: 100%">
or if any one know the good I/O handling dojo with the php / mysql.
please provide some good example.
Regards
yogesh
