[jboss-user] [JBoss Seam] - Seam ajax & conversation

Stateless Bean do-not-reply at jboss.com
Fri Dec 21 07:28:17 EST 2007


Hi,
I got bean in conversation mode and when i fire method via seam ajax from this bean, always my destroy method is fired, why?

Is see in jboss console info : "Destroy...."

  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name("ordersAction")
  | 
  |     @Destroy @Remove
  | 	public void destroy() {	System.out.println("Destroy - ordersAction"); }
  | 

Why this happen?

My ajax method in js

  | Seam.Component.getInstance("ordersAction").checkCode(newCode, checkCodeCallback);
  | 

method isn't annotaed @Destroy and @End 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114959



More information about the jboss-user mailing list