> {{=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 will not use generic.load -- it will instead use generic.html
(assuming there is no load_video.html view). If you did LOAD('default',
'load_video.load'), it would use generic.load if there were no
load_video.load view (i.e., same rules as usual for using generic views --
if the specific view doesn't exist, look for a generic view with the same
extension as the request).
Anthony
--
---
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.