or just onupdate=updateAuthorizationStatus
On Tuesday, June 23, 2015 at 9:41:39 PM UTC+2, Alex Glaros wrote:
is this right?
grid = SQLFORM.grid(db.AuthorizedInstance.id==request.get_vars.
specificAuthorizationID, editable=True, deletable=False, create=False,
searchable=False,
No, it's not a redirect, even if it could be crafted as one.
and yep, you are using it wrong.
everything on* is a callback, not a string... so it needs to be a
function. It takes form as the input.
Strictly speaking, onupdate translates to the same thing of the onsuccess
callback passed to the
is this right?
grid = SQLFORM.grid(db.AuthorizedInstance.id==request.get_vars.
specificAuthorizationID, editable=True, deletable=False, create=False,
searchable=False, details=False, csv=False, maxtextlength=5000, onupdate=
lambda form:updateAuthorizationStatus(form))
--
Resources:
-
3 matches
Mail list logo