This might help you :

public function executeCreate()
{
*  $this->getResponse()->setTitle('blah');
*  return $this->forward('content', 'edit');
}

:-)

Nicolas

Greg Freeman a écrit :
> When you use the propel admin generator, it creates these three
> actions create, save and edit. Create and save forward to edit. This
> all works fine but my question is If I want to set some action
> specific variables how do I do this? since after forwarding they are
> lost.
>
> For example if I want to set the title in the create action to be
> available in the editSuccess template
>
> public function executeCreate()
> {
>   $this->title = 'blah';
>   return $this->forward('content', 'edit');
> }
>
> After I forward to the edit action $title is lost and will not be
> available in the editSuccess template.
>
> Is there a better way to organize these actions instead of the way
> propel does it?
>   

--~--~---------~--~----~------------~-------~--~----~
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