Thats the way it should be done IMHO. You just should use the shortcut:
return $this->renderPartial('myPartial', array('myVrialbles'=> $val)); You could also use a full view rendering, by returning sfView::SUCCESS; (or wathever else) and then move your presentation in the fastActionSuccess.php template. If your view needs to be customized, you should move it in a separate template, instead of doing everything in your action. But if you just render a partial, it finally the same: - return the name of the template to render - return the rendered partial -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en