[jboss-user] [JBoss Seam] - Re: How to get ResourceBundle message from backend using Sea

xigua do-not-reply at jboss.com
Fri Mar 23 18:19:03 EDT 2007


"gavin.king at jboss.com" wrote : @In Map messages;
  | 
  | or
  | 
  | @In ResourceBundle resourceBundle;
  | 

I tried this actually
    @In
    private ResourceBundle resourceBundle;

then resourceBundle.getBundle().getBundle("editFlight").getString("planeName");

But I got NPE at runtime and it turned out resourceBundle is null. 

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

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



More information about the jboss-user mailing list