This is rather complicated and just because I am not currently at my Mac, I'll have to try from memory. :)

So, in your component you can get to the redirect method this way: $this->getController()->getActionStack()->getLastEntry()->redirect();

I hope this is accurate — if it's not, you'll have to look for the action stack, get the last action from that and so on. If you don't find it I can check at home, just ping me here to remind me. :)

Cheers, Daniel

Sent from my iPhone

On Apr 22, 2010, at 7:00 PM, Javier Garcia <[email protected]> wrote:

On Apr 21, 7:11 pm, gopi <[email protected]> wrote:

thx for the clarification. I just tried using form in a component and
it works.

I did also that, but... how do you redirect to another page using
components????

You know after the logging you have to redirect the user to the
"Profile" page for example..

Javi

--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to