Ok, one thing that I tried is the following... I copied the code from
my index.thtml file that displayed the users and put it into it's own
file: ajax_index.thtml.  In my index action, added the following:

     if( $this->RequestHandler->isAjax()) {
       $this->layout = 'ajax';
       $this->render( NULL, NULL, 'ajax_index' );

     }

but that isn't working.  I'm getting a missing view error.  If instead
I do

 $this->render( 'ajax_action' );

I get a mission action error.  I've looked in the manual and the API.
How can you make it so that an action uses a different view file?  I
could have sworn that the above is correct...?

thnx,
Christoph


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

Reply via email to