26 Dec 2010 10:35 AM #1
Loading a form made of comboboxes and other components using one server call
Im running my server on an embeded lynux with very little resources and tying to keep the trips to the server to minimum.
To load a form with over 20 comboboxes with one server call am running the following code (thanks to the great advice of Condor)
Now, the form acctualy contains not only comboboxes but also textfeilds and datefields. What would be the best approch , to load them all with the same call to the server using the same JSON?
how would I go about doing that?
or is there a better way ? ( i guese i can go to the server 2 or 3 times but it is all one form..)
Happy Xmas and Hanucka
26 Dec 2010 1:46 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
If you have one form, it doesn't matter how many items it has, you can load it with one call. Look here: http://dev.sencha.com/deploy/dev/doc...rm.Action.Load
For the name of your items need to match the key in the JSON.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
By sancho_0 in forum Ext 3.x: Help & DiscussionReplies: 32Last Post: 9 Jul 2009, 11:28 PM
By Trinad in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 20 Jun 2009, 9:32 AM
By Mat Malone in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 29 Aug 2008, 7:57 AM
By ExtCrazy in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 20 Apr 2008, 11:46 PM