| Page 1 of 1 | [ 1 post ] |
|
Though I have extensive experience in application development, I'm new to YUI3 and to web app development. My problem is as follows:
I have a complex tree-like structure in my DB. There are many Rs, each R has many Ts, each T has several Fs. The user wants to edit a certain R. I don't want to load all the Rs, with all their Ts and Fs. What I want is to load just part of each R, say, the id and the name. Then I can show the user a list of R names from which he can select the desired R. Given that I have the id of the selected R, I can now load more. But I don't want yet to load all its Ts, because the user may want to edit just one or two. Again, I'd like to load the id and name of each T, etc. I want to use Model, ModelList and the sync layer, and JSON in the server response. I'm thinking in using the "options" argument to sync to request different load levels. Any advice will be appreciated. Thanks! |
| Page 1 of 1 | [ 1 post ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group