Hi, Joo, Mathew and Joe,
I solved the problem using redirect:
$this->_redirector->gotoUrl('/my-controller/my-action/param_name/param_data');
If use render, there are two problems:
1) parameters can not be passed on to action/view,
2) The header of the rendered view is not changed.
Cheers,  all guys.


minglee wrote:
> 
> Having been working with ZF for couple of weeks, I am still confused and
> even angry with "render"!
> Are there any tutorials that can explain clearly how render works?
> My recent problem in my project:
> After login, the user should be rendered to his page. In my case, that
> will be: action--'view', and id (user's id) --'1' (for example). So I used
> $this->render('view/id/1'), but a uncaught error appeared. If I used 
> $this->render('view'), no error but no message passed too.
> Anybody could help?
> Thanks a lot!
> 

-- 
View this message in context: 
http://www.nabble.com/Router-path-problem-tf4191904s16154.html#a11927767
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to