That's a pretty good idea, Jon. I was able to solve my problem a bit
differently. I use this in my default view:
echo $this->requestAction('/docs/getList', array('return'));
I use the controller to get the list (the getList method) and I use the
get_list.thtml file to display the list however I want.
After re-reading the CakePHP manual and API about elements I think I'll
give your solution a try Jon. Actually, I'm implemented a login link
that changes to logout once you've successfully logged in and I use
that in an element. I'll post my solution to that next.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---