1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    1
    Vote Rating
    0
    owi is on a distinguished road

      0  

    Question Unanswered: how to select objects from other models on a config-panel?

    Unanswered: how to select objects from other models on a config-panel?


    hi,

    i'm new in developing of sencha touch apps.

    i created a config view (FormPanel) with a couple of fields (different textfields and togglefields) on a fieldset in my application. Now, i want to add an entry (e. g. "Current user") for selecting an object from my user-model. Here an example what i want to do (screenshot from my ipod: configuration -> music -> e.g. equalizer).


    Mix_Options.png

    As a result, I imagine the following sequence before in my application: After selecting the new option "Current User" the config-view switched to another view e. g. "userlist". in this overview i can add, delete or select an entry. the selected object (user) will be transfered to the config view after clicking on a [done]-button.

    What is the recommended way to do this?

    Thanks!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,107
    Vote Rating
    453
    Answers
    3157
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    You need to have a panel using card layout. The screenshot provided should be the first/second whatever... then when someone taps on an item, you add a component to the end and animate to it. When you go back, remove that last component.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.