Hi! Useful method for AbstractFacesBean also could be something like
public void gotoView(String viewName) {
if (viewName!= null) {
UIViewRoot newView =
getFacesContext().getApplication().getViewHandler().createView(getFacesContext(),
viewName);
On 8/31/06, Adrian Mitev [EMAIL PROTECTED] wrote:
Hi! It is a good idea to add method like addMessageFromBundle that
does something like this:
public void addMessageFromBundle(UIComponent component,String
bundleMessageKey) {
ResourceBundle bundle = null;
try {
bundle
Sorry about the typo. I`ve wrote this code in gmail not in IDE :)
--
Seeing is believing
Hi! It is a good idea to add method like addMessageFromBundle that
does something like this:
public void addMessageFromBundle(UIComponent component,String
bundleMessageKey) {
ResourceBundle bundle = null;
try {
bundle = ResourceBundle.getBundle(getFacesContext()
On 8/31/06, Adrian Mitev [EMAIL PROTECTED] wrote:
Hi! It is a good idea to add method like addMessageFromBundle that
does something like this:
public void addMessageFromBundle(UIComponent component,String
bundleMessageKey) {
ResourceBundle bundle = null;
try {