Nothing related to Json, web2py html template works everywhere inside views.
>From Doc :
>>> URL(a='a', c='c', f='f', args=['x', 'y', 'z'],
... *vars={'p':1, 'q':2}*, anchor='1')
'/a/c/f/x/y/z#1?q=2&p=1'
generates a url \"/a/c/f\" corresponding to application a,
I really don't know how it works with json, but the sintaxe for URL haven't
'vars' but args=['a','b','etc']
2010/8/19 Phyo Arkar
> Trunk version Rev 853
>
> in view:
> $("#list").jqGrid({
>
> url:"{{=URL(r=request,f='listMIME.json',vars={'extracted_path':extracted_path,'source_path':source_pat
Trunk version Rev 853
in view:
$("#list").jqGrid({
url:"{{=URL(r=request,f='listMIME.json',vars={'extracted_path':extracted_path,'source_path':source_path})}}",
HTML Result:
$("#list").jqGrid({
url:"/sExtract/extraction/listMIME.json?source_path=home*&*
;extracted_path=target",
it inser
3 matches
Mail list logo