Hi Baskar, You could create a mixin that contain the additional properties (in your case, the address property), then have have the marshaller include that mixin in the classes it creates. To do this, you cou can provide the marshaller with a delegate [1] to let it know about the mixins.
[1] http://demo.qooxdoo.org/current/apiviewer/#qx.data.marshal.IMarshalerDelegate Regards, Marc On 14-02-13 11:07, baskar wrote: > Hi, > I want to change/update a model in run time which is created with > qx.data.marshal.Json.createModel(def.model) function. > > How to do it? de.model is a JSON definition for model which is look like > this : > { > f_name: "baskar", > l_name: "vignesh" > } > > for example i want to add "address" field with this existing model. > so > > { > f_name: "baskar", > l_name: "vignesh", > address: "blah blah blah" > } > > > How to do it? anyone plz help me. Thanks in advance > > > > > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/How-to-add-new-item-to-qx-data-marshal-Json-createModel-def-model-tp7582828.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
