> Is this the expected behavior?

I don't know, the cookbok only says:

"" When using an array url in conjunction with requestAction() you
must specify all parameters that you will need in the requested
action. This includes parameters like $this->data and
$this->params['form'] ""

But it doesn't states clear (to my) the way it's intended to be used.
I think that since you are bypassing the Router (this should give some
performance improvement) you mus pass those parameters under the
'pass' key:

$this->requestAction(array('action' => 'recent', 'pass' => array(5)));

I haven't tested it myself.

Is this just out of curiosity or do you have a reason to use the array syntax ?

Regards,
- Dardo.

> TIA
> ---
> Fran Iglesias <[email protected]>
> http://cakephpilia.blogspot.com
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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