-
1. Re: Outject variable in conversation scope not being set in the context
barbacena Mar 31, 2008 11:41 PM (in response to gjeudy)I couldn't understand.
Post your full code and facelets page. -
2. Re: Outject variable in conversation scope not being set in the context
meetoblivion Apr 1, 2008 2:42 AM (in response to gjeudy)I think the biggest question is, what exactly is #{myvariable} ? Is it a factory tied to the first instance? or something else?
-
3. Re: Outject variable in conversation scope not being set in the context
gjeudy Apr 1, 2008 2:21 PM (in response to gjeudy)Apologies the original post was unclear:
#{myvariable} is in fact #{myvar}
Which means it is bijected as specified in the code sample above. myvar should not be tied to any instance, it doesn't have an explicit scope so should be tied to the Conversation context as specified in the bean declaration. myvar is not populated by a factory method, its first populated when an action method is called on the bean.
-
4. Re: Outject variable in conversation scope not being set in the context
pmuir Apr 5, 2008 5:15 PM (in response to gjeudy)You are correct in how you think it should work - use your debugger to try to find out what is going on.
-
5. Re: Outject variable in conversation scope not being set in the context
gjeudy Apr 7, 2008 3:51 PM (in response to gjeudy)I decided to abandon this issue as I found a better way of reusing an SLSB simply by creating concurrent nested conversations. I think that is probably the cleanest way to proceed in my case as I cannot say the
role
is semantically different from 1 use to the other of this SLSB.I would use @Role if really the usage purpose was different. This shows if you can easily come up with a different meaningful name for your role which I could not in this example.