Results 1 to 3 of 3

Thread: ST2 GA release - storing associated models

    This duplicates another bug already reported in our system: TOUCH-1428
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Vote Rating

    Default ST2 GA release - storing associated models

    I keep reading that localstorage will be fixed before the general availability (GA) release, but I haven't heard anything from the ST team about automatically storing associated model data. Is this in the plan or what?

    Despite the broken localstorage in PR3, I have it working now (child models only), but it involves an onLoad handler on the main store that iterates through the parent records, saving any child models into another store (if they exist). It's ugly (even by my low standards), and I would appreciate an example of "the right way", or at least a commitment from the ST team to support saving associated models in an upcoming (soon please) GA release.

    In any case, keep up the good work. After a year of tinkering including 2 complete refactors (for MVC, then for ST2) I'm still excited to build a version of Discasaurus ( using Sencha Touch.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    I have pushed this up so we can look into making this easier.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    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.

    Need more help with your app? Hire Sencha Services

    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.

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Redwood City, California
    Vote Rating


    Indeed that is in the works. I'm not sure if it will make it into PR4, but it is planned for the beta release.

    Sencha Inc

    Jamie Avins


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts