1 Reply Latest reply on Feb 21, 2007 10:58 AM by Gavin King

    FacesMessages.instance().addToControl(String id, FacesMessag

    Jason Long Master

      I just upgraded to the current CVS from 1.1.6.GA to get s:selectItems working.

      I had to switch form

      FacesMessages.instance().add(String id, FacesMessage facesMessage)
      


      to

      FacesMessages.instance().addToControl(String id, FacesMessage facesMessage)


      Are there any other API changes that I should look out for?

      Note: The method still works because

      FacesMessages.instance().add(String messageTemplate, Object... params)


      is called with that method signature. This results in adding the component id as the message text in the global messages.