[web2py] Re: Unable to connect to MSSQL via web2py - SSL Security Error

2014-09-24 Thread Alen Cerovic
is there resolution to this? I am having similar errors, tried on diferent computer with another sql server same problems *db = DAL('mssql://sa:password@127.0.0.1\InstanceName/DbName')* Error: ('08001', '[08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error (18) (SQLDriverConne

[web2py] mssql legacy tables reference

2014-09-26 Thread Alen Cerovic
Hi, I am totaly new to web2py, actually started yesterday :) I am trying to work with legacy mssql database and having problems in referencing two legacy keyed tables db.define_table('Mjesta', Field ('PostanskiBroj', 'integer',notnull=True,unique

[web2py] Re: Unable to connect to MSSQL via web2py - SSL Security Error

2014-09-26 Thread Alen Cerovic
ce code ? > If you're using binaries, can you please stop web2py, go into the root, > rename secure32.dll to secure32.dll.old and then try again ? > > On Wednesday, September 24, 2014 5:52:43 PM UTC+2, Alen Cerovic wrote: >> >> is there resolution to this? I am h

[web2py] Re: mssql legacy tables reference

2014-09-27 Thread Alen Cerovic
ould not swear by references for legacy keyed tables.* > On Thursday, 25 September 2014 11:58:21 UTC-5, Alen Cerovic wrote: >> >> Hi, >> >> I am totaly new to web2py, actually started yesterday :) >> I am trying to work with legacy mssql database and having probl

[web2py] Re: mssql legacy tables reference

2014-09-29 Thread Alen Cerovic
ries in the 'Partneri' table that refer keys not in the 'Mjesta' > table? A quick workaround would be to put in a 'requires' lambda into the > field definition in the Partneri table. This way you can define your own > custom rules. > > On Saturday,

[web2py] Re: mssql legacy tables reference

2014-10-03 Thread Alen Cerovic
is there any resolution to this, any ideas, or are there plans to make it work in future? Dana ponedjeljak, 29. rujna 2014. 12:26:11 UTC+2, korisnik Alen Cerovic napisao je: > > Hi pn, I am expecting dropdown list of Mjesta when I add/edit record in > Partneri > tried putting 

[web2py] Re: mssql legacy tables reference

2014-10-10 Thread Alen Cerovic
amples/global/vars/IS_NOT_EMPTY>()), Field <http://127.0.0.1:8000/examples/global/vars/Field>("Mjesto","reference Mjesta"), primarykey=["Sifra"], migrate=False) Dana petak, 3. listopada 2014. 20:13:55 UTC+2, korisnik Niphlod napisao je: > what if you don&

[web2py] smartgrid add button override

2014-10-16 Thread Alen Cerovic
Hi, how to change url for Add button in smartgrid. I also tried create=False but dont know how to add new button on the same position thnx -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2

[web2py] plugin_jstree - ImportError: No module named globals

2014-10-22 Thread Alen Cerovic
I am getting error with plugin_jstree on windows: Traceback (most recent call last): File "gluon/restricted.py", line 224, in restricted File "C:/mediacom/mediacom/Development/web2py/web2py_win/web2py/applications/staff/controllers/plugin_jstree.py", line 49, in File "gluon/globals.py",

Re: [web2py] Re: SQLFORM.grid search with custom request.vars

2014-10-24 Thread Alen Cerovic
I am on the same boat, any solutions? Dana subota, 18. listopada 2014. 20:57:46 UTC+2, korisnik Alfonso de la Guarda Reyes napisao je: > > Hi, > > Any change about this? or at lesat how to solve? > > > El jueves, 8 de mayo de 2014 03:22:14 UTC-5, Paolo Valleri escribió: >> >> I opened an issue ht

[web2py] Re: plugin_jstree - ImportError: No module named globals

2014-10-25 Thread Alen Cerovic
Pierro napisao je: > can you try replace > > from globals import Response, Storage > > with > > from gluon.globals import Response, Storage > > On Tuesday, 21 October 2014 08:20:11 UTC-5, Alen Cerovic wrote: >> >> I am getting error with plugin_jstree on windows:

[web2py] grid search on field "list:string"

2014-10-25 Thread Alen Cerovic
Grid search widget does not show fields with datatype "list:". How to "enable" searching on these fields in grid search? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repor

Re: [web2py] SQLFORM.grid created from request.vars - search, pagination etc breaks

2014-10-25 Thread Alen Cerovic
two years later I am struggling with same problem, is grid vars parameter now included in web2py? Dana srijeda, 24. listopada 2012. 11:56:21 UTC+2, korisnik Niphlod napisao je: > > isn't this a little silly ? we have an args parameter to the grid but not > a vars one > > Could you try to te

Re: [web2py] SQLFORM.grid created from request.vars - search, pagination etc breaks

2014-10-27 Thread Alen Cerovic
Hi Mandar, as you pointed me to source it seems there is still just args parameter. I tried with session.vars but somehow I was loosing those vars and it just did not feel right to me. I ended up switching to args and pass those request.args to grid as args parameter. It works now but I like i

[web2py] Re: Create a drop-down menu from a database

2014-10-27 Thread Alen Cerovic
Having same problem citation "This code produce only a simple imput box and not a drop down menu" Have you found a solution? Dana petak, 11. listopada 2013. 19:06:23 UTC+2, korisnik Py Dev napisao je: > Massimo, > > thank you very much for your example, but it does not work, here is my > comple

[web2py] smartgrid - export to pdf

2014-11-17 Thread Alen Cerovic
Hi, what is standard (read easy ;-) way to export smartgrid to pdf I tried replacing http://127.0.0.1:8000/app/controller/index to http://127.0.0.1:8000/app/controller/index.pdf but got an error: Table column/cell width not specified, unable to continue Please help -- Resources: - http://web

Re: [web2py] Re: SQLFORM.grid search with custom request.vars

2014-11-28 Thread Alen Cerovic
bump, any news? This is really anoying not to be able to preserve vars as we can args Dana petak, 24. listopada 2014. 21:47:38 UTC+2, korisnik Alen Cerovic napisao je: > > I am on the same boat, any solutions? > > Dana subota, 18. listopada 2014. 20:57:46 UTC+2, korisnik Alfonso de

[web2py] form warning

2014-11-30 Thread Alen Cerovic
how to make a warning message in form based on some condition but allow to proceed validator? thnx -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You r

[web2py] Re: form warning

2014-12-01 Thread Alen Cerovic
not form.vars.number == int(form.vars.number): > response.flash = 'ok but you did not insert an integer number' > > > > On Sunday, 30 November 2014 13:43:09 UTC-6, Alen Cerovic wrote: >> >> how to make a warning message in form based on some condition but allow >&

[web2py] totals in grid?

2015-05-19 Thread Alen Cerovic
Hi, how to add field totals in grid (or smartgrid) footer, for example sum numeric field in footer? Thank You -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues