Re: [Acf] Demo of loading one controller from within another
On Fri, 2008-07-04 at 13:45 -0400, Nathan Angelacos wrote:
> Now contains a demo acf that shows how one controller can load and call
> a second one. You get to it via acf with:
I think the problem was how to execute a function in another *model*,
not another controller.
bar = require("bar-model")
i guess the answer is to wrap the neede model funcs in the controller.
> It will load alpine-baselayout/alpineversion, and return alpineversion's
> "read" function.
> Its a simple example (4 lines) but should be enough to show how its done.
> acf mailing list
Received on Sat Jul 05 2008 - 09:22:33 UTC