0

OptionSelectView - onOptionSelected not firing

Hello.  A  few days ago, my KONtx.control.Select button stopped executing the code block I defined for the onOptionSelected event.  I satrted undoing what I was working on but have been unable to locate the problem.  If I print output from the class (submitOption function) everything comes up as expected.  I was using a custom optionViewClass but have reverted back to the default one with these issues (it's been no help).   Here is the definition for the control:

[code]this.controls.yearSelect = new KONtx.control.SelectButton({
            id: 'yearSelect',
            label: '',
            value: 'u',
            optionGridRows: 15,
            options: yearSelect,
            //optionViewClass:TWNYearSelector,
            events: {
                onBlur : function (e){           
                    self.yearSelectFocus=false;
                },
                onFocus : function (e){
                   
                    self.yearSelectFocus=true;
                },
                onOptionSelected: function(event) {
                    printSep('! @ # $ % ^ & * ( ) ( * & ^ % $ # @ !')
                    self.controls.useryear_lbl.setText(event.payload.label);
                    user_obj.YOB=event.payload.value;
                    //self.redrawLabels();
                   
                }
            },
            styles:{
                width:this.width,           
            }
        }).appendTo(this.controls.year_con);[/code]

Anyone have any ideas?

0 Replies

Recent Posts

in General - Yahoo! TV Widgets