On Nov 4, 12:22 pm, omicron <jacques.bouss...@gmail.com> wrote:
> With version 1.71.1 I have two problems:
> * Rows object has no longer attribute "response" ? Before
> Rows.response was what I want to send to QooxDoo to populate table
> models. Now I must construct my list with iterator ?
Rows.response was an internal thing. Technically by removing it we did
not break backward compatibility. Moreover it contained data in a back-
end dependent representation.
You should use:
Rows.as_list() and/or Rows.as_list(compact=False)
> * I have a pb with json_rpc : Example I call a function with
> parameters, for example "insert(name)"; with 1.69.0 it's Ok but with
> 1.71.1 the code for inserting record is executed, but the result can't
> be returned to QooxDoo without error. The error is : "'NoneType'
> object is not callable".
Can you provide an example?
Can you try int(insert(....)) would it fix the problem?
Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---