Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - @In @Out @In(create=true) confusion

scott.stark@jboss.org

2007-06-14


The problem


with annotation is that one does not understand what happens behind the screen.

I'm using a ejb3-hibernate entity definition(simply defined)


in the pojo    
@In tableclass  xyz  is used

I'm sometimes receving exceptions the xyz nullpointer exception
because (i think) I conditionaly use XYZ  IN MY FACELET xhtml definition

depending on some other pojo variable i render the variables pointing to XYZ, conditionaly


as in some cases xyz.variables(the prime key) are not rendered the @in initialized xyz is not initialised...  ====> exception

the exception occurs during page initialisation, during the rendering, prior to calling @begin  so there is very little i can do to solve the bug
it does not help using @out nor @in(create=true)

can anyone confirm my theory ??? (seam 1.2.1)
any chance for improvement with 1.3 ?


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054244
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.