You do not even have to use elements. Just call the views from your
action to enable all the $this->set() calls, and include the views via
$this->element('../controllername/viewname.ctp'), you could also use.

This is how I do it, in my example I show registration and login view
next to each other:
http://github.com/ionas/sna/blob/master/www/app/controllers/users_controller.php#L199
http://github.com/ionas/sna/blob/master/www/app/views/users/register_or_login.ctp

requestAction did not work because of
a.) SecurityComponent
b.) associated Models (gender_id) did not display as a dropdown

elements did not work because of b.) above - neither.

Merging views like that worked like a charm.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to