[web2py] Can I change the color of the cursor on the web2py editor

2011-08-02 Thread dorasan
Hello everyone I want to change the color of the cursor on the web2py editor. It is very light gray and sometimes it's hard to find the cursor on the editor because of sunlight shining on the display. Ive found the definition of the line color which the cursor exists in edit_area_full.js but I

[web2py] How to create a new record in database without submit buttons

2011-07-02 Thread dorasan
Hello everyone. Could you tell me how to create a new record in database without submit buttons? I actually would like to do it by the onclick event. I know that I can call the ajax function like this. input name=name onClick=ajax('writing', ['title'], 'target') / But I dont know what I have

[web2py] how to round the number of seconds

2011-06-25 Thread dorasan
Hello everyone. Could you tell me how to round the number of seconds which 'request.now' represents like this '2011-06-25 15:26:55.881000' = '2011-06-25 15:26:55' or '2011-06-25 15:26:56' thank you dorasan

[web2py] About back-references in the google datastore API

2011-06-18 Thread dorasan
this code is from http://code.google.com/intl/en/appengine/docs/python/datastore/datamodeling.html I would like to do this on web2py. Dorasan.