Quantcast
Viewing all articles
Browse latest Browse all 2794

Re: Calling method of one view controller from another

 

 

Now my problem is inside the

 

panel1.initMethod() {

 

I have a reference of panel 1 view page as

 

this.getView.setBusy  -- This should refer to Panel 1 view page, but  since the method is fired from Main page controller , the reference to the panel1 view page is lost .

 

 

I think "this" still refers to Panel 1 View page,just do alert(this) in the init method and check it. I suspect the panel 1 view is not initialized so you are not able to get the View when you try this.getView()


Viewing all articles
Browse latest Browse all 2794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>