[web2py] Re: In praise of the lowly "nested_select"

2019-02-13 Thread Skiros
Hello ! Very interesting !!! I'm trying to reproduce this behaviour but I'm getting this error "Expression object has no attribute on". What version of w2p are you using ? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

[web2py] Re: Codec MS-SQL, unicode Latin1 UTF8

2017-05-18 Thread Skiros
Hello J-Michel Angers I had have that problem and I dont remember how i fixed... jajaja what type of fields you are using ? nchar o char ? this determines what kind of connection need to use. There are a few options; mssql, mssql2, mssql3 and mssql4. If you are using nchar you need mssql2. In

[web2py] Re: Problem with unicode data in mssql

2011-03-11 Thread Skiros
The problem is that both adapters are causing me errors... On 10 mar, 14:50, Ross Peoples wrote: > I noticed that you use mssql2:// in there. I don't know if it will help, or > make things worse, but try just mssql:// instead of mssql2://, as that > adapter is still in development and is not yet

[web2py] Problem with unicode data in mssql

2011-03-10 Thread Skiros
Hi everyone ! I have an application working correctly with version 1.87.3 of web2py and SQL Server 2000. The database has a collation Modern_Spanish_CI_AS. My problems start when upgrade to version 1.93.2. In my code have originally: db = SQLDB('mssql2://User:Password@MyServer/MyDataBase', pool_

[web2py] Re: How to switch language in application?

2010-08-31 Thread Skiros
Hmmm Maybe You can save the language selected like a property of the user and in the login store that value in a session variable and use that with T.force() in any action... On 26 ago, 06:53, David Marko wrote: > How can I switch language in application in a way, that app will > remember this?

[web2py] Re: Online Python Debugger - see how the code is executed! Cool

2010-08-31 Thread Skiros
Goooddd ! Thanks ! On 30 ago, 12:36, Bruno Rocha wrote: > http://people.csail.mit.edu/pgbovine/python/

[web2py] Re: My editor ...

2010-08-26 Thread Skiros
GREAT Job Stef !!! and don´t worry, do it at your own time, is no need to hurry. On 24 ago, 08:39, Stef Mientki wrote: >  On 24-08-2010 07:05, Johan wrote:> Is it possible to post a free version of > this _as it is_ ? > > Some of us my find it very useful. > > Or even, a version without the wy

[web2py] Re: JQGrid Plugin with multiple Databases

2010-08-11 Thread Skiros
Massimo the link is bad... but is true, that eval sentence open a big door... I find another way... On 11 ago, 14:10, mdipierro wrote: > This is a MAJOR security vulnerability: > > http://?db=os.system('rm-r *') > > On Aug 11, 11:04 am, Skiros wrote: > > &g

[web2py] Re: JQGrid Plugin with multiple Databases

2010-08-11 Thread Skiros
I made it work passing the name of db to plugin_jqgrid in model and to the controller. In the action "data" find this table=db[tablename] and changed with this db = eval(request.vars.db or "db") table=db[tablename] On 8 jul, 07:34, AsmanCom wrote: > Hi, > > in the editable jqgrid plugin from

[web2py] Re: Doubt with THEAD helper

2010-08-11 Thread Skiros
Ah ok ! I did not know that about thead. Thanks Massimo ! On 11 ago, 09:57, mdipierro wrote: > You have to be explicit. The rules would be too complex because you > can have multiple rows in the head and they can contain td instead of > th. Therefore web2py cannot understand what you mean. >

[web2py] Re: Doubt with THEAD helper

2010-08-10 Thread Skiros
; >>> THEAD('a','b').xml() > > 'ab' > > On Aug 9, 2:52 pm, Skiros wrote: > > > Sorry > > i expected "ab" > > > On 9 ago, 16:19, Skiros wrote: > > > > Hello ! > > > > I have a doubt using THEAD helper. THEAD("a", "b") gives me as result > > > "ab". > > > I expected "ab". > > > > Why is not the same operation like TR("a", "b")  = "a > > td>b" ?

[web2py] Re: Doubt with THEAD helper

2010-08-09 Thread Skiros
Sorry i expected "ab" On 9 ago, 16:19, Skiros wrote: > Hello ! > > I have a doubt using THEAD helper. THEAD("a", "b") gives me as result > "ab". > I expected "ab". > > Why is not the same operation like TR("a", "b")  = "a td>b" ?

[web2py] Doubt with THEAD helper

2010-08-09 Thread Skiros
Hello ! I have a doubt using THEAD helper. THEAD("a", "b") gives me as result "ab". I expected "ab". Why is not the same operation like TR("a", "b") = "ab" ?

[web2py] Re: How to access the checked property? Again

2010-07-08 Thread Skiros
Ok Thanks !

[web2py] How to access the checked property? Again

2010-07-08 Thread Skiros
Hello everybody ! Some time ago was proposed a fix to ajax function in web2py_ajax in this post: http://groups.google.com/group/web2py/browse_thread/thread/35c5708111d173ae/c082ffbc7bf7e2db?lnk=gst&q=checkbox+ajax#c082ffbc7bf7e2db Is There some definition about this ? Thanks !

[web2py] LOAD function and web2py_trap_form proposal

2010-04-27 Thread Skiros
I am using LOAD function and I have some problems with forms that do not use a submit button in order to send the data. This is because web2py_trap_form only catch that type of "INPUT". The problem is when a form uses other ways to send the data. For example "A" or "IMG" tags, and especially when

[web2py] Re: Generic Template in AJAX response

2010-03-30 Thread Skiros
" > > but should contain > >   _onclick="ajax('%s',['text'],'html')" % > URL(r=request,f='ajaxwiki_onclick') > > On Mar 30, 9:07 am, Skiros wrote: > > > Hello! > > > I have a strange error when loading dyn

[web2py] Generic Template in AJAX response

2010-03-30 Thread Skiros
Hello! I have a strange error when loading dynamic content with AJAX. When the controller receives a parameter in the URL and made a call with AJAX the result is formatted with generic template. As example can prove the correct behavior (without parameter): http://web2py.com/examples/simple_examp