[jboss-user] [JBoss Seam] - Re: [booking example]: question regarding the HotelBookingAc

ellenzhao do-not-reply at jboss.com
Thu Nov 23 07:06:42 EST 2006


"petemuir" wrote : The required attribute on @In/@Out simply says whether the variable can be null or not, by default required=true.
  | 
  | so, lets say we have a variable foo.
  | 
  | If the context variable foo is null
  | 
  | @In Foo foo;
  | 
  | would throw a RequiredException
  | 
  | but
  | 
  | @In(required=true) Foo foo;
  | 
  | wouldn't.
  | 
  | 

Was there a typo? It might be
@In(required = false) Foo foo;
 or? 


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

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



More information about the jboss-user mailing list