I have an action (executeShow) which forwards to another action if
the results of a form is successfully stored in a database. For this,
I use $this->forward('form', 'answerRegistered');. This
executeAnswerRegistered-action is an empty method, but is used for
rendering an answerRegisteredSuccess-template.
This works fine, but the problem is that after all the HTML has been
rendered, the template for the action executeShow is also rendered,
resulting in a the following mark-up at the end of the file:
</body>
</html>
<h1 id="title">
After the <h1>-tag, the code exits, becaouse it requires a non-present
variable. As mentioned, this code comes from the showSuccess-template.
Any ideas as to why this template is rendered? According to the debug-
panel, this view is never initialized.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---