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, 2013 9:23:15 AM UTC-4, Anthony wrote: > > > >> {{=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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.