And in case you weren't aware - you can access $this->data directly in
both the view and the controller.  So in your view you can have
something like:

<h2>Change password for `<?php echo $this->data['User']['name']; ?> </
h2>
<?php echo $form->input('User.password'); ?>

and both parts here will access the same user object, from $this-
>data['User'] in the controller.


--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to