El jueves, 11 de octubre de 2012 10:45:36 UTC-3, Massimo Di Pierro escribió:
>
> I see the problem. MARKMIN as a markup language does not assume you have
> web2py nor web2py.js. It allows you to expose any function you want such as
> @{<funcname>:<parameters>} but you have to define the function. You can do:
>
> def component(text):
> items = text.split('/')
> controller, function, args = items[0], items[1], items[2:]
> return LOAD(controller, function, args=args, ajax=True).xml()
>
> html = MARMIN(text, url=True,environment={'component':component})
>
> Did I answer the question?
>
Thanks Massimo. It works perfect.
It's great!. I use a lot LOAD (...), but with this you go a step further.
Jose
--