Sorry, yes that works. I made a foolish mistage and imported the wrong FacesContext. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121026#4121026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121026