Please try:
{{=LOAD("default","hello.load",args=("World",))}}
{{=LOAD("default","hello.load",args=(123,))}}
Notice the extra comma. Anyway, your original code should also work. I
will take a look.
On May 28, 12:04 pm, "Sebastian E. Ovide" <[email protected]>
wrote:
> Hi All,
>
> I have a simple controller:
>
> def hello():
> return dict(test="Hello %s" %(request.args(0)))
>
> in my view
>
> {{=LOAD("default","hello.load",args=("World"),ajax=True)}}
> {{=LOAD("default","hello.load",args=(123),ajax=True)}}
>
> both works displaying "Hello World" "Hello 123"
>
> Nevertheless:
>
> {{=LOAD("default","hello.load",args=("World"))}} displays only "Hello W"
> {{=LOAD("default","hello.load",args=(123))}} displays Internal error
>
> any ideas ? (last stable 1.95.1)
>
> --
> Sebastian E. Ovide