[jboss-user] [JBoss Seam] - Re: @RequestParameter value become null in conversation sfsb

gus888 do-not-reply at jboss.com
Wed Sep 13 12:53:43 EDT 2006


Hi Gavin,

I don't know whether we can let a Conversation SFSB to hold intance fields from @Begin, to @Join, @Join, ... until @End. 
Bfo81 gave a good suggestion, but if there are several intance fields need to be input at each @Join, this method (e.g. someParamCopy1 = someParam1; someParamCopy2 = someParam2;...; at in each @Join method ) will looks a little clumsy.  The good suggestion like this:@Begin
  | public method1 () {
  | 	intance1 = ...;
  | }
  | 
  | @Join
  | public method2 () {
  | 	intance2 = ...;
  | }
  | 
  | ...
  | 
  | @End
  | public execute() {
  | 	total = instance1 + instance2 + ..
  | }
Thank you in advance.

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

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



More information about the jboss-user mailing list