eric-wang/dojox_application — pull request #2 by edchat (2012-03-21 16:58:06+00:00)
Title: Application

My latest updates: update view to call bindModel before render, so that the mvc model will be available during render. I also updated the modelApplication test to use a view model for simple and repeat.
I found that the view model was available globally with app.children.modelApp_repeat.loadedModels but I decided to have view set the loadedModels into app.currentLoadedModels to make it easier to reference in the html. We could go back to using app.children.modelApp_repeat.loadedModels, it is just very long and requires that they use the id and views name to get the child name like "modelApp_repeat".
I have not split out an MVCModel yet, so I will look into that next and I will remove the mvc code from utils/bind.js too.