I have a form on my site, that after it submits.. I want to sends off
some data to some model, but stay on the page and reveals a new div/
form below. Without an entire page refresh if possible.

I compare this to something like the twitter main page when you're
logged in. You write up a post, click submit and it appears in the
live feed below.

Some areas where I'm fuzzy:

1. How do you (properly) go about encapsulating a 'main page' that
lists recent posts, and off to the side other things clearly not
associated with a 'post' model

2. How can you submit a form and have it do some processing on a model
unassociated with the view you're currently on? the action="controller/
method" will automatically redirect you to the view associated with
that controller method.

3. I assume AJAX is needed to have something reveal itself without
refresh.


I like cake, but am experiencing some growing pains until I figure out
how to accomplish my goals within the mold.

thanks,

Christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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