hi! I'm trying to represend the ID of a SQLTABLE as a link to a mmodal
window (containing a crud.update) so I'm doing this (just to show the
modal):


{{extend 'layout.html'}}


{{a=PluginMModal(title='Hello World',content='give this a
try!',close='close',width=70,height=70)}}
{{=a}}

{{=SQLTABLE(table,
    headers='fieldname:capitalize',
   _id = 'smarttable',
   _class = 'smarttable',
   truncate=200,
   linkto=a.link('Update')
   )
}}

But, is not working I get this:

invalid request

and it generates this url

http://127.0.0.1/reference/default/index/%3Ca%20onclick=%22jQuery%28'#6f91c756-fabc-46db-9ead-11c0a8b6fd81'%29.fadeIn%28%29;%20return%20false%22%3EUpdate%3C/a%3E/user/2

So how could I do this? also how could I send args to the modal.

I think what I want is something like the powergrid plugin, (I can't
use it due application architechture).

Reply via email to