[web2py] Webservice to upload files

2012-06-27 Thread Adriano Almeida
Hello Gentleman Is this possible to create a webservice with web2py to upload files (ex:pictures)? How could this be done if I want to have some security (password verification) on it? I would like to integrate a web2py service with a mobile application, dropbox style. Thanks in advance

[web2py] Date field mask or another value

2012-03-27 Thread Adriano Almeida
Hi, I want a field (may be string,date or number, no prob) to have a format of MM (valid year and month) or if it is left null, to be 99. How Could I accomplished that? I have tried : Field('A0514_DT_FIN','date',notnull=True, label= 'Dt Fim (MM)', default= '99') and then the

[web2py] Re: Photo Gallery

2012-02-25 Thread Adriano Almeida
sorry for not posting any code before. I had my code at home. So.. I have a layout.html with the following code: ... !-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements feature detects -- script src={{=URL('static','js/modernizr.custom.js')}}/ script

[web2py] Re: Photo Gallery

2012-02-25 Thread Adriano Almeida
is that I mistakenly renamed it to effect.js, without the s. Sorry for wasting your time and thanks a lot for the help. Now the next challenge is to make the site work on GAE. Thanks a lot to all. On Feb 25, 10:58 am, Adriano Almeida adrianowalme...@gmail.com wrote: sorry for not posting any code

[web2py] Photo Gallery

2012-02-24 Thread Adriano Almeida
Hi folks, I have been trying to create a image gallery for a website that I´ll be hosting on GAE. I am trying to use http://lokeshdhakar.com/projects/lightbox2/ but I cannot make it work. When clicking on the link the would open the box and the fotos nothing happens. Is there anybody that