PDA

View Full Version : "Ajax with XML forms" example uses deprecated or undocumented API



aryairani
2 Mar 2011, 1:54 PM
http://dev.sencha.com/deploy/dev/examples/form/xml-form.html


reader : new Ext.data.XmlReader({
record : 'contact',
success: '@success' // <-------------------- success property not documented? should be 'successProperty'?
}, [
{name: 'first', mapping:'name/first'}, // custom mapping
{name: 'last', mapping:'name/last'},
'company', 'email', 'state',
{name: 'dob', type:'date', dateFormat:'m/d/Y'} // custom data types
]),

Thanks,
Arya