You also probably wanted

redirect(URL(c='default',f='segunda'))

without the .html in the name of the function. Besides this, I can only 
repeat the question others have put - what's in the view?

Regards,
Ales


On Friday, July 5, 2013 2:36:34 PM UTC+2, [email protected] wrote:
>
> Hello all,
>
> I’ve made a post before but did not receive any answers, so I will try to 
> explain my problem I little better hoping that someone knows the answer.
>
> I have a controller function the redirects to another one:
>
> def result2():
>
>     print 'BBBBB'
>
>     session.temparray2 = json.loads(request.body.read())
>
>     print  session.temparray2
>
>     redirect(URL(c='default',f='segunda.html'))
>
>     return dict()
>
>  
>
> def segunda():
>
>     print 'ccccccc'
>
>     return dict()
>
>  
>
> I thought that, running result2() would present the segunda.html view to 
> the user, but instead it does not. The segunda() functions runs, because I 
> can see the printed ‘cccc’ on python window, but no web page is presented. 
>  Any one knows why the 'default/segunda.html’ is not shown?
>
> Thank you in advance
>
> Ricardo
>
>  
>
>  
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to