This content has been marked as final.
Show 3 replies
-
1. Re: Binding Component to Backing Bean Property
matt.drees Oct 14, 2007 12:20 AM (in response to mikeeprice)That doesn't look like quite the same problem; it looks (from the stacktrace) like you have an @Out(scope=Conversation) somewhere. Try setting it to required=false; IIRC, that will prevent the IllegalStateException from being thrown when the context isn't available.
-
2. Re: Binding Component to Backing Bean Property
matt.drees Oct 14, 2007 12:24 AM (in response to mikeeprice)Also, you might want to consider binding to an event-scoped component, not a session-scoped one. It's what the docs recommend, anyway.
-
3. Re: Binding Component to Backing Bean Property
mikeeprice Oct 16, 2007 6:46 AM (in response to mikeeprice)I have a session bean that basically contains the logic for a crud app so I had put the property that I was using for the component binding in that bean. Based on your comments I created a separate stateless bean scoped EVENT and put the bind-to property in there and now it works fine.
Thank You for your help.