[web2py] Angular 2 and web2py

2017-01-06 Thread 'John Philip' via web2py-users
Hi there, I searched for this however I could not find an answer. Is it possible to use Angular 2 in web2py ? thanks and regards, John -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py

Re: [web2py] Angular 2 and web2py

2017-01-06 Thread 'John Philip' via web2py-users
com/slice/show/1894/web2py-and-angularjs-handlebars-delimiters > > 2017-01-06 10:27 GMT+00:00 'John Philip' via web2py-users < > web...@googlegroups.com >: > >> Hi there, >> >> I searched for this however I could not find an answer. Is it possible to

Re: [web2py] Angular 2 and web2py

2017-01-06 Thread &#x27;John Philip&#x27; via web2py-users
1:41:07 AM UTC+1, Ramos wrote: >>> >>> >>> http://www.web2pyslices.com/slice/show/1894/web2py-and-angularjs-handlebars-delimiters >>> >>> 2017-01-06 10:27 GMT+00:00 'John Philip' via web2py-users < >>> web...@googlegroups.com>: >

[web2py] Re: vue.js

2017-01-26 Thread &#x27;John Philip&#x27; via web2py-users
Hi Massimo, I downloaded your scaffolding app but for some reason in the main.html file vuejs does not seem to recognize ${doc.title} and ${doc.body} . Am I missing something? thanks and regards, John On Sunday, September 25, 2016 at 5:25:51 AM UTC+2, Massimo Di Pierro wrote: > > I am becomin

Re: [web2py] Re: vue.js

2017-01-27 Thread &#x27;John Philip&#x27; via web2py-users
; > Vue.JS use {{}} as web2py you need to change web2py delimiters, I like (so > it stays readable) : > > response.delimiters = ('{[',']}') > > > Richard > > > On Thu, Jan 26, 2017 at 10:26 AM, 'John Philip' via web2py-users < > web...@googl

Re: [web2py] Re: vue.js

2017-01-27 Thread &#x27;John Philip&#x27; via web2py-users
response.delimiters = ('{[', ']}') > return dict(empty_vars='') > > It makes sure web2py serve something. > > Try to set response.delimiters in you view at first too... > > Good luck > > Richard > > > On Fri, Jan 27, 2017

Re: [web2py] Re: vue.js

2017-01-28 Thread &#x27;John Philip&#x27; via web2py-users
>>>> the bottom of the page for faster page load and improve parsing as the js >>>> come later (after the dom) anyway... >>>> >>>> Do you have a controllers function for the view you try to serve? If >>>> yes do you return an empty vars

Re: [web2py] Re: vue.js

2017-01-30 Thread &#x27;John Philip&#x27; via web2py-users
Sorry Anthony for confusing you. I tried the scaffolding app but for some reason I never got the delimiter to be recognised. So I tried using the vuejs code from the introduction. However I managed to get it working now. thanks again. John On Sunday, January 29, 2017 at 11:55:54 PM UTC+1, Anth

Re: [web2py] Re: vue.js

2017-01-31 Thread &#x27;John Philip&#x27; via web2py-users
Hi Stephan, I tried the brutal approach. I changed the delimiters for web2py on the model and changed all of the views accordingly. I left the delimiters for vuejs as default ('{{' '}}') regards, John On Monday, January 30, 2017 at 10:24:25 AM UTC+1, St. Pirsch wrote: > > Hello John, > Would

Re: [web2py] Re: For those using ractive or vuejs. I need help !!

2017-02-14 Thread &#x27;John Philip&#x27; via web2py-users
Hi Ramon, since you've had experience using vuejs in web2py I thought I'd ask you. I am using a vuejs component library to display a table from a json dataset. var Main = { data() { return { tableData: get_json_data_from_web2py_table } }, methods: { formatter(row, column) { return row.t

Re: [web2py] Re: For those using ractive or vuejs. I need help !!

2017-02-14 Thread &#x27;John Philip&#x27; via web2py-users
I apologize I meant Ramos...sorry typo. On Tuesday, February 14, 2017 at 11:55:30 AM UTC+1, John Philip wrote: > > Hi Ramon, > > since you've had experience using vuejs in web2py I thought I'd ask you. I > am using a vuejs component library to display a table from a json dataset. > > var Main =

Re: [web2py] Re: For those using ractive or vuejs. I need help !!

2017-02-22 Thread &#x27;John Philip&#x27; via web2py-users
Thanks Dave, unfortunately I still haven't managed it. regards, John On Tuesday, February 14, 2017 at 8:11:34 PM UTC+1, Dave S wrote: > > > > On Tuesday, February 14, 2017 at 2:55:30 AM UTC-8, John Philip wrote: >> >> Hi Ramon, >> >> since you've had experience using vuejs in web2py I thought I'

[web2py] inner join taking too long

2017-03-20 Thread &#x27;John Philip&#x27; via web2py-users
Hi there, I have two tables that I have queried using an inner join the query outputs about 50,000 + records this is no problem on sqlite however it does not seem to load on web2py. Is there something I am doing wrong? import json def get_dpc(): rows = db(db.plf.PLF_NAME==db.pcf.PCF_NAME)