1st i made the form visible in the photo view, so in each /index.php/photos/id/xx is that form -
echo Messages::$this->renderPartial('../messages/_form', array('model'=>Messages::model()));
then directed the form to the create action of messages (_form)-
and in messagesController after save redirected back to photo/id/xx
well sofar so good, but when error agains form rules comes, im on messages/create not on photos/id/xx ....
is there any other better way to do this? sorry for newbie questions, but im very new to the framework.