I think you're over-thinking this, it's really quite simple.  In your
example, you just need to make the following change:

// test.thtml
<?php e($ajax->div("main_head")); ?>
   <h1>Main Head Updated</h1>
<?php e($ajax->divEnd("main_head")); ?>

<?php e($ajax->div("sub_head")); ?>
   <h2>Sub head updated</h2>
<?php e($ajax->divEnd("sub_head")); ?>

No requestAction( ) required, and your link above can include GET
parameters just like any other link.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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