[web2py] Re: web2py 1.89.1 is OUT

2010-11-13 Thread winti
Hello, the jquery timepicker is a good alternative to the clockpicker. For my point of view, the clockpicker is "good enough" if it's working as expected. I would suggest to provide additional functionality, as timeentry and other jquery widgets for ui enhancements in plugins. The clockpicker misbe

[web2py] Re: Clockpick

2010-11-12 Thread winti
for me as well, since 1.89.1 clockpick appears as villas describes. On Nov 12, 9:23 pm, villas wrote: > Hi All, > > The latest upgrade seems to have broken Clockpick.  The times now > appear in the top teft corner of the screen instead of adjacent to the > input.  I've played around with it,  but

[web2py] Progressbar plus

2010-10-04 Thread winti
I implemented some controller functions which are getting some data from a backend system. This may take more than one minute depending on the amount of informations to download. I would like to show the progress of the download tasks on the users web browser. response.flash or session.flash is onl

[web2py] Re: sqlite and vaccum

2010-09-30 Thread winti
> > > should this be default? > > > On Sep 29, 5:56 am, rochacbruno wrote: > > > > db.executesql('PRAGMA auto_vacuum = X') ? > > > > Enviado via iPhone > > > > Em 29/09/2010, às 06:01, winti escreveu: > > > > > Hello, &

[web2py] sqlite and vaccum

2010-09-29 Thread winti
Hello, is there a way to reclaim free space in sqlite db's within web2py as described here: http://www.sqlite.org/pragma.html#pragma_auto_vacuum Stefan

[web2py] Re: Store and retrieve blob

2010-09-26 Thread winti
link=db.srattachments.filelink.store(converted,filename),file=converted) BTW: Massimo... web2py is great, the best, easiest & straightforward i ever used for webapp development. Stefan On Sep 25, 5:09 pm, winti wrote: > I tried many different ways, but i ended with this. I checked also > chapter 6.15

[web2py] Re: Store and retrieve blob

2010-09-25 Thread winti
n between the upload field and the blob field in the db which i still don't understand. Stefan On Sep 25, 6:42 am, mdipierro wrote: > How are you retrieving it? Are you setting a content type and content > disposition in the header? > > On Sep 24, 8:41 am, winti wrote: > >

[web2py] Re: Store and retrieve blob

2010-09-24 Thread winti
On 24 Sep., 15:21, mdipierro wrote: > if you have db.define_table('a',Field('b','blob')) > > db.a.insert(b=converted) > > On Sep 24, 4:34 am, winti wrote: > > > > > Hello, > > i am working on a project where web2py will be us

[web2py] Store and retrieve blob

2010-09-24 Thread winti
Hello, i am working on a project where web2py will be used as a online/ offline frontent for mobile users ufor our ERP System. The communication from web2py to the backend system is implemented with the soap library suds. Now i am at the point to deal with exchanging files (pdf, pictures ). Wit

[web2py] Re: crud.create with hidden field and value to db

2010-09-19 Thread winti
I found the Solution here: http://groups.google.com/group/web2py/browse_thread/thread/f3f28fde6a84820a/b8497712be18bb40?lnk=gst&q=crud.create#b8497712be18bb40 On Sep 18, 6:41 pm, winti wrote: > How to add a record with crud.create with a hidden form field > (Orderid) and a value (

[web2py] crud.create with hidden field and value to db

2010-09-18 Thread winti
How to add a record with crud.create with a hidden form field (Orderid) and a value (taken from variable orderid within controller). model: db.define_table("workingtime", Field("StartTime","datetime",default=datetime.datetime.today()), Field("EndTime","datetime",default=""), Fiel

[web2py] dynamic database schema based on wsdl

2010-07-02 Thread winti
Hello, is there a simple way to keep a web2py database table schema synchronized with a wsdl document consumed with the SOAPpy library ? Stefan

[web2py] Re: WebGrid for Web2py and Keyerror

2010-05-09 Thread winti
a table from the second DAL > instance. You can see what I mean with this controller action: > > def tables(): >     print crud.db.tables >     print db.tables > > On May 9, 3:57 am, winti wrote: > > > > > It's true, when i delete/adjust the db definition s

[web2py] Re: WebGrid for Web2py and Keyerror

2010-05-09 Thread winti
p of db.py? Your > code works for me. > > On May 8, 2:04 pm, winti wrote: > > > > > i changed it to myid and i get a error on: > > KeyError: 'myid' > > > Stefan > > > On May 8, 8:51 pm, "mr.freeze" wrote: > > > > &#x

[web2py] Re: WebGrid for Web2py and Keyerror

2010-05-08 Thread winti
i changed it to myid and i get a error on: KeyError: 'myid' Stefan On May 8, 8:51 pm, "mr.freeze" wrote: > 'identity' is probably a reserved word in sqlite. Try changing it to > something else. > > On May 8, 1:36 pm, winti wrote: > > > > &g

[web2py] WebGrid for Web2py and Keyerror

2010-05-08 Thread winti
Hello, in a controller i define a temp db and want to return the results with webgrid to a view. I get a Keyerror on 'identity'. Traceback (most recent call last): File "/data/projects/frameworks/web2py/applications/gluon/ restricted.py", line 178, in restricted exec ccode in environment F

[web2py] DAL for ldap

2010-04-09 Thread winti
Hello, I want to build a user interface for some tasks in a ldap backend (eDirectory). Actually i am using the python ldap module within web2py. This is working, but i miss some features from the DAL. I was using web2py in some projects and was surprised how straight forward things can be implement

[web2py] Re: BestWay to call controller function

2010-02-28 Thread winti
ribed here:http://web2py.com/book/default/section/4/19 > > But I'd recommend do not do it. Instead, encapsulate the functionality > in a module and call functions in the module. > > On Feb 28, 8:36 am, winti wrote: > > > Hello, > > what's the best/easi

[web2py] BestWay to call controller function

2010-02-28 Thread winti
Hello, what's the best/easiest way to call a existing controller function from another controller in the same app? Until now i used: redirect(URL(r=request,c=..,f=...,args=.)) In this particular case, the calling controller function is not associated with a form, i just like to get the return