[jboss-user] [JBoss Seam] - FacesMessages.instance().addToControl(String id, FacesMessag

supernovasoftware.com do-not-reply at jboss.com
Tue Feb 20 03:36:49 EST 2007

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)


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019233#4019233

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019233

More information about the jboss-user mailing list