1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    wardkennes is on a distinguished road

      0  

    Default Unanswered: Loading views problem

    Unanswered: Loading views problem


    Hello,
    Im trying to get some data from the database into a Sencha application.
    So the way Im working is:
    Mysql DB ----> AMFPHP Call ----> Create JSON object -----> Load it with Sencha.

    The problem is my data is not shown correctly.

    Here a little screencast of what's happening: http://f.cl.ly/items/070i1S2f2N1D202S2k35/aarrrggh.mov

    Database call getFilialen()
    http://pastebin.com/S6kdDcXW

    Here are the source files but the database connection is not online: http://wardkennes.be/lab/rmd2/assets/js/

    The result of the Database Call:
    http://i40.tinypic.com/20ptwxt.png

    What I actually want to do is load in my first view : All the restaurants in a NestedList
    If a user clicks on the a restaurant to show a detail page. ( panel )
    In the detail page the user can click on a button Menu.
    When he clicks the menu button a list of recipe should be shown in a NestedList.

    Thanks a lot if anyone can help me out or give me some tips.

    Best regards,

    Ward

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,599
    Vote Rating
    434
    Answers
    3102
    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


    It's probably looking for the text field but there is none.
    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.