I just started working with components. Very cool!

I ran into an issue that may be a bug. It seems that LOAD will only
load from default.py controller. If I specify a different controller,
I get: "invalid function (default/components)"

Here's my LOAD:
{{=LOAD(c='components', f='test.load', ajax=True)}}

The book says this:
LOAD(c=None, f='index', args=[], vars={},
     extension=None, target=None,
     ajax=False, ajax_trap=False,
     url=None):

I noticed this in the code:
    def __call__(self, plugin=None, function='index', args=[],
vars={},
                 extension=None,
target=None,ajax=False,ajax_trap=False,
                 url=None):

Reply via email to