Ok, it works now but I get None in place of the reloaded component... I thought it could be the Tabs plugin so I remove the initiation script but still get None...
Any idea? On Thu, Jun 30, 2011 at 1:13 PM, Anthony <[email protected]> wrote: > On Thursday, June 30, 2011 12:39:53 PM UTC-4, Richard wrote: >> >> Hello, >> >> I am having hard time to refresh component I don't know if it is my >> response.js or my setup or 1.97.1 issue : >> >> response.js="web2py_component(**URL(c='ref',f='creation'),'**two')" >> > > You can't put a call to the URL() function inside a string -- it's a web2py > Python function that has to be run on the server side -- as is, you're > sending it as javascript code. You might also need to put it in quotes. > Maybe something like this: > > response.js="web2py_component('%s'**,'**two')" % URL('ref','creation') > > > Anthony >

