Jag Bains wrote:Hi
I have a backing been which extends AbstractPageBean.
Makes no sense to me. It is not part of Sun
JSF API. What library are you talking about? Are you using some visual editor which autogenerates some code heap for you? If so, do you actually
understand that code in terms that you´re perfectly able to write it all yourself? If not, I would recommend to stop using the visual editor for a while and write JSF code yourself until you´ve a good grasp on JSF.
I want to output a message from the bundle
e.g.
this.info("message fro m bundle");
How do I do this?
Use ResourceBundle API to load the desired message bundle.
Use FacesContext#addMessage() to add a new FacesMessage to the context.