[web2py] web2py delimiters conflict with vue.jsz

2019-06-04 Thread Craig Matthews
I am currently running web2py Version 2.14.6-stable+timestamp.2016.05.10.00.21.47. Even though that is old, it is meeting my needs. I am currently learning vue.js and hoping to include it in my offerings. The obvious problem is that both web2py and vue.js use "{{" and "}}" as delimiters in

[web2py] Re: Field set the default value +1 on insert

2015-11-17 Thread Craig Matthews
The following is something that I have used in MySQL. MySQL statement: CREATE TABLE IF NOT EXISTS autonumbering ( Year char(4) not null default '', Type varchar(10) not null default '', IDint(11) not null auto_increment, Notes varchar(64) not null

[web2py] ajax issue/question

2014-10-27 Thread Craig Matthews
I am encountering what I think is a weird problem with an ajax call. My web page contains an iframe, which is loaded with a normal controller/view web2py request. When a button is clicked that should cause the javascript in the iframe to send an ajax request to web2py, I am seeing only a

[web2py] Re: ajax issue/question

2014-10-27 Thread Craig Matthews
I am looking to reduce the amount of data transferred by making this page of my application behave like an SPA (single-page application). I have searching built into the master page, and then individual records are loaded into the iframe, one at a time. When a user wants another record, they

[web2py] Re: how about setting a standard fadeout to response.flash?

2013-03-29 Thread Craig Matthews
How about including jQuery jNotify? http://www.myjqueryplugins.com/ On Tuesday, March 26, 2013 12:55:12 PM UTC-4, LightDot wrote: I prefer to keep web2py.js stock, to ease updates, so I add a similar fadeout js to layout.html when I need it. I'm not sure I'd alter the default though. App

[web2py] Re: using a virtual machine

2012-06-14 Thread Craig Matthews
/british_jazz/static/abc.vdi If you do chkconfig --add uwsgi_nginx chkconfig uwsgi_nginx on you will have both uwsgi and nginx set up as services that will start at boot up. 127.0.0.1 should bring up the welcome app. Peter On Thursday, 14 June 2012 05:37:40 UTC+1, Craig Matthews wrote: Hi

[web2py] Re: using a virtual machine

2012-06-13 Thread Craig Matthews
Hi. Can you put this vm image up and provide a link to it? On Wednesday, June 13, 2012 2:47:51 PM UTC-4, peter wrote: If you are setting up a website on a remote server you are hiring, then life is difficult. Setting things up often requires a lot of trial and error. Googling how to do it

[web2py] Re: Dynamic MySQL Database selection

2012-05-15 Thread Craig Matthews
When a user logs on, there is a field in the profile that contains the designation of the database for the institution associated with that user. On Monday, May 14, 2012 4:54:54 PM UTC-4, Anthony wrote: The connection string in the call to DAL() can be determined dynamically based on

[web2py] Re: Dynamic MySQL Database selection

2012-05-15 Thread Craig Matthews
Yes, there is a master database that has the database designation for the institutions. I guess one of the things I am unclear on is how granular the Web2Py framework is. Is there one db.py running for all sessions or is there a db.py running for each user session? If a db.py runs for for

[web2py] Re: Dynamic MySQL Database selection

2012-05-15 Thread Craig Matthews
Thank you very much Anthony. That is exactly what I was looking for. When I started this project, I read the first few chapters, but then dived in. I must have missed the thread part. On Tuesday, May 15, 2012 6:46:33 PM UTC-4, Anthony wrote: I guess one of the things I am unclear on is how

[web2py] Dynamic MySQL Database selection

2012-05-14 Thread Craig Matthews
I am testing Web2Py for use at my institution. We serve several other institutions. I have each institution set up in its own database (as in use xxx;). How can this be accomplished with the DAL in Web2Py? Thank you.