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
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
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>:
>
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
;
> 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
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
>>>> 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
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
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
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
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 =
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'
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)
13 matches
Mail list logo