> imho, you are not overwriting the data with $this->Company->set. the
> problem is, that unfortunately after rendering your second page the
> model object and its data is gone. There are no persistent objects in
> CakePHP unless you store it to the database. One solution will be to
> store your data in the session.
yep. store it in a session, perhaps writing a function a bit like set:
function storeData ($step='step1', $data)
{
$this->Session->write($step, $data);
}
or similar
your only other alternative would be to have hidden fields for the
previous steps data in each new step...
hth
jb
--
jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---