It is not really a comment:
http://lachy.id.au/log/2005/05/script-comments
On Monday, 14 May 2012 14:25:07 UTC-5, Larry Wapnitsky wrote:
>
> Here's what it's generating:
>
> <h3>Whitelisted Addresses</h3><table id="jqgrid_ips"></table><div id=
> "jqgrid_ips_pager"></div><script><!--
> jQuery(document).ready(function(){jQuery("#jqgrid_ips").jqGrid({ url:
> '/rbl_web2py/plugin_wiki/jqgrid?columns=id%2Cipaddress%2Cattacknotes%2Cb_or_w%2CupdCount&fieldname=&fieldvalue=None&tablename=ips'
> , datatype: "json", colNames: ["Id", "IP Address", "Attack Notes", "B Or
> W", "Updcount"],colModel:[{"index": "id", "sortable": true, "name": "id",
> "width": 80}, {"index": "ipaddress", "sortable": true, "name": "ipaddress"
> , "width": 80}, {"index": "attacknotes", "sortable": true, "name":
> "attacknotes", "width": 80}, {"index": "b_or_w", "sortable": true, "name":
> "b_or_w", "width": 80}, {"index": "updCount", "sortable": true, "name":
> "updCount", "width": 80}], rowNum:10, rowList:[20,50,100], pager:
> '#jqgrid_ips_pager', viewrecords: true,height:300});jQuery("#jqgrid_ips").
> jqGrid('navGrid','#jqgrid_ips_pager',{search:true,add:false,edit:false,del
> :false});jQuery("#jqgrid_ips").setGridWidth(700,false);jQuery(
> 'select.ui-pg-selbox,input.ui-pg-input').css('width','50px');});
> //--></script>
>
> Strangely, I just noticed that it's generating code that's commented
> out...!!!!
>
>
>
> On Monday, May 14, 2012 3:20:22 PM UTC-4, Massimo Di Pierro wrote:
>>
>> What's the url? this should be calling an action in plugin wiki. must be
>> there.
>>
>> On Monday, 14 May 2012 13:11:03 UTC-5, Larry Wapnitsky wrote:
>>>
>>> 404 not found
>>>
>>> On Monday, May 14, 2012 2:02:37 PM UTC-4, Massimo Di Pierro wrote:
>>>>
>>>> can you use chrome to see what is the ajax request? Can you try call
>>>> the url of the ajax request manually? What do you get? A ticket?
>>>>
>>>> On Monday, 14 May 2012 08:55:53 UTC-5, Larry Wapnitsky wrote:
>>>>>
>>>>> Even if I remove "fieldname", et.al. after the table name, no data.
>>>>>
>>>>> On Friday, May 11, 2012 8:13:59 PM UTC-4, Larry Wapnitsky wrote:
>>>>>>
>>>>>> better, but still no data showing up.
>>>>>>
>>>>>> On Fri, May 11, 2012 at 7:23 PM, Massimo Di Pierro <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> The second argument is the name of the table, not the table.
>>>>>>>
>>>>>>> wl2 = plugin_wiki.widget('jqgrid', 'ips', fieldname="b_or_w",
>>>>>>> fieldvalue="w", fields=["id", "ipaddress", "attacknotes"])
>>>>>>>
>>>>>>> On Friday, 11 May 2012 17:07:02 UTC-5, Larry Wapnitsky wrote:
>>>>>>>>
>>>>>>>> I'll try that, but even adjusting, this (in the controller) does
>>>>>>>> not work:
>>>>>>>>
>>>>>>>> wl2 = plugin_wiki.widget('jqgrid', db.ips, fieldname="b_or_w",
>>>>>>>> fieldvalue="w", fields=["id", "ipaddress", "attacknotes"])
>>>>>>>>
>>>>>>>> nor does:
>>>>>>>>
>>>>>>>> wl2 = plugin_wiki.widget('jqgrid', ips, fieldname="b_or_w",
>>>>>>>> fieldvalue="w", fields=["id", "ipaddress", "attacknotes"])
>>>>>>>>
>>>>>>>> On Fri, May 11, 2012 at 6:01 PM, Massimo Di Pierro <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> What do you get if you call this yourself?
>>>>>>>>>
>>>>>>>>> Anyway, I do not see the signature. Are you logged in?
>>>>>>>>>
>>>>>>>>> jqgrid in plugin_wiki requires login if I remember it right.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thursday, 10 May 2012 15:02:27 UTC-5, Larry Wapnitsky wrote:
>>>>>>>>>>
>>>>>>>>>> Also just found this via the dev tools::
>>>>>>>>>>
>>>>>>>>>> Request URL:
>>>>>>>>>> http://127.0.0.1:8000/rbl_**web2**py/plugin_wiki/jqgrid?**
>>>>>>>>>> columns=**ipaddress%**2Cattacknotes%2Cb_**or_w%**
>>>>>>>>>> 2CupdCount&fieldname=&**fie**ldvalue=None&tablename=ips&**_**
>>>>>>>>>> search=false&nd=**1336679760463&**rows=10&page=1&**sidx=&sord=asc<http://127.0.0.1:8000/rbl_web2py/plugin_wiki/jqgrid?columns=ipaddress%2Cattacknotes%2Cb_or_w%2CupdCount&fieldname=&fieldvalue=None&tablename=ips&_search=false&nd=1336679760463&rows=10&page=1&sidx=&sord=asc>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>