Does your view include a {{=URL(...user_signature=true)}} or 
{{=SQLFORM.grid(....)}}?
Which web2py version? Can you try the latest trunk or nightly build?

On Tuesday, 9 October 2012 07:10:04 UTC-5, vivek wrote:
>
> Hi everyone,
>                    
>                      In the code below , am trying to saving a variable 
> which is received from the URL and is trying to use the same to service an 
> ajax call via "send_lead" . I been failing in this , but noticed that I was 
> to remove "response.view" then it works
>
> ANy ideas?
>
>
> def update_lead():
>     response.view = 'Final/leads/updatelead.html'
>     session.updatelead = request.args(0)
>     return locals()
>
> def send_lead():
>     lead = db.lead(session.updatelead)
>     return response.json(lead)
>
>
>

-- 



Reply via email to