3 Replies Latest reply on Oct 3, 2009 8:35 AM by Adrian Mitev

    How to define the bundle for addFromResourceBundle

    Sergey Smirnov Newbie

      I have:

      facesMessages.addFromResourceBundle("INVALID_USER", uname)

      On the page, it prints INVALIDUSER instead of the bundle text

      I try to define INVALIDUSER in too places: web project resource bundle (that is added to the page with f:bundle) and in the seam.properties. No luck yet.

      The question: how to define the bundle that is visible for  facesMessages.addFromResourceBundle method?