Oh, wow, you're right. I did a search in Google Code and it looks like
it's giving me a stale copy. Argh!
http://www.google.com/codesearch/p?hl=en#uyCl3L51_dI/gluon/compileapp.py&q=loadfactory%20package:http://web2py%5C.googlecode%5C.com&sa=N&cd=1&ct=rc

I'll try to do it as you say on a self-contained app. I like the
concept. Of course I just stripped out all my components!


On Feb 22, 3:02 pm, Anthony <[email protected]> wrote:
>  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.

Reply via email to