[jboss-user] [JBoss Seam] - [DVD example]what does the transaction to="contact" do in th

ellenzhao do-not-reply at jboss.com
Fri Nov 24 20:39:01 EST 2006


I'm learning from the DVD example in Seam 1.1.0CR 1, and building a similar project from scratch. In the newuser.jpd.xml file, there is:


  | <page name="contact" view-id="/newuser/contact.xhtml"
  |           no-conversation-view-id="/newuser/account.xhtml">
  |         <redirect/>
  |         <transaction to="contact"/>
  |         <transition name="prev" to="account"/>
  |         <transition name="next" to="card"/>
  |     </page>
  | 

What does the bold line exactly do? No matter I include it in my similar application or comment it out, there was always errors and my application doesn't register new user.

What does the standard.jar in the DVD example do? Do I have to include it in my application to get things working? For now I'm only doing pageflow management with jbpm. More concretely, I added a confirmation node between contact and complete. In the confirmation.xhtml, I wanted to display all the input from user and let user edit again if she finds any error by clicking the "prev" button. The hibernate.cfg.xml and jbpm.cfg.xml files in the exploded path. But always got delegate exception from a .jbpm.graph package. (I'm using mysql)

Thanks in advance for any help.


Regards,
Ellen


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

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



More information about the jboss-user mailing list