Are you in / starting a conversation?
What does the renderd HTML for the link look like?
So I think that's the problem. I think what's happening is that I am having my session beans take the default scope, which is conversation. But the problem is that in this case, they are being used in temporary conversations, which means that the session bean is being disposed of at the end of the request. I need to make these conversations into real conversations that persist for as long as the user is doing stuff. That's what I need to figure out here.
Ok, now it is making sense. I had to have a @Begin method, which then took the DataModelSelection and put it into another variable which is outjected. The @Begin makes the conversation long-lasting instead of temporary, and then the object is outjected and can be accessed. So that's very cool, it now works.
I'm also now using the Seam-managed persistence context. Hopefully that will stop any LIEs from showing up. I'll find out soon.
This temporary conversation thing wasn't obvoius to me, and neither was the SMPC, because SMPC is only really talked about in detail in Chapter 9 of the Seam docs. But that's ok, now I'm figuring out how to make it all work.