[jboss-user] [JBoss Seam] - @Begin(join=true) isn't making the conversation last longer

goose-dog do-not-reply at jboss.com
Mon Jul 31 13:00:32 EDT 2006

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.


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

More information about the jboss-user mailing list