If you're text above is spelled correctly addsegement.html has a typo. 
 Should be addsegment.html based on the function number you specified.  

But, I assuming that is just a typo in the post.  Can you post the code in 
question?

-Jim

On Tuesday, August 15, 2017 at 2:40:01 PM UTC-5, Dave S wrote:
>
> On one of my pet projects, I created a view (.html) for my default/index 
> function, and it works fine.  For my default/addsegment function (which 
> index redirects to if the form was accepted) I initially used the generic 
> view, but then I copied index.html to addsegement.html  -- but I am still 
> getting the generic view.  According to the Web2Py IDE, I spelled the file 
> name correctly, and it's located in views/default, so what should I check 
> next to get to the right display?
>
> (the view is pretty simple, stripped down from the welcome app's 
> default/index.html;  has 
>
> {{=form}}
>
>
> in the center, and some links in the left sidebar.  Works great for 
> myapp/default/index.html; addsegment returns a dict)
>
> Dave
> /dps
>
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to