Re: [web2py] Re: what is difference between ajax() and web2py_component() ?

2016-01-08 Thread Ariya Owam-aram
Thank you, Ariya เมื่อ วันศุกร์ที่ 8 มกราคม ค.ศ. 2016 10 นาฬิกา 46 นาที 04 วินาที UTC+7, Anthony เขียนว่า: > > .load is just a convention to help distinguish from a full HTML page, but > you can use any extension you want. In some cases, the same controller > might be used as both a component

Re: [web2py] Re: what is difference between ajax() and web2py_component() ?

2016-01-07 Thread Ariya Owam-aram
Hi Anthony, Thank you for your clear and helpful explanation. I still have a question, what is .load is for? Why do I need to specific view extension to .load? Sometime I use .html for LOAD() or web2py_component() but did't see the difference. Thank you again Ariya เมื่อ วันศุกร์ที่ 8

Re: [web2py] Re: what is difference between ajax() and web2py_component() ?

2016-01-07 Thread Fabiano Almeida
Great! Can you show me examples of using web2py_component? thanks! Fabiano. 2016-01-07 13:57 GMT-02:00 Anthony : > The ajax() function provides basic functionality for making an Ajax > request, with some additional features, such as automatically sending > values from

Re: [web2py] Re: what is difference between ajax() and web2py_component() ?

2016-01-07 Thread Anthony
.load is just a convention to help distinguish from a full HTML page, but you can use any extension you want. In some cases, the same controller might be used as both a component and a full web page, so you could have separate .load and .html views for that controller. Anthony On Thursday,