[jboss-user] [JBoss Seam] - Conversation scoped component automatically outjected

andreigh.ts do-not-reply at jboss.com
Fri Jun 22 08:15:15 EDT 2007


Hi, 
I am injecting a component with @In, from Conversation scope(the componenet was previously created). After modifying it in the action method (triggered from xhtml), the modification is visible in view (i.e. component is outjected).


  | @Stateless
  | @Name("requestWizard_information")
  | public class InformationAction implements Information {
  | 
  | 	@In(required=false, scope=ScopeType.CONVERSATION)
  | 	private RfqRequest rfqRequest; 
  | 
  | 	// this is an action called from an <s:button>
  |         public void testAction() {
  |                 // this modification will be seen in the view
  | 		rfqRequest.setName("new name");
  | 	}
  | }
  | 

I understood that modifications on rfqRequest should be visible in view only if @Out is used. But it seems that it is automatically oputjected.

Is this a bug? 

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

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



More information about the jboss-user mailing list