[web2py] Parameters GET or POST.

2010-08-13 Thread FERNANDO VILLARROEL
Dear All. How i can pass parameters between forms with POST or GET? Regards.

[web2py:23795] Re: Error accesing

2009-06-09 Thread FERNANDO VILLARROEL
Hi, Tha table exist there and the table have a unique auto-increment "id" field also. The schema of table calls is the following id | integer | not null default nextval('calls_id_seq'::regclass) account_id | integer | not null uuid

[web2py:26672] Authentication

2009-07-16 Thread FERNANDO VILLARROEL
Dear all. I am trying to use authentication: http://www.web2py.com/examples/default/tools I have the following code on my db.py: from gluon.tools import * auth=Auth(globals(),db)# authentication/authorization # define custom tables (table_user_name is 'auth_user') auth.settings.

[web2py:26707] Re: Authentication

2009-07-16 Thread FERNANDO VILLARROEL
rsor.execute(*a, **b) ProgrammingError: no existe la relación «auth_group» > Do you get error even if > auth.settings.create_user_groups=True? yes > If you use appadmin, do you see the auth_group? No appadmin is the front end for administrator? > > > > On Jul 16, 4

[web2py:26721] Re: Authentication

2009-07-16 Thread FERNANDO VILLARROEL
ind a > solution. > > Massimo > > > On Jul 16, 9:49 pm, FERNANDO VILLARROEL > wrote: > > Hello, > > > > I am using a database Postgres. > > > > > Can you show the entire traceback? > > > > Traceback (most recent call last): > &

[web2py:26723] Re: Authentication

2009-07-16 Thread FERNANDO VILLARROEL
e database > was > corrupted. Now everything should work. Let me know if not. > > Massimo > > On Jul 16, 11:13 pm, FERNANDO VILLARROEL > wrote: > > > I suspect we have a major problem here: > > > > > "role" is a keyword in postgresql and I d

[web2py:28116] Total Records

2009-08-06 Thread FERNANDO VILLARROEL
Hello All. If i have a query as the follow: rows=db(db.pagos.id_clientes==session.cliente_id).select(db.pagos.id,db.pagos.fecha,db.pagos.monto,db.pagos.comments,orderby=db.pagos.id) How i can know the total of records of the object rows? Fernando. --~--~-~--~~---

[web2py:28128] View Pagination Help

2009-08-06 Thread FERNANDO VILLARROEL
Hello. I am trying to implementing the example pagination: http://www.web2py.com/AlterEgo/default/show/95 How i use backward and forward in the view: {{extend 'layout.html'}} Pagos Cliente {{for row in rows:}} .. .

[web2py:28321] Calendar

2009-08-10 Thread FERNANDO VILLARROEL
Dear all, I am trying use calendar on a simple form as below: def llamados(): hoy=time.time() desde=time.strftime('%d-%m-%Y 00:00:00',time.localtime(desde)) hasta=time.strftime('%d-%m-%Y %H:%M:%S',time.localtime(hoy)) lineas=db(db.accountcode.id_clientes==session.cliente_id).select(d

[web2py:28325] Re: Calendar SOLVED

2009-08-10 Thread FERNANDO VILLARROEL
Thank you Jonathan, now works fine. --- On Mon, 8/10/09, Jonathan Lundell wrote: > From: Jonathan Lundell > Subject: [web2py:28322] Re: Calendar > To: web2py@googlegroups.com > Date: Monday, August 10, 2009, 8:56 PM > > On Aug 10, 2009, at 4:48 PM, FERNANDO VILLARROEL wrot

[web2py:28327] Calendar Setup

2009-08-10 Thread FERNANDO VILLARROEL
Regarding of the calendar. How i can use calendar with today in format day-month-year? hoy=time.time() desde=time.strftime('%d-%m-%Y 00:00:00',time.localtime(hoy)) INPUT(_type="datetime",_name="desde",_value=hoy,_class='datetime',_id="datetlimite", requires=IS_DATETIME())) if i use this form

[web2py:28373] Help query

2009-08-11 Thread FERNANDO VILLARROEL
Dear all. How i can doing the following query for web2py: select a.destino,a.answeredtime,a.inicio,a.fin,a.valor from llamados as a join accountcode as b on a.id_accountcode=b.id join clientes as c on b.id_clientes=c.id where id_clientes = clte and a.dialstatus=

[web2py:28388] Re: Help query

2009-08-11 Thread FERNANDO VILLARROEL
gt; rows = db(query).select > (a.destino,a.answeredtime,a.inicio,a.fin,a.valor,left=left,orderby=~a.inicio) > > > > > On Aug 11, 4:54 pm, FERNANDO VILLARROEL > wrote: > > Dear all. > > > > How i can doing the following query for web2py: > > > >  select

[web2py:28529] Re: logo

2009-08-13 Thread FERNANDO VILLARROEL
I like option A Fernando --- On Thu, 8/13/09, Massimo Di Pierro wrote: > From: Massimo Di Pierro > Subject: [web2py:28520] logo > To: web2py@googlegroups.com > Date: Thursday, August 13, 2009, 1:29 PM > Two logos have been proposed for > web2py. I love them both and I would  > like your opin

[web2py:28851] records from a form

2009-08-17 Thread FERNANDO VILLARROEL
Dear All. I am trying get records from a form like this: controller: def llamados(): import time hoy=time.time() desde=time.strftime('%Y-%m-%d 00:00:00',time.localtime(hoy)) hasta=time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(hoy)) lineas=db(db.

[web2py:29437] Form and Jquery

2009-08-26 Thread FERNANDO VILLARROEL
Dear All. I am trying of doing a query for get some records from a database and show results on a Data Tables (Jquery), i am new in Web development (Ajax and Jquery, Json, etc.) and i want know how doing. The idea is get all records that fecha >= to var "desde" and show in a Data Tables Con

[web2py:34608] Re: web2py pagination with Datatables

2009-11-04 Thread FERNANDO VILLARROEL
Hello All. Regarding of pagination. Anyone could me explain how i can use Datatables; i am trying but not works. Or if anyone could send to me a example how i can use it. Regards. Fernando --- On Wed, 11/4/09, mdipierro wrote: > From: mdipierro > Subject: [web2py:34574] Re: web2py paginati

[web2py:21524] Re: Mapping databse

2009-05-08 Thread FERNANDO VILLARROEL
Hello Alvaro thank you for your answer and help Fernando --- On Fri, 5/8/09, Álvaro Justen [Turicas] wrote: > From: Álvaro Justen [Turicas] > Subject: [web2py:21499] Re: Mapping databse > To: web2py@googlegroups.com > Date: Friday, May 8, 2009, 2:43 PM > > On Fri, May 8, 2009 at 2:27 PM, Yar

[web2py] Grahs

2012-08-14 Thread FERNANDO VILLARROEL
Dear All. I am looking how i can doing some humedity graph from my database like: http://www.google.cl/imgres?imgurl=http://bfinet.es/objects/300_19_1511558087/grafico-humedad.jpg&imgrefurl=http://bfinet.es/Sonda%2BTemperatura%2By%2BHumedad-300.htm?sid%3D86888e016e7af58b05e6bd8071640e45&h=395&w=6

Re: [web2py] Graphs

2012-08-15 Thread FERNANDO VILLARROEL
Thank you everyone for you help. Where i can see some how to for i can use d3 visualizations fed from web2py or Charts? Regards. --- On Wed, 8/15/12, Andrew wrote: From: Andrew Subject: Re: [web2py] Grahs To: web2py@googlegroups.com Date: Wednesday, August 15, 2012, 6:47 AM You may also want

[web2py] web2py nginx and uwsgi

2012-08-23 Thread FERNANDO VILLARROEL
Dear. I am new in web developing and always i used sample apache config. But i see many post about my subject, so I would like use it. Also I would like to integrate git to development environment, now i do using trac + svn for my standalone projects. I am following the follow howto: http://

[web2py] Read file attached from gmail

2012-09-17 Thread FERNANDO VILLARROEL
Dear All. Every day i did received a email (gmail) with a file attached (text) as rar. My question is how i can read this file attached from web2py? Or how i can download this file to /tmp folder? Any idea. Regards --

Re: [web2py] How to make a call?

2013-01-11 Thread Fernando Villarroel
I think you could use clicktocall Enviado desde mi iPhone El 11-01-2013, a las 19:44, webpypy escribió: > Hi , > > Using web2py app in mobile, How to make a call? > > Regards, > > Ashraf > -- > > > --

[web2py] Help Query speed

2013-01-22 Thread FERNANDO VILLARROEL
Dear. I have the follow problem. If i run the follows query in PgAdminIII is very fast: select rutas.id,rutas.nombre,ratecltes.rate from ratecltes joinrutas on rutas.id = ratecltes.id_rutas where ratecltes.id_clte=26 order by rutas.nombre But when i run the query on Web2py is very slow

Re: [web2py] Help Query speed

2013-01-22 Thread FERNANDO VILLARROEL
utas.nombre'] table=powerTable.create() return dict(table=table) Any idea? Regards --- On Tue, 1/22/13, FERNANDO VILLARROEL wrote: > From: FERNANDO VILLARROEL > Subject: [web2py] Help Query speed > To: web2py@googlegroups.com > Date: Tuesday, January 22, 201

Re: [web2py] Help Query speed

2013-01-22 Thread FERNANDO VILLARROEL
Ok but how i can solve? --- On Tue, 1/22/13, Bruno Rocha wrote: From: Bruno Rocha Subject: Re: [web2py] Help Query speed To: web2py@googlegroups.com Date: Tuesday, January 22, 2013, 10:10 PM maybe the virtual fields? --       --

[web2py] powerTable AttributeError: 'DAL' object has no attribute 'virtual'

2012-09-30 Thread FERNANDO VILLARROEL
Dear All. I am trying to use PowerTable, but i am receiving the follow error: Traceback (most recent call last): File "/home/fvillarroel/www/web2py/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home/fvillarroel/www/web2py/applications/administrador/contr

Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual'

2012-09-30 Thread FERNANDO VILLARROEL
Dear Massimo. My code is the following: @auth.requires_membership('Administrador')def clientes():     class Virtual(object):         @virtualsettings(label=T('Editar'))        def edit(self):                        link_editar= URL(r =request,f='editablefunction',                            args

Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual'

2012-10-01 Thread FERNANDO VILLARROEL
Dear Bruno. Yes effectively i am using the new version of web2py 2.0.8 --- On Mon, 10/1/12, Bruno Rocha wrote: From: Bruno Rocha Subject: Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual' To: web2py@googlegroups.com Date: Monday, October 1, 2012, 1:04 AM Are

Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual'

2012-10-03 Thread FERNANDO VILLARROEL
Dear Bruno Any update about powerTable + Web2py 2.0.9 --- On Mon, 10/1/12, Bruno Rocha wrote: From: Bruno Rocha Subject: Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual' To: web2py@googlegroups.com Date: Monday, October 1, 2012, 1:04 AM Are you running new v

[web2py] 'Row' object has no attribute powerTable

2012-12-16 Thread FERNANDO VILLARROEL
Dear All. I am trying to use powerTable plugin, but i am receiving the following error: return ogetattr(self, key) AttributeError: 'Row' object has no attribute 'pagos' My code: @auth.requires_login() def pagos(): reg=db(db.pagos.id_clientes==session.cliente_id).select(db.pagos.id,d

Re: [web2py] 'Row' object has no attribute powerTable

2012-12-17 Thread FERNANDO VILLARROEL
Dear Bruno. Yes works fine without powerTable The problem occur when i use powerTable. Regards --- On Mon, 12/17/12, Bruno Rocha wrote: From: Bruno Rocha Subject: Re: [web2py] 'Row' object has no attribute powerTable To: web2py@googlegroups.com Date: Monday, December 17, 2012, 1:04 AM what hap

Re: [web2py] 'Row' object has no attribute powerTable

2012-12-17 Thread FERNANDO VILLARROEL
27;] = 'full_numbers'#request.vars.get('pager','full_numbers') # two_button scrolling         powerTable.columns =   ['pagos.id','pagos.fecha','pagos.monto','pagos.comments']          #powerTable.extra = dict(autoresize={})       

Re: [web2py] 'Row' object has no attribute powerTable SOLVED

2012-12-17 Thread FERNANDO VILLARROEL
('Information:'))                def virtualtooltip(self):                        return T('This is a virtual tooltip for record %s' % self.pagos.id) Now powerTable works, anyone could me explain why? Regards. --- On Mon, 12/17/12, FERNANDO VILLARROEL wrote: From: FERNANDO VIL

[web2py] Cron every 5 seconds.

2012-12-21 Thread FERNANDO VILLARROEL
Dear. I need refresh my index every 5 seconds. I think to use cron, so how i can call a controller (controller/myfunction) every 5 seconds? Regards. Fernando. --

[web2py] Call controller automatically

2012-12-22 Thread FERNANDO VILLARROEL
Dear. I have a controller that basically runs a SQL shown in their respective views. Need is that while the user STAY in this view, the controller automatically running every 5 seconds, and so the result of the SQL refresh the view. I could use a Refresh button, but I want it to be automatic.

[web2py] Deploy nginx + uwsgi

2012-12-27 Thread FERNANDO VILLARROEL
Dear All. I am trying to migrated my web2py applications from apache to nginx + uwsgi. So i did configured a Ubuntu Server, i follow the script : http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh My problem is i can't deploy mi domain: administrator.midoma

Re: [web2py] Deploy nginx + uwsgi

2012-12-27 Thread FERNANDO VILLARROEL
:// ?? On Fri, Dec 28, 2012 at 1:43 AM, FERNANDO VILLARROEL wrote: Dear All. I am trying to migrated my web2py applications from apache to nginx + uwsgi. So i did configured a Ubuntu Server, i follow the script : http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-nginx-uwsgi

[web2py] Connection error standard_conforming_strings

2013-01-01 Thread FERNANDO VILLARROEL
Dear All. I am trying to migrate my web2py applications to the new version 2.3.2 and deploy with nginx + uwsgi but i am received the following error: DEBUG: connect attempt 4, connection error: Traceback (most recent call last): File "/home/www-data/web2py/gluon/dal.py", line 6771, in __init_

Re: [web2py] Re: Connection error standard_conforming_strings

2013-01-01 Thread Fernando Villarroel
Yes psycopg2 is installed. But i test the same aplication with another postgresql version (8.4)now my application running fine. http://comments.gmane.org/gmane.comp.python.web2py/42824 I think the problem is the postgresql version 8.1. So i migrated my database to PostgreSQL 8.4 for solved my

[web2py] Unsupported query SQLFORM.grid

2012-03-23 Thread FERNANDO VILLARROEL
Dear All. I am trying the following query: fields=[db.llamados.id,db.accountcode.ani,db.llamados.destino,db.rutas.nombre,db.llamados.answeredtime,db.llamados.inicio,db.llamados.valor,db.l lamados.billing] left = ([db.accountcode.on(db.llamados.id_accountcode==db.accountcode.id),db.rutaprov

[web2py] FORM SELECT

2012-04-02 Thread FERNANDO VILLARROEL
Dear All. I have the followings on models: db.define_table('province', SQLField('name', 'string', length=50, required=True, default=None)) db.define_table('cities', SQLField('name', 'string', length=50, required=True), SQLField('id_province',db.province, require

Re: [web2py] Unable to create DAL connection to PostgreSQL on WebFaction

2011-04-16 Thread FERNANDO VILLARROEL
Hi Change dbpg = DAL('postgres://dlawrence_test1:@localhost/dlawrence_test1') to: dbpg = SQLDB('postgres://dlawrence_test1:@localhost:5432/dlawrence_test1') Regards. --- On Sat, 4/16/11, Dave wrote: > From: Dave > Subject: [web2py] Unable to create DAL connection to PostgreSQL on

Re: [web2py] Graphs

2013-05-03 Thread FERNANDO VILLARROEL
Dear. I am trying to make a graph temperature vs time with NVD3.js But it's my first experience with D3 and JsON and i think i am wrong because i can't show graphic. I am getting data from a database: My controller: def grafico_temp(): rows=db(db.temperaturas).select(db.temperaturas.f

Re: [web2py] Re: No module named PIL

2013-05-24 Thread Fernando Villarroel
pip install PIL Enviado desde mi iPhone El 25-05-2013, a las 0:35, Alex Glaros escribió: > I'll try to install it but can you please tell where and how? I can't find > where Python is in the web2py folders. > > thanks, > > Alex > > On Friday, May 24, 2013 9:31:02 PM UTC-7, Anthony wrote

[web2py] Personalize calendar for reservation

2014-04-13 Thread FERNANDO VILLARROEL
Dear all. I see the post; https://groups.google.com/forum/#!topic/web2py/IIYWWB0D7e4   I am think to do a reservation site, basically i need to input a date range : fromfate todate My probem is how i can show a calendar with days in green colors for available days and red colors for reservate

[web2py] Open a form popup only some user registered

2016-06-20 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. I hope you could me explain how i can do the follow idea: If a have a user registered like username in my  web2py site. I have another application like asterisk (IP PBX) so when asterisk received a inbound a call for user i need that the browser of user (only browser of t

Re: [web2py] Open a form popup only some user registered

2016-06-21 Thread 'Fernando Villarroel' via web2py-users
Ok Richard Thank you for you answer. Enviado desde mi iPhone > El 21-06-2016, a las 11:25, Richard Vézina > escribió: > > You will need websocket_messaging/tornado for doing such a thing... > > Richard > >> On Tue, Jun 21, 2016 at 12:21 AM, 'FERNANDO VILLARR

Re: [web2py] Web2py and WebRTC?

2016-08-03 Thread 'Fernando Villarroel' via web2py-users
Dear. I think the deploy coments use a server like Asterisk or FreeSWITCH. So the deploy from Django surely use some library JavaScript for comunícate browsers like sip.js or another with websocket server (Asterisk or FreeSWITCH ). Regarding about webrtc i deploy a server webrtc using FreeSWITC

Re: [web2py] Web2py and WebRTC?

2016-08-04 Thread 'Fernando Villarroel' via web2py-users
Thank you Antonio Enviado desde mi iPhone > El 04-08-2016, a las 4:51, António Ramos escribió: > > https://www.youtube.com/watch?v=MUWy-NSrvNQ > > 2016-08-03 19:26 GMT+01:00 'Fernando Villarroel' via web2py-users > : >> Dear. >> >> I think th

Re: [web2py] Web2py and WebRTC?

2016-08-10 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear Massimo.I did tested opentok great tip!!! Regards On Saturday, August 6, 2016 4:43 AM, Massimo Di Pierro wrote: I would use opentok On Tuesday, 2 August 2016 19:46:07 UTC-5, Ron Chatterjee wrote: This may help. Its a django app. Someone needs to take a stab at this to convert in

[web2py] Web2py & Geraldo Reports

2014-09-01 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. I am try to use Geraldo Reports with web2py and i am following this howto: http://www.geraldoreports.org/docs/tutorial-web2py.html But i received a error with this import >>> from reports import ReportPurchase Traceback (most recent call last): File "", line 1, in ImportError: No

[web2py] SQLFORM.smartgrid 'module' object has no attribute 'split'

2014-09-03 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi All. I am trying to use SQLFORM.smartgrid: query=(db.cdr.accountcode==form.vars.nombre[0]) grid=SQLFORM.smartgrid(db.cdr,constraints=dict(cdr=query),details=False,create=False,editable=False,deletable=False,csv=False) But i received the follow exception: 'module' object has no attribute 'sp

[web2py] Re: SQLFORM.smartgrid 'module' object has no attribute 'split'

2014-09-04 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi. The database definition ; db.define_table('cdr', Field('caller_id_name',length=30), Field('caller_id_number',length=30), Field('destination_number',length=30), Field('context',length=20), Field('start_stamp', datetime), Field('answer_stamp', da

Re: [web2py] Re: SQLFORM.smartgrid 'module' object has no attribute 'split'

2014-09-04 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear, i changed datetime with 'datetime' and now it's works Thank You On Thursday, September 4, 2014 8:15 AM, Niphlod wrote: tat's probabl why replace datetime with 'datetime' (notice the '') On Thursday, September 4, 2014 1:37:51 PM UTC+2, visuallinux wrote: Hi. > > >The database def

[web2py] Geraldo Report

2014-09-04 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. Does anyone use Geraldo Report? I am trying to use i follow the how to about web2py and Geraldo http://www.geraldoreports.org/docs/tutorial-2.html But i received a empty pdf. My code: controllers/callscltes_pdf.py def callcltes_pdf(): from reports import ReportPurchase

[web2py] Login password changed

2014-09-14 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. For some reason i do not know, the login password on my web2py site changed. Is possible that someone is attack my website?, how i can prevent or solve this issue? For reseted the password i must updated auth_user like: update auth_user set password=md('foo'); What do you think? I

[web2py] Features as Modules

2014-11-03 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. I need to add new features to my application like a modules; something like purchases module, sales module, etc. The idea is that each new module installed enable the respective option menu. My idea is to create folders within the folder modules such as sales folder; inside are the

[web2py] Audio wav file

2014-11-05 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear all. I need to play a sound file (.wav) I am trying like this: controler: def play(): filename='2014-11-04-19-20-19_994491803_448908901.wav' ff=XML('' % filename) return dict(ff=ff) view: play.html {{extend 'layout.html'}} {{=ff

Re: [web2py] Re: Audio wav file

2014-11-06 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi. The follow script it works; Your browser does not support the audio element. And this works in Firefox but not in Chrome, why?. I am use latest version of firefox and Chrome. But my problem is that the wav file is a variable,so i try to use: f='{{=filename}}' But i received a except

[web2py] Backend and FrontEnd dev

2014-12-17 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. Some customer need a application like a Desktop application (visual basic, wxPython, etc.) and reports. I think to use web2py, but i need to do rich windows (widgets or RIA). I am searching how i can do so i found qooxdoo.For reports i think to use Reportlab. My web development experien

Re: [web2py] Re: happy holidays everybody

2014-12-24 Thread 'FERNANDO VILLARROEL' via web2py-users
pyDAL +10 I wish you merry christmas and happy new year Massimo and everybody of this community. Fernando On Wednesday, December 24, 2014 12:48 PM, DJ wrote: Congrats Massimo and happy holidays! On Wednesday, December 24, 2014 8:48:18 AM UTC-5, Massimo Di Pierro wrote: I wish a ha

Re: [web2py] web2py and sublime test

2015-01-04 Thread 'Fernando Villarroel' via web2py-users
+1 Enviado desde mi iPhone > El 03-01-2015, a las 23:32, Massimo Di Pierro > escribió: > > I came across this: > > https://github.com/cassiobotaro/my_environment > > Useful! > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2

[web2py] Heroku deploy

2015-03-03 Thread 'Fernando Villarroel' via web2py-users
" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Dear All. I have my app in my home folder ~/web2py/application/foo I do not understand how i can deploy on Heroku Anyone can explain how i can do I am trying to follow the book guide but i do not understand. I am using git bitbucket on

[web2py] Call a javascript function from SQLFORM.smartgrid

2017-03-18 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. How a i can call a javascript function from a link of sqlform.grid My controller:   d=datetime.datetime.strptime(request.vars.desde, "%d/%m/%Y %H:%M:%S") \    if request.vars.desde else datetime.datetime.strptime(datetime.datetime.strftime(datetime.datetime.now(),'%Y-%m-%d 00:00:00'),

Re: [web2py] Call a javascript function from SQLFORM.smartgrid

2017-03-24 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear Nico. Thank you for you answer. I use a sqlform.smart grid for show records from database, i want to do a call Restful for show especific record clicked using ajax My problem is i not know how i implement onclick function on sqlform.smart grid Regards On Friday, March 24, 2017 6:20 AM,

[web2py] SOAP & WSDL

2018-01-17 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi all. Excuse for some off topic. I need to up a SOAP service so i think to use web2py. I have wsdl file. I use wsdl2interface for convert wsdl into Python clasesThis is my wsdl file: http://oap/ser - Pastebin.com | | | | || | | | | | http://oap/services/checkHold

[web2py] sqlform.smartgrid from custom datefield from sqlform.factory

2015-05-25 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All I have problem when i click on pagination of sqlform.smartgrid because my custom date field change to today and i lost data def index():    d=datetime.datetime.strptime(request.vars.desde, "%d/%m/%Y %H:%M:%S") \            if request.vars.desde else datetime.datetime.strptime(datetime.d

Re: [web2py] sqlform.smartgrid from custom datefield from sqlform.factory

2015-05-26 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi. I need you help, any idea how i can solve my problem. Regards On Monday, May 25, 2015 11:03 PM, 'FERNANDO VILLARROEL' via web2py-users wrote: Dear All I have problem when i click on pagination of sqlform.smartgrid because my custom date field change to today and i