Re: controler problem

2009-03-11 Thread ibanez_nuke
you should write $this->redirect(array('controller' =>
'age2controller', 'action'
=> 'actionpage2'));  instead of

$this->redirect('page2controller/actionpage2',null, true);

On Wed, Mar 11, 2009 at 5:14 PM, Trandaburu Tiberiu Andrei <
birli...@gmail.com> wrote:

>
> hi , i need some informations about how cake works, i have 2 models ,2
> controls and 2 view pages with a form on both pages , when submit on
> first page i will go on the second page, i wrote in the controller :
> $this->redirect('page2controller/actionpage2',null, true); , but it
> still asks me if i created the function actionpage2 in the
> page1controller
>
> how can i make to use the controller function of second page?
>
> >
>


-- 
Mohd Noor Azam Bin Mohd Fauzi
System Analyst
Sepadu InfoServe Sdn Bhd
15-A2, Tingkat 2, Jalan 3/1,
Pandan Indah Industrial park,
Pandan Indah 55100 Kuala Lumpur

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



controler problem

2009-03-11 Thread Trandaburu Tiberiu Andrei

hi , i need some informations about how cake works, i have 2 models ,2
controls and 2 view pages with a form on both pages , when submit on
first page i will go on the second page, i wrote in the controller :
$this->redirect('page2controller/actionpage2',null, true); , but it
still asks me if i created the function actionpage2 in the
page1controller

how can i make to use the controller function of second page?

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