4 Replies Latest reply on Sep 22, 2008 1:08 PM by Pete Muir

    addToControlFromResourceBundle in BETA1

    Tony Herstell Master

      This what I had

      facesMessages.addToControlFromResourceBundle("mailingListEmailAddress", FacesMessage.SEVERITY_ERROR, invalidValues[0].getMessage());

      Now; with Beta 1 the messages don't turn up (anywhere) so rather than deprecated I think they simply don't work.

      As the Doco is not updated yet I look for an alternative and get as far as this (from the javadoc)

      StatusMessages.instance().addToControlFromResourceBundle("mailingListEmailAddress", FacesMessage.SEVERITY_ERROR, invalidValues[0].getMessage(), null);

      This however does not work...

      What are the params??? that are described in the javadoc?

      There is direct replacement for facesMessages.addToControlFromResourceBundle.

      Where is any of this described?

      It appears that the BETA's have become Alphas as I have not had this kind of problem before! Normally the Doco is pretty much kept up to date with the release.