[web2py] Howto pass var using js

2018-08-04 Thread Maurice Waka
Am trying to pass a variable to the controller using the below code. It works well with this code: {{extend 'layout.html'}} {{=message}} {{=T("Welcome")}} {{=T("login")}}{{=T("Register")}} def my_views(): if request.vars>0: out_message = request.vars else: out_message

[web2py] Answer from server ajax()

2018-08-04 Thread Константин Комков
Hello! Can you take advice, how can I understan than answer from server was received in JS? Controller: def swed(): ajaxAnswer = 0 return dict(ajaxAnswer=ajaxAnswer) def VcodeToDbAndMail(): ajaxAnswer = 1 return dict(ajaxAnswer=ajaxAnswer) JS jQuery('#myform').submit(function() {

[web2py] Re: Azure actice directory

2018-08-04 Thread 黄祥
perhaps you can use ldap with mode='ad', and point it into ms azure ad ref: http://web2py.com/books/default/chapter/29/09/access-control?search=ldap#Other-login-methods-and-login-forms best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github

[web2py] Azure actice directory

2018-08-04 Thread Oli
is it possible to use MS azure actice directory for authentication in web2py? -- 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 received this message be