np_1.attachPress(oController.sayHello);
This is my View code.
And the following is from my controller.
sayHello : function(){
alert("Hello");
}
I made a mistake by myself. I'm sorry. The solution is quite obvious.
np_1.attachPress(oController.sayHello);
This is my View code.
And the following is from my controller.
sayHello : function(){
alert("Hello");
}
I made a mistake by myself. I'm sorry. The solution is quite obvious.