This is a bug. I believe it is fixed in trunk. Try the nightly build. It is
better than 2.7.4.
On Monday, 11 November 2013 00:12:41 UTC-6, Rahul wrote:
>
> Hi Massimo,
> Yes I have views for all the actions. Here is the screenshot of
> the application.
> Here is the code from my function in controller that is called -
>
>
> def patch_list():
>
> db.patches.id.readable=False
> ##response.files.append(URL('static',
> 'css/jquery-ui-1.8.16.custom.css'))
> query = ((db.patches.workspace==user_workspace) ) ##and
> (db.issues.ticket_no==session.ticket_num))
> fields = (db.patches.ticket_no, db.patches.build_no, db.patches.team,
> db.patches.patch_date, db.patches.patch_id1,
> db.patches.schema_changes, )
> headers = {'patches.ticket_no' : 'Ticket No',
> 'patches.build_no' : 'Build No',
> 'patches.team' : 'Team',
> 'patches.patch_date': 'Patch Date',
> 'patches.patch_id1': 'Patch ID',
> 'patches.schema_changes' : 'Schema Changes',
> }
> default_sort_order = [db.patches.build_no ] #,
> db.projects_posts.expected_start_date
>
> links = [
> lambda row: A(SPAN(_class='icon
> magnifier'),'View',_class='button', _title='View
> Patch',_href=URL("default","view_patch",args=[row.id])),
> lambda row: A(SPAN(_class='icon
> downarrow'),'Edit',_class='button', _title='Edit
> Patch',_href=URL("default","update_patch",args=[row.id])),
> lambda row: A(SPAN(_class='icon
> cross'),'Delete',_class='negative button', _title='Delete
> Patch',_href=URL("default","delete_patch",args=[row.id])),
> ]
> form = SQLFORM.grid( query=query, fields=fields, headers=headers,
> orderby=default_sort_order, user_signature=False, #details =
> auth.has_permission('read', db.projects_posts), create=False,
> deletable=False, editable=False, csv=True, maxtextlength=64, paginate=10
> ,ui='jquery-ui', links=links, details=False)
>
> return dict(form=form )
>
> Thanks! and Sincerely, Rahul D.
>
>
> On Monday, November 11, 2013 3:54:35 AM UTC+5:30, Massimo Di Pierro wrote:
>>
>> Do you have a view for your action? You probably do not.
>>
>> On Sunday, 10 November 2013 04:53:56 UTC-6, Rahul wrote:
>>>
>>> Hi All,
>>> Recently I upgraded to latest web2py 2.7.4 from 2.5.4. After
>>> doing that whenever I click on any of the button in my app ( which calls a
>>> function), verbose output for the results of the function are printed on
>>> the console and this includes queries. I am not sure if that is a new
>>> feature in 2.7.4 or if its an issue because for the same code I do not see
>>> any verbose output printed to console in my last used web2py version. If
>>> its a feature, can anyone please tell me how to turn it off? Thanks!
>>>
>>> My setup - Win7, chrome , web2py 2.7.4 - I am running from code.
>>>
>>> Sincerely, Rahul D.
>>>
>>
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.