ok thanks I will do so.
On Tuesday, October 9, 2012 7:53:50 PM UTC+4, Massimo Di Pierro wrote:
>
> I think I know the problem and this is fixed in trunk and nightly build.
> Please confirm it.
>
> On Tuesday, 9 October 2012 09:15:45 UTC-5, vivek wrote:
>>
>>
>> Version : 2.0.9 (2012-09-13 23:51:30) stable
>> My front end doesnt include both , Apart from response.files.apend &
>> script src , there is no other web2py code in the view.
>>
>>
>>
>> On Tuesday, October 9, 2012 6:01:30 PM UTC+4, Massimo Di Pierro wrote:
>>>
>>> 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)
>>>>
>>>>
>>>>
--