Hi..
I have a component action that does a check if the user is logged in..
If the user is not logged in, I redirect to a login page.
Now... I would like that, after the successful login, the first component action is called...
So.. something like this:

public WOActionResult saveCart() {
        if (session().user == null)
                ->redirect to LoginPage
        else
                doSomething

The login action is a direct action..
How can I redirect from the login action to the saveCart action??

Thanks.

Francesco



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to