Just a heads up for any n00bs (I'm a recovering one myself)
If you're using requestAction, it doesn't work in quite the same way as
renderElement for example:
echo '<div>'.$this->renderElement('foo', $params).'</div>';
will spit the rendered element nicely into the div
while:
echo '<div>'.$requestAction('foo/bar').'</div>';
will not.
to make it work you must do:
echo '<div>';
echo $this->requestAction('foo/bar');
echo '</div>';

I wasted half an hour on this, just thought I'd try to save others the
time.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to