Try like this :
{{if auth.is_logged_in():}}
{{=plugin_wiki.widget('jqgrid',tablename,col_width=80,width=900,height=500)}}
{{pass}}
And that not solve the pb I decribe in most detail.
Richard
On Thu, Sep 30, 2010 at 3:41 PM, Bruno Rocha <[email protected]> wrote:
> Thats not the best way, but I do:
>
> ``{{if auth.is_logged_in():}}``:template
> ``table:xxxx``:jqgrid
> ``{{pass}}``:template
>
> Ugly, but works.
>
>
> 2010/9/30 Richard Vézina <[email protected]>
>
> Hello,
>>
>> Is it possible to make jqgrid sensible to be "@auth.requires_login()"?
>>
>> When there is a session that ends because no activity has been detect
>> during long moment there is no message when user try to use the jqgrid
>> control : search or refresh button...
>>
>> I understand that it is a plugin that uses javascript, but maybe we can
>> create a mechanism that could serve any plugin embeded. What do you think?
>>
>> Regards.
>>
>> Richard
>>
>>
>>
>
>
> --
>
> http://rochacbruno.com.br
>