Hi all,

How can I pass parameters throught requestAction.

Right now I have this on my layout: <?php echo $this-
>renderElement('archives', array("username" => "test1"));?>

This calls a element which has the following:

<?php $archives = $this->requestAction('archives/index/'); ?>

I want to pass username to archives/index. Can be this done with $this-
>params[] ? or something like it?

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to