Re: [web2py] export data to OOO and Excel

2011-07-29 Thread Philippe ENTZMANN
Another solution : You can simply link data to a Excel/OOo spreadsheet. >From web2Py, you only need a view with a HTML table of your data. In Excel or OOo you link your spreadsheet to your URL. Advantages : - you don't have to build your Excel file in w2p (no extra module) - you can link your data

Re: [web2py] Re: displaying process output to the screen

2011-01-20 Thread Philippe ENTZMANN
tables, so, I > should be able to use what you're saying but by querying the DB > instead of open/read/close a file repeatedly? > > This a great idea! Thanks :) > > On Jan 20, 4:42 pm, Philippe ENTZMANN > wrote: >> Via the Python logging module. >> This

Re: [web2py] displaying process output to the screen

2011-01-20 Thread Philippe ENTZMANN
Via the Python logging module. This is a code snippet I use to set a log file (if your process is in Python) : log = logging.getLogger("checkmail") log.setLevel(logging.DEBUG) fh = logging.FileHandler("../logs/checkmail.log") fh.setLevel(logging.DEBUG) # create formatter and ad

Re: [web2py] ajax append target

2011-01-13 Thread Philippe ENTZMANN
Yes it is possible but more related to jQuery. Use the jQuery append() function to add your ajax result in any DOM part of your page. cf http://api.jquery.com/append/ 2011/1/13 Francisco Costa : > Hello! > I have an ajax function that return some values. > The thing is that I don't want it to rep

Re: [web2py] Re: web2py unavailable during file upload cherokee+ssl+uWSGI+web2py

2011-01-04 Thread Philippe ENTZMANN
Yes I use sqlite as the default web2py database backend. The record is created at the end of the transfer, why should have been a lock during the transfer ? This "lock" does not occur without Cherokee/uWSGI, why ? To check this, what is the simplest controller code to achieve an upload (without da