1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    9
    Vote Rating
    1
    ryeo is on a distinguished road

      0  

    Default Controller Action Function Parameters

    Controller Action Function Parameters


    Hi,

    I created a function to be called from a controller action in Architect, I would like to change the default eventOptions but it doesn't seem to take in Architect...

    The onEditNote function has a param of eventOptions, I tried to add my own parameters in Architect but it is not reflected. I'm using Architect 2.1.


    Code:
    control: {
                "mainpanel": {
                    editNoteCommand: 'onEditNote'
                },
                "mainNav": {
                    addNoteCommand: 'onAddNote'
                }
            }
        },
    
    
        onEditNote: function(eventOptions) {
            console.log('Caught: Edit Note Fire Event');
            var item = this.getMainNav().id;
            console.log(item);
            //this.getNoteEditor().setRecord(record);
            //this.getMainNav().push(this.getNoteEditor());
        },

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Posts
    9
    Vote Rating
    1
    ryeo is on a distinguished road

      0  

    Default


    Ok..figured you had to sent paramters at the custom event leve...thanks!

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar