[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems

petemuir do-not-reply at jboss.com
Sat Mar 3 10:21:58 EST 2007


"gus888" wrote : I used following code in converters class:return ((EntityManager) Component.getInstance("em")).find(
  |   | 							Category.class, Integer.valueOf(arg2));
  | then I got the entityManager is null exception. However, after I change "em" to "entityManager", exception disappeared.

I find this very hard to believe.  By entityManager is null you mean you get an NPE?  Or are you trying to use the entityconverter with this?

In addition, I ever read a posting which stated the s:selectItems currently doesn't support h:selectOneRadio. Is it correct? since I cannot get it work.

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

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



More information about the jboss-user mailing list