1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    0
    p.broshuis@asito.com is on a distinguished road

      0  

    Default List does not show json items

    List does not show json items


    Goal:
    show an iPhone screen with two sections:
    - headers
    - details

    The header sections is a fieldset in a panel.
    The detail section is a list, filled with values from a JSON store. This list is a menu. When pressed on a menu-item, a new screen will be opened.

    What have I created so far:
    container
    - Panel
    -- Fieldset
    --- TextField1
    --- TextField2
    --- TextField3
    - List

    the JSON file, store and model are all OK. I get a response with the correct values. The list is also connected to the store.

    Problem:
    When I create a preview, the I don't receive the values in the JSON file, only three List Items:
    24-7-2012 12-08-02.jpg

    What is going wrong?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,187
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Sounds like you've bound it to a store and then never changed the template.

    The default itemTpl generated by Architect is:
    Code:
    <div>List Item {string}</div>
    You will need to put in an appropriate template to generate the content.

    Like:
    Code:
    <div>{myFieldName}</div>
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    0
    p.broshuis@asito.com is on a distinguished road

      0  

    Default


    thanks. This is the solution.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi