We're using ExtJS in combo with some Active4D development as well. I
ended up tweaking the "a4d.json" library's "encode" and "encodeString"
methods to accept a second parameter that determined whether to write
out the result as a string or a literal. When configuring Ext
components, we just pass in the second parameter. When writing out data,
we don't.

I'm not sure why it is necessary to change anything. A string or a number is the same in either case. The keys are quoted, but that has no effect on Ext.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to