[jboss-user] [JBoss Seam] - Re: Conversation binding workaround

petemuir do-not-reply at jboss.com
Mon Apr 23 12:12:08 EDT 2007


Yes

@Name("numberGuess")
  | @Scope(ScopeType.CONVERSATION)
  | public class NumberGuess implements Serializable {
  | 
  |    @In(create=true) @Out Binding binding;
  | 
  |    @Create
  |    public void createBinding() {
  |       binding.setFoo("bar");
  |    }
  | 
  |    // Do work on the binding in your method
  | 
  | }

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

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



More information about the jboss-user mailing list