Can you  set a flag in form of a member var and then exit the action in
it's executeAction()

Balaji Srinivasan wrote:
> Hi there
> I am trying to terminate an action in preExecute. I tried returning  
> sfView::NONE from it but it didnt work.
> Basically I want to check a condition. If that condition is not met, I  
> want to render a text block into the response and then terminate the  
> action. But right now even after returning sfView::NONE it still goes  
> to execute the action.
>
> Is there any way of terminating the action without having to throw an  
> exception or redirecting/forwarding to another URL?
> Thanks
> Balaji
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
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