This content has been marked as final. Show 1 reply
I read that using the ManagedPersistenceContext configured in components.xml and injected in your code does not throw LazyInitializationException (hope i got that right :-) ). I was quite surprised to find this exception being thrown.
This is correct. The first issue I notice that you are not outjecting the "fair" DataModelSelection. You will have to explicitly outject a DataModelSelection to make it available to the view. While fair is set in the FairListBean, it will not be directly available in the context.
Another question, why are you using SESSION scope? An SMPC is intended for use within a conversation (and conversations are almost always recommended when using Seam over dropping things in the session).