[jboss-user] [JBoss Seam] - Re: @Begin issue. Cannot make it work how we need

Delphi's Ghost do-not-reply at jboss.com
Fri May 11 23:24:43 EDT 2007


Why not just swap object X for object Y when you make the selection, and outject the value as a conversational context variable, assuming they are meant to be sharing the same context variable?

The other option (and I'm not sure whether this will work, or how well it will work), is to put conversation propagation on the button used to make the selection. 

End the conversation on the button, and start a new conversation on the method.


  | <s:button propagation="end" action="#{MyBean.makeChange}" value="change" />
  | 

and annotate the method makeChange with @Begin.

I'm not sure how well it will work since I don't know whether the end conversation is taken into account before the @Begin is reached.


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

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



More information about the jboss-user mailing list