Maybe it is not finding the associated view?  Look at these two examples...

Controller:  myapp/controllers/default.py   function  def myfunct()
Uses this view file:  myapp/views/default/myfunct.html

Controller:  myapp/controllers/newcont.py   function  def anewfunc()
Uses this view file:  myapp/views/newcont/anewfunc.html

In other words,  make sure your view files are saved in the right place.







On Friday, 28 February 2020 06:12:12 UTC, Stephen Hengeli wrote:
>
> I know this is going to sound like a dumb question, but I am new to web2py 
> and need to use it for my Capstone class.
> I understand the modules and the controllers and views, but I am having 
> trouble creating a link to a new html page and there doesn't seem to be a 
> lot of 
> information available online so I am asking here. 
>
> What is happening is I can successfully call another controller, but all 
> it does is show the dictionary values and page name. Since the test values 
> being shown are correct, I know my module code is working and my controller 
> index function is working properly. I simply cannot get it to show any of 
> the HTML i have written. 
>
> Is there something I am missing or is there a resource I am missing 
> somewhere? 
>
> Any help would be appreciated. 
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/76f170dd-c651-410c-a2a5-f1a95dc1b3dc%40googlegroups.com.

Reply via email to