[web2py] Re: how to LOAD a form with all the necessary details

2020-01-23 Thread mostwanted
So i have decided to use a session to carry the request id to the LOAD page to open the form with the name of the company whose link was clicked! I do not know if this is the best solution or i'm just reaching but it is working right now! I just dont know if in the long run it will fall apart

[web2py] how to LOAD a form with all the necessary details

2020-01-23 Thread mostwanted
What i'm trying to achieve is to select a company by clicking a link and have a form open up with thee selected company name for the client to fill up the form for that company & submit it. But I am using LOAD to take advantage of ajax and prevent a page reload. The problem i am facing is that

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Jim S
No problem with auth.has_permission web2py. But I don't think it exists in py4web. Someone please correct me if I'm spreading misinformation. You can write it yourself, but I don't think it's included in py4web. -Jim On Thursday, January 23, 2020 at 10:02:00 AM UTC-6, Lovedie JC wrote: > >

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Kevin Keller
I havent looked at py4web so far, because I dont get how it does permission in general. Is there an easy way to use JWT tokens and OIDC/OAUTH2 with Vue.js easily? I think its quite a pain to go through this in general. This is why I really liked about rendered HTML page apps. If its not a

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Lovedie JC
Is there a problem with @auth_has _permission? I intend to use it. Regards On Thu, Jan 23, 2020, 18:57 Jim S wrote: > You'll be fine with the new system I believe as long as you're not > currently using @auth.has_permission. While you can do it with py4web it > is more challenging than in

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Jim S
You'll be fine with the new system I believe as long as you're not currently using @auth.has_permission. While you can do it with py4web it is more challenging than in web2py. -Jim On Thursday, January 23, 2020 at 9:47:43 AM UTC-6, Christian Varas wrote: > > Hi Jim. > > Yes I'm using the auth

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Christian Varas
Hi Jim. Yes I'm using the auth system permission. I'm using 2 decorators in fact @auth.requires_membership() and @auth.requires_login() I'm gonna port my app to py4web then :) Thanks Cheers. Chris El jue., 23 de ene. de 2020 11:27, Jim Steil escribió: > Sounds like a great app to do in

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Jim Steil
Sounds like a great app to do in py4web. 1. You are already comfortable with javascript. 2. You're not using grid/smartgrid. 3. Are you using the web2py auth system with permissions? If only using groups (roles) then this would be great to do with py4web. 4. Much faster and you

[web2py] Re: Displaying for loop results only once

2020-01-23 Thread mostwanted
Thanks alot Tim, this is all i did: {{for bookings in bookings:}} *Quoted* {{pass}} The red line above replaced alot of clearly unnecessary code! Regards; Mostwanted On Tuesday, January 21, 2020 at 2:26:35 PM UTC+2, Tim Nyborg wrote: > > Simplest fix: use "any" instead: > > {{for bookings

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Christian Varas
Thanks for all that you share guys. I would like to ask for a recommendation. I have a web interface made with web2py, this interface manage a web application firewall (nginx and modsecurity). It does commands and file modifications in the system to manage properly the WAF, the database is

[web2py] Massimo SpaceX contribution and web2py future

2020-01-23 Thread António Ramos
Hi all First i would like to congratulate Massimo for his participation in SPACEX since 2018. My concern is about web2py and py4web support from Massimo. I know he is not the only one, but he is certainly the best value for the future of these 2 frameworks. My question is to Massimo: -Do SPACEX

[web2py] Re: How to run a specific application instead of welcome in Pycharm Pro

2020-01-23 Thread Dave S
On Wednesday, January 22, 2020 at 11:11:07 PM UTC-8, Davidiam wrote: > > I am using Pycharm Professional for web2py development. When I create a > project with an application "XYZ" and I click run, web2py is started and > goes directly to the "welcome" app, and not the app "XYZ". I can