[web2py] Re: Web2py and multiple controller

2018-02-09 Thread Alessio Varalta
Yes you have many controller if you have for example index, show, delete, update eccbut many files controller in folder is not a problem..for example you have the folder person with all file relates to person contact, address ecc...so is not a problem to have many files because you have a l

[web2py] Just a silly thread to say... thanks to all web2py developers team

2018-02-09 Thread Jaime Sempere
Hi, this is gonna sound a littile silly, but I have been wanting to publish a thread like this from years ago. I just wanna say to Massimo and all the web2py developers one thing: thanks. Thanks a lot. I love web2py and I enjoy programming and developing with it. I can notice all the effort a

[web2py] Re: Help with cascading drop down list

2018-02-09 Thread 'Matthew J Watts' via web2py-users
Thanks for your reponse David! On Thursday, February 8, 2018 at 8:56:19 PM UTC+1, Dave S wrote: > > > > On Thursday, February 8, 2018 at 9:55:25 AM UTC-8, Matthew J Watts wrote: >> >> Hi community >> >> I'm having a few problems trying to understand how create a cascading >> drop down list. I've

[web2py] Incorrect cookie being sent when mapping domains into apps (possible bug?)

2018-02-09 Thread Lisandro
Hi there! I've run into this situation that looks like a bug. I've found the problem when trying to make two apps share the sessions (storing sessions in files or in database). But the problem only happens when I use parametter-based router in order to exclusively map domains to apps. I've bee

[web2py] Re: Problem with cookies shared through multiple domains and multiple apps

2018-02-09 Thread Lisandro
I marked this thread as "no action needed", because I opened another thread where I reproduce the problem from scratch, using a fresh new web2py install and a couple of example apps: https://groups.google.com/forum/#!topic/web2py/ZfmJnyNvmio Notice the issue could be related to this: https://gro

[web2py] Re: Web2py and multiple controller

2018-02-09 Thread Leonel Câmara
Anthony generally I like to separate backoffice/management functions from front office actions. So one hierarchy I like to do is to have a "manage" controller, then I have a controller for each entity that will be managed. So I would like to do something like: # these are all controller functio

[web2py] Re: $.web2py.componet not work

2018-02-09 Thread Leonel Câmara
You don't have an html element with id="contain-to-order" when you are running this code. -- 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 th

Re: [web2py] Re: Bug with auth.settings.table_user_name and auth.signature?

2018-02-09 Thread Marvi Benedet
I'm trying it on a more complex application, where I have also some extra fields in the users table: auth.settings.extra_fields['users']= [.] but unfortunatly this could be the cause that lead to problems... By the way, is there a way to check if the current state of tables/fields on the db

[web2py] Re: $.web2py.componet not work

2018-02-09 Thread Luis Sucuc
My element had That was the problem. I think he was very stressed and tired to see something so obvious. El viernes, 9 de febrero de 2018, 5:23:01 (UTC-6), Leonel Câmara escribió: > > You don't have an html element with id="contain-to-order" when you are > running this code. > -- Resourc

[web2py] date picker in modal not work

2018-02-09 Thread Luis Sucuc
I have a LOAD with a modal. But when using the input with class = "... date" the following happens. I tried to use t

Re: [web2py] Re: Bug with auth.settings.table_user_name and auth.signature?

2018-02-09 Thread Marvi Benedet
found the solutions: in* auth.extra_fields* there are some tables that are reference to other tables. so I moved this settings and the auth.define_tables(username=False, signature=False) at the bottom. Seems that resolved all the troubles. 2018-02-09 13:42 GMT+01:00 Marvi Benedet : > I'm tr

[web2py] Re: Web2py and multiple controller

2018-02-09 Thread Anthony
On Friday, February 9, 2018 at 4:18:19 AM UTC-5, Alessio Varalta wrote: > > Yes you have many controller if you have for example index, show, delete, > update in one file for one entity for example person eccbut many files > controller in folder is not a problem..for example you can have the

[web2py] Re: date picker in modal not work

2018-02-09 Thread Leonel Câmara
This is a css problem, the calendar is positioning absolutely relative to the body instead of to where you placed the widget. Try a style="position:relative;" on that form group. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: date picker in modal not work

2018-02-09 Thread Luis Sucuc
This does not work, I get the same result. :( El viernes, 9 de febrero de 2018, 9:54:48 (UTC-6), Leonel Câmara escribió: > > This is a css problem, the calendar is positioning absolutely relative to > the body instead of to where you placed the widget. Try a > style="position:relative;" on th

[web2py] Re: Web2py and multiple controller

2018-02-09 Thread Leonel Câmara
No I would like multiple controller functions per file, but I would like to be able to have directories inside the controllers directory, basically have controller packages. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[web2py] Re: date picker in modal not work

2018-02-09 Thread Leonel Câmara
It's appending the calendar element to the body instead of the form-group, you will probably have to fix the included calendar not to do that or use another calendar (like bootstrap datepicker) if you're going to use it in a modal.. -- Resources: - http://web2py.com - http://web2py.com/book (D

[web2py] Auto authentification using PAM or LDAP

2018-02-09 Thread J-Michel Angers
I'm developping an workflow application, to create documents (or needs or purchase requests..) that have to be validated by many users. This appli will work in an intranet. The user are authentified thru an AD. I have 2 questions, 2 needs : First one, due to the AD and internal policy, users alwa

[web2py] Re: date picker in modal not work

2018-02-09 Thread Luis Sucuc
The best solution will be to use another library. I tried it and it works correctly. ¡Thank you! El viernes, 9 de febrero de 2018, 10:42:50 (UTC-6), Leonel Câmara escribió: > > It's appending the calendar element to the body instead of the form-group, > you will probably have to fix the included

[web2py] Re: code written by Massimo Di Pierro in the web2py video tutorial

2018-02-09 Thread Andrea Fae'
every Il giorno giovedì 8 febbraio 2018 21:44:13 UTC+1, Jim S ha scritto: > > Which tutorials? > > Are you running into a particular problem? > > I'm thinking most of those tutorials are getting a little old but should > still work. > > -Jim > > On Wednesday, February 7, 2018 at 1:52:28 PM UTC-

[web2py] Re: Intersection of rows

2018-02-09 Thread Dave S
On Thursday, February 8, 2018 at 6:23:59 PM UTC-8, Anthony wrote: > > Looks like the book is wrong -- according to the code, rows1 & rows2 > simply combines the records from each Rows object -- it does not find the > intersection. > Okay, then my results match that! > Anyway, given your cod

[web2py] Re: SERVICE_PAUSED

2018-02-09 Thread Andrea Fae'
I tried with the version suggested in the nssm site. I have the last version of windows 10. But the problem remains the same...can anyone help me to fix? Thank you Il giorno giovedì 8 febbraio 2018 21:34:30 UTC+1, Andrea Fae' ha scritto: > > c:\data\nssm-2.24\win64>nssm.exe start web2py_scheduler

Re: [web2py] Re: code written by Massimo Di Pierro in the web2py video tutorial

2018-02-09 Thread Jim Steil
Could you provide a link to the tutorials that you're talking about? -Jim On Fri, Feb 9, 2018 at 1:47 PM, Andrea Fae' wrote: > every > > Il giorno giovedì 8 febbraio 2018 21:44:13 UTC+1, Jim S ha scritto: >> >> Which tutorials? >> >> Are you running into a particular problem? >> >> I'm thinking

[web2py] Re: SERVICE_PAUSED

2018-02-09 Thread Jim S
What did you use for: -Application Path Startup Directory Arguments -Log on When you ran: nssm install web2py_scheduler_test -Jim On Friday, February 9, 2018 at 1:49:01 PM UTC-6, Andrea Fae' wrote: > > I tried with the version suggested in the nssm site. I have the last > version of window

Re: [web2py] Re: code written by Massimo Di Pierro in the web2py video tutorial

2018-02-09 Thread Andrea Fae'
https://www.youtube.com/watch?v=dHu8O1gZOl0 there are 4 parts in youtube Il giorno venerdì 9 febbraio 2018 20:51:11 UTC+1, Jim S ha scritto: > > Could you provide a link to the tutorials that you're talking about? > > -Jim > > On Fri, Feb 9, 2018 at 1:47 PM, Andrea Fae' > wrote: > >> every >> >>

[web2py] Re: SERVICE_PAUSED

2018-02-09 Thread Andrea Fae'
It seems that the version \nssm-2.24-101-g897c7ad\win64\ is working Il giorno venerdì 9 febbraio 2018 20:49:01 UTC+1, Andrea Fae' ha scritto: > > I tried with the version suggested in the nssm site. I have the last > version of windows 10. > But the problem remains the same...can anyone hel

Re: [web2py] Re: code written by Massimo Di Pierro in the web2py video tutorial

2018-02-09 Thread Jim Steil
Ok, that helps. Are you having a particular problem? -Jim On Fri, Feb 9, 2018 at 2:36 PM, Andrea Fae' wrote: > https://www.youtube.com/watch?v=dHu8O1gZOl0 > > there are 4 parts in youtube > > Il giorno venerdì 9 febbraio 2018 20:51:11 UTC+1, Jim S ha scritto: >> >> Could you provide a link to

Re: [web2py] Re: SERVICE_PAUSED

2018-02-09 Thread Jim Steil
Great news Just noticed a message at the top of the nssm download page saying that if you're using windows 10 Creators Update that you need to use the pre-release build. http://www.nssm.cc/download I'm guessing that might have something to do with your problem. -Jim On Fri, Feb 9, 2018 at 2:

[web2py] Re: Intersection of rows

2018-02-09 Thread Anthony
> > Anyway, given your code, it looks like we would not expect any results in >> the intersection of the two Rows objects, as the conditions of each query >> are mutually exclusive (i.e., "waypoint" either equals X or Y). Of course, >> if X == Y, then the two sets of Rows are identical, but I a

[web2py] Re: Web2py and multiple controller

2018-02-09 Thread Anthony
On Friday, February 9, 2018 at 11:22:45 AM UTC-5, Leonel Câmara wrote: > > No I would like multiple controller functions per file, but I would like > to be able to have directories inside the controllers directory, basically > have controller packages. > Got it. My question was actually addresse