Avatar

Level 10

The case does not use braces "{}". See https://developer.mozilla.org/En/Core_JavaScript_1.5_Guide:Conditional_Statements

Try

switch (this.rawValue) {

     case "a":

          expression;

          expression;

          ...

          break;

     case "b":

          expression;

          ....

          break;

     default:

          break;

}

Steve