Hmm, I tried creating a 'components' controller with a 'test' function and
a 'components/test.load' view, and it works fine when I put
{{=LOAD('components', 'test.load', ajax=True)}} into my index.html view. Not
sure why you're having this problem. Maybe you can provide more of your code
or a minimal app to replicate the problem. What version of web2py are you
using?
On Tuesday, February 22, 2011 4:51:28 PM UTC-5, pbreit wrote:
> LOAD('components', 'item_filter.load',...
> throws: invalid function (default/components)
>
> So it looks like the the first param is supposed to be the function and I
> guess "default" is hardcoded as the controller. I couldn't figure anything
> out about that in the code.
>