I already was using URL {{if 'kpi' in locals():}} {{for x in kpi:}} {{url=URL('kpi',x['kpi']+'.load')}} {{setwait="$('#inner{0}').attr('class', 'fa fa-hourglass-end');".format(x['kpi']) }} {{setclick="web2py_component('{0}', target='{1}')".format(url,x['kpi']) }} {{click=setwait+setclick}} {{=DIV(DIV(H3("???"),P(x["waiting"]),_class="inner"),DIV(I(_id='inner'+x['kpi'],_class="fa fa-mouse-pointer"),_class="icon"),A(T("click to update..."),_class="small-box-footer"),_class="small-box bg-red" ,_id=x["kpi"],_onclick=click,_style="cursor:pointer !important;")}} {{pass}} {{pass}}
2017-06-21 17:55 GMT+01:00 António Ramos <ramstei...@gmail.com>: > No tickets and no console errors.... > i will try URL.... > > 2017-06-21 17:49 GMT+01:00 Leonel Câmara <leonelcam...@gmail.com>: > >> Humm that should actually work, although I would recommend using URL, >> instead of hardcoding the URL. >> >> The reason for the failure must be something else. Maybe an insecure >> cookie or something, are any tickets generated by web2py? What error do you >> get in the browser console? >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.