Robby, you are exactly right. :-) I needed to step back and look at how I designed the controllers. I've combined them - I now have the save() functionality in the Questions controller. But now I'm trying to save to the Surveys table from the Questions controller. Can I use var $useTable = 'surveys' in the controller? Thanks again, I appreciate the guidance.
-Chris On Jan 6, 11:32 pm, Robby Anderson <[EMAIL PROTECTED]> wrote: > I think francky is right, both on the syntax (don't include the > ".thtml") and that render() only works within the same controller. > > So, you're posting from the Questions controller to the Survey > controller, correct? And I'd bet you don't just want to redirect on > that last validation, because you want the errant posted data to be > availabe to the view you're trying to render. If that is the case, you > might look at the controller design. Does the Survey controller do > anything else besides saving the questions? Or conversely, does the > Questions controller do anything but queue up the questions for a > given survey? If either is the case (or even close), you might > consider combining the controllers. Then render() would work easily in > the lastvalidation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
