Re: Rendering views of another ojbect with AJAX

2007-02-21 Thread jamieh
else achieved this? Thanks, Jamieh... --~--~-~--~~~---~--~~ 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

Re: Passing values between objects

2007-02-19 Thread jamieh
::Add method I have the following: $this-data['Project']['user_id'] = $this-Session-read('user_id'); ..which now populates the value of my hidden field called user_id, which is the foreign key in the Projects object. Thanks for your help; it was quite simple really wasn't it. Thanks, Jamieh

Passing values between objects

2007-02-18 Thread jamieh
question, Jamieh... --~--~-~--~~~---~--~~ 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

Re: Multi step AJAX forms

2007-02-15 Thread jamieh
) Is it actually possible to render a view that belongs to another object? jamieh... --~--~-~--~~~---~--~~ 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

Multi step AJAX forms

2007-02-13 Thread jamieh
this but Cake tells me it cant find the controller for projects. Can anyone point me to a tutorial that covers this type of functionality? I am currently using: $this-render('projects/add', 'ajax'); Any help and pointers very much welcome. Thanks, Jamieh

Re: Multi step AJAX forms

2007-02-13 Thread jamieh
Thanks for the reply [EMAIL PROTECTED] I had actually based my logic on that tutorial. In the tutorial they are rendering a view of the same object; the ToDo view. What I was trying to do was a render a view of another object. Does this require a different approach? Thanks, jamieh

Re: Multi step AJAX forms

2007-02-13 Thread jamieh
OK, I have been playing with this. My projects controller is this: ## ?php class ProjectsController extends AppController { var $name = 'Projects'; var $layout = 'frontend'; var $helpers = array('Html', 'Form', 'Javascript', 'Ajax' ); var