8 Replies Latest reply on Mar 30, 2010 10:46 PM by Nicklas Karlsson

    Qualifier with one or more values

    Ashley Westwell Newbie

      Hey All


      I want to use the @Observes with a qualifier but have it fire the event if one of the list values match the event value.


      For example


      If I have a qualifier that stores a list of strings and the value that is fired is listed then fire the event.


      Qualifier values First, Second, Forth


      if the event fired Second the @Observer event would get executed. But if the event value that was fired was Third it would not be fired.


      Is this possible anyone have an example?


      Thanks