Re: RequestAction parameters

2007-12-17 Thread Fabian
controllers\archives_controller.php on line 6 > > > On Dec 14, 2:17 pm, jarmstrong <[EMAIL PROTECTED]> wrote: > > > > You can get away with just adding the arguments after the function name > > > using > > > slashes to split each argument. > > > > You can do

Re: RequestAction parameters

2007-12-15 Thread MrTufty
an get away with just adding the arguments after the function name > > using > > slashes to split each argument. > > > You can do something like this: > > > requestAction('archives/index/'.$i_love_Cake); ?> > > > -- > > View this message

Re: RequestAction parameters

2007-12-14 Thread Fabian
es/index/'.$i_love_Cake); ?> > > -- > View this message in > context:http://www.nabble.com/RequestAction-parameters-tp14339603p14339776.html > Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ You received this message becaus

Re: RequestAction parameters

2007-12-14 Thread jarmstrong
You can get away with just adding the arguments after the function name using slashes to split each argument. You can do something like this: requestAction('archives/index/'.$i_love_Cake); ?> -- View this message in context: http://www.nabble.com/RequestAction-parameters-tp1433

RequestAction parameters

2007-12-14 Thread Fabian
Hi all, How can I pass parameters throught requestAction. Right now I have this on my layout: renderElement('archives', array("username" => "test1"));?> This calls a element which has the following: requestAction('archives/index/'); ?> I want to pass username to archives/index. Can be this do