Basically same as previous poster:
View:
{{extend 'layout.html'}}
{{=LOAD(f='test.html', args=[1,2,3], vars=dict(x=1,y=2), ajax=False,
ajax_trap=True)}}
Controller:
def test():
print("test")
print request.args
print request.vars
print("end test")
return
I call it with controller/arg1/arg2?b=123
Result is args=[1,2,3] and vars={b=123}
On Jun 10, 4:15 pm, Anthony <[email protected]> wrote:
> Can you show your code?
>
>
>
>
>
>
>
> On Friday, June 10, 2011 10:53:50 AM UTC-4, apple wrote:
> > This does not seem to work for me even with ajax_trap=True.
>
> > On May 12, 7:24 pm, pbreit <[email protected]> wrote:
> > > Still didn't work in trunk. "ajax_trap=True" makes it work. But that
> > > shouldn't be necessary, correct?