[web2py] Re: RESTful api and JSON POST data with curl

2013-04-19 Thread Brent Zeiben
accepts the args as a normal > page, that is a application/x-www-form-urlencoded or a multipart/form-data > . with curl would be something like curl -d name=blablabla -d > otherparameter=blablabla http://theurl > > On Friday, April 19, 2013 1:24:03 AM UTC+2, Brent Zeiben wrote:

[web2py] RESTful api and JSON POST data with curl

2013-04-18 Thread Brent Zeiben
Hi, I am using a python script to organize some data and try to send it into web2py via the @request.restful() api. In the python script the text is mainly input from a free form text field. ( I believe some Unicode characters are in there as well, however I remove everything that is ord 128

[web2py] Re: Jeditable and SQLTables

2012-07-17 Thread Brent Zeiben
Going back to your first example code you gave above, Javascript in the view nothing really changed I just don't have the indicator gif jQuery(document).ready(function(){ jQuery('.EDit').editable("{{=URL('update')}}",{ style: 'display:inline', indicator: "Saving

[web2py] Re: Jeditable and SQLTables

2012-07-12 Thread Brent Zeiben
Simon, Instead of using the default operation of jeditable, I just past in a function and used jquery.post to send the data to the controller. In Javascript I just do: jQuery(".EDIT").editable(function(value,settings){ //Grab the id you want the value of the field is stored in value jQuery.pos

[web2py] Distinct in Autocomplete widget select

2012-06-25 Thread Brent Zeiben
file from mercurial trunk this morning. Are there any issues with this? Thanks, Brent -- # HG changeset patch # User Brent Zeiben # Date 1340642532 21600 # Node ID d545ea44624a80d1f23f212a8f23ce7647dba36a # Parent 22468f606668303251baa88547143ec507faac19 Added Distinct to Autocomplete