[web2py] Re: question about components

2015-04-20 Thread Gary Cowell
Thanks for the opinions. I'm looking at ractive On Monday, 20 April 2015 04:30:32 UTC+1, Ramkrishan Bhatt wrote: > > I am agree with Massimo you must try angular or reactive to make SPA. It > will surly solve your problem. -- Resources: - http://web2py.com - http://web2py.com/book (Documentatio

Re: [web2py] Re: question about components

2015-04-20 Thread Ramkrishan Bhatt
Sorry my typo by auto spell correction . I meant ractive.js and Angular.js. -- 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 this message beca

Re: [web2py] Re: question about components

2015-04-20 Thread Michele Comitini
Massimo is talking about ractive.js ractive.js != reactive even if adopts the "reactive" pattern 2015-04-20 5:30 GMT+02:00 Ramkrishan Bhatt : > I am agree with Massimo you must try angular or reactive to make SPA. It > will surly solve your problem. > > -- > Resources: > - http://web2py.com > -

[web2py] Re: question about components

2015-04-19 Thread Ramkrishan Bhatt
I am agree with Massimo you must try angular or reactive to make SPA. It will surly solve your problem. -- 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) --- Y

[web2py] Re: question about components

2015-04-19 Thread Dmitry Ermolaev
aj = "ajax('%s',[],'main')" response.menu = [ (T('Home'), URL('default', 'index')==URL(), URL('default', 'index'), []), (T('Menu1'), URL('default', 'menu1')==URL(), dict(_onclick=aj % URL('default', 'menu1')), []), (T('Menu2'), URL('default', 'menu2')==URL(), dict(_onclick=aj % URL('

[web2py] Re: question about components

2015-04-18 Thread Ron Chatterjee
I was able to create a layout in dreamweaver and use the include/extend option to use in web2py. I am not sure if that will help but using an external layout is something to things about. On Saturday, April 18, 2015 at 11:16:46 PM UTC-4, Massimo Di Pierro wrote: > > Web2py components are really

[web2py] Re: question about components

2015-04-18 Thread Massimo Di Pierro
Web2py components are really designed to live in their own div. If you are looking to build a single page application should should look into angular or ractive. They both work with web2py. On Saturday, 18 April 2015 19:05:02 UTC-5, Gary Cowell wrote: > > Hello > > I'm struggling with components

[web2py] Re: question about components and javascript: ajax = True kills google.load('visualization' ...)

2013-09-30 Thread Tim Richardson
This works: var options = {packages:['corechart'],callback:drawChart} google.load('visualization', '1.0', options); replacing the example method of doing the callback: // Set a callback to run when the Google Visualization API is loaded. /* inside web2py ajax = True LOAD, this r