I have a method in my class:

        
  | @Name("inbox")
  | @Scope(ScopeType.CONVERSATION)
  | public class InboxActionBean {
  |   @Begin(nested=true)
  |   
  |   MyObject obj;
  |   public void init(){
  |     if(loaded==null){
  |             obj = search();
  |     }
  |   }
  | 
  | ...
  | 

this init() method is called using page action.  It works fine, the page 
renders with the data in MyObject.  However any subsequent actions I call will 
cause a nullpointer because obj is null.  This makes me think the conversation 
already ended after one request.  I removed any @End annotaions and still the 
same..

I've got other conversations to work before but those conversations are 
@Begin(join=true, pageflow = "somePageFlow") 

I'm trying to create a conversation without using page flows.

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961946
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to