[jboss-user] [JBoss Seam] - [DVD example] how to directly go back to the checkout page a
do-not-reply at jboss.com
Sun Nov 26 09:50:21 EST 2006
I'm trying to do this based on the DVD example version 1.1.0 CR 1: A new user comes in and chooses a lot of DVDs. The checkout was blocked since he hasn't logged in yet. Now he starts registration and hopefully after the "registration succeeded!" confirmation he can go directly back to the checkout page.
In the current code, both the newuser and checkout conversations are already marked as nested. After the registration during checkout, the user would be directed to homepage but not the checkout page. The DVDs chosen before are still there though. But directly go back to checkout page would be less confusing to a new shopper. How many possibilities to achieve this with Seam?
By the way, the current signature of the saveUser() in the EditCustomer.java ispublic String saveUser(). I guess it could also be public void saveUser() since the pageflow for registration is managed by the jpdl configuration but not the navigation.xml. There is no <from-outcome>success</from-outcome> entry in the navigation.xml. So return "success" in the try block has no effect.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988619#3988619
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988619
More information about the jboss-user