>From the document I see the seam pojo component is stateful and has the 
>default conversation scope. It also supports long running conversation. But it 
>does not work for me. Is my understanding wrong or am I doing something wrong 
>in my code? Any help is appreciated.

@Name("transactionPage")
  | public class TransactionPage extends AbstractPage {
  | ......
  | @Create
  | public void initialize() {
  |   log.debug("************transactionPage created*****************");
  | }
  | 
  | @Begin
  | public String initiatePayment {
  | ....
  | return null;
  | }
  | 
  | public String confirmDetails {
  | .....
  | return null;
  | }
  | 
  | @End
  | public String confirmed {
  | ....
  | return null;
  | }
  | }

I have transaction.xhtml calling actions initiatePayment, confirmDetails and 
confirmed after every step.

What I notice is the method initialize(included for debuggin) is called 
everytime and resetting all the state stored from previous step. In a long 
running conversation I believe it should be called only once. 

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082818
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to