[web2py] Re: I am confused by documentation for LOAD

2013-06-06 Thread Tim Richardson
thank you. > > -- --- 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/grou

[web2py] Re: I am confused by documentation for LOAD

2013-06-06 Thread Anthony
Yes. More generally, when you call the URL() function without specifying an extension, it will automatically append request.extension, unless request.extension is "html". So, it's really the URL() function that is propagating the extension (as long as you don't explicitly specify an alternative

[web2py] Re: I am confused by documentation for LOAD

2013-06-06 Thread Tim Richardson
Out of mild curiosity (but not enough to actually try it), does this suffix functionality work with redirect(URL(...)) ? [this was the orthogonal part of my question] -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from t

[web2py] Re: I am confused by documentation for LOAD

2013-06-06 Thread Anthony
Note, the advantage of using a special extension (such as .load) for components is that when a component action does a redirect, the extension will propagate to the redirect (assuming the redirect uses the URL() function and doesn't explicitly specify an extension). Anthony On Thursday, June 6

[web2py] Re: I am confused by documentation for LOAD

2013-06-06 Thread Anthony
> {{=LOAD('default','load_video'}} uses the view: generic.load, > unfortunately ignoring the intended view: default/load_video.load > The .load extension is just a convention -- there's nothing special about it. If you don't specify any extension, as usual, it will default to .html. Above, it