As AD7six said earlier, you need to "include the RequestHandler component" in the controller's $helpers array. I think that'll fix it, as Cake is rendering the entire page, and RequestHandler should make sure that doesn't happen with an AJAX request.
Someone correct me if I'm wrong...
Eric
On 10/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Im still struggling with this, is there anything i should be doing in
the comments_controller::add ?
It seems to pull back the rendered add page, instead of just updating
the comments field
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Re: Submitting Data Between Controllers and Validating C... AD7six
- Re: Submitting Data Between Controllers and Validat... [EMAIL PROTECTED]
- Re: Submitting Data Between Controllers and Validat... [EMAIL PROTECTED]
- Re: Submitting Data Between Controllers and Val... AD7six
- Re: Submitting Data Between Controllers and... [EMAIL PROTECTED]
- Re: Submitting Data Between Controllers... [EMAIL PROTECTED]
- Re: Submitting Data Between Contro... Eric C Blount
- Re: Submitting Data Between Co... [EMAIL PROTECTED]
- Re: Submitting Data Betwee... AD7six
- Re: Submitting Data Betwee... [EMAIL PROTECTED]
- Re: Submitting Data Betwee... AD7six
