Quantcast
Viewing all articles
Browse latest Browse all 2218

AppWizard DialogEvent.OK not being fired on finish

I am building a wizard in my extension and I use the following code in the constructor to listen for the finish button.

 

public class My Wizard extends AppWizard {     public function MyWizard() {            super();                       //set size            UIComponent(this.container).minHeight = 400;            UIComponent(this.container).minWidth = 700;                       this.forwardButtonAlwaysEnabled = false;            this.addEventListener(DialogEvent.OK, onWizardCompleted, false, 0, true);     }            private function onWizardCompleted(event:Event):void {          // This is never triggered.     }
.....
}

 

 

For some reason, I have noticed that the DialogEvent.OK never gets fired after clicking finish. This is very strange as I have another wizard that works just fine. Also, I noticed that in other wizards, as soon as you click finish, the wizard closes, but, in this case, it just remains open. I cannot figure out why the wizard just stays open. Any help will be really appreciated, been working on this all week.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 2218

Trending Articles