1. #1
    Sencha User
    Join Date
    Dec 2012
    Location
    Oporto, Portugal
    Posts
    4
    Vote Rating
    0
    OGIRT.93 is on a distinguished road

      0  

    Default List Creation Problem

    List Creation Problem


    Hi people,

    How is everyone? I hope you are all well.

    I am developing a mobile application on Sencha Architect, but I can not create a list. Or better, but I can not get work after appears as if blocked or something.

    I leave here my. xds you for helping me resolve this situation.
    ListMenuTwo.xds

    Thank you all.

    Best regards,
    Hugo Trigo

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,905
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    Hugo,

    Please choose file > Export Archive in Sencha Architect and attach that.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Dec 2012
    Location
    Oporto, Portugal
    Posts
    4
    Vote Rating
    0
    OGIRT.93 is on a distinguished road

      0  

    Default


    Phil,

    Thanks for the reply!


    The file is attached...
    ListMenuTwo.xda

    Best regards,
    Hugo Trigo

  4. #4
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,905
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    You'll need to add the fields to your store. e.g. title

    You also need to make your data config an array and not an object

    Code:
    [
        {
            "id": "1",
            "title": "Torneio de Futsal - Campanha Solidária «Espalhe Alegria» ",
            "date": "Domingo, 16 de Dezembro de 2012",
            "hour": "14.00h",
            "local": "Pavilhão Municipal de Chaves",
            "info": "Evento desportivo realizado pela Academia Pajé Team; Entrada = Produto Alimentar; Org.: Gráfica Sinal, Voz da Juventude, Eurocidade Chaves-Verín, Município de Chaves, Concello de Verín",
            "imgUrl": "images/imgexample.png"
        },
        {
            "id": "2",
            "title": "Exposição 12 Artistas da Eurocidade Chaves-Verín",
            "date": "Domingo, 16 de Dezembro de 2012",
            "hour": "18.30h",
            "local": "Sala Multiusos do Centro Cultural de Chaves",
            "info": "Artistas Plásticos representados: Alvarias (Verín), A. Pizarro (Chaves), Carina Nascimento (Chaves), Julio Pousada (Verín), Leonardo (Verin), Manuela Cabugueira (Chaves), Manuela Pinheiro (Chaves), Manuela Sánchez (Verín), Mário Lino (Chaves), Marisa Pardo (Verín), Paulo Fontinha (Chaves) e Pedro Araujo (Verin).",
            "imgUrl": "images/imgexample.png"			
        },
        {
            "id": "3",
            "title": "Apresentção do Livro «Histórias do Contrabando e Não Só», de Fernando Cantista PizarroBravo",
            "date": "Segunda-Feira, 17 de Dezembro de 2012",
            "hour": "18.00h",
            "local": "Biblioteca Municipal de Chaves",
            "info": "Apresentação a cargo do Major General (Eng.º) Dário Fernandes de Morais Carreira",
            "imgUrl": "images/imgexample.png"			
        },
        {
            "id": "4",
            "title": "Festa de Natal",
            "date": "Sábado, 22 de Dezembro de 2012",
            "hour": "21.00h",
            "local": "Salão Nobre dos Bombeiros Voluntários de Vidago",
            "info": "Org.: Casa de Cultura de Vidago",
            "imgUrl": "images/imgexample.png"
        },
        {
            "id": "5",
            "title": "Espectáculo «Espalhe Alegria na Eurocidade Chaves/Verín»",
            "date": "Quinta-Feira, 27 de Dezembro de 2012",
            "hour": "21.30h",
            "local": "Auditório do Centro Cultural de Chaves",
            "info": "Espectáculo de encerramento da campanha solidária «Espalhe Alegria na Eurocidade Chaves/Verín»",
            "imgUrl": "images/imgexample.png"
        }
    ]
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Dec 2012
    Location
    Oporto, Portugal
    Posts
    4
    Vote Rating
    0
    OGIRT.93 is on a distinguished road

      0  

    Default


    The first step is completed!


    In the second step, I do'nt see where the error is. My data is already an array and not an object.

    Also attached .xda updated.
    ListMenuTwo.xda

    Best Regards,
    Hugo Trigo

Thread Participants: 1

Tags for this Thread