Hi,

I am using a RequestAction call to ensure my URI remains clean/
modular.
e.g.

index()
{
    $this->set('output',
    $this->requestAction('/complex_controller/complex_method/',
array('return')));

}

For some reason If I set my variables from within the 'redirected'
Action Method called via requestAction, e.g:

function complex_method()
{
    $this->set('somevar' array('my'=>'/link'));
}

The Layout which handles the 'somevar' Element fails to get the
'somevar'  Array.

However, if I call the complex method directly via the URI avoiding
the requestAction redirection it works - 'somevar' is accessible in
the Layout.


Any ideas?

Thanks.


--~--~---------~--~----~------------~-------~--~----~
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