[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

hstang do-not-reply at jboss.com
Tue Dec 26 21:48:48 EST 2006


After re-reading your post, I may think you might not require an extended conversation context if it's a simple action.

What happens if you try to access "createCustomer" object instead of "customer" object during the render phase (i.e. facelets .xhtml) ?

As well you said that the customer object is setup fine in HttpSession, but can you verify that it is also in the conversation context?  

You need to verify that the temporary conversation context created by Seam is not destroyed just before you access the customer object(which usually happens at the end of the render phase).  Enable seam debugging: org.jboss.seam=debug and report what you find.

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

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



More information about the jboss-user mailing list