[web2py] Re: How to customize widgets to act like Onsen UI components

2017-09-16 Thread Anthony
If you are talking about using SQLFORM with a DAL table, when you define Field objects, you can specify a custom widget via the "widget" argument -- it must be a callable object that takes a Field object and a value. For more details, see

[web2py] Re: How to customize widgets to act like Onsen UI components

2017-09-16 Thread Anthony
On Saturday, September 16, 2017 at 4:23:43 PM UTC-4, Bernardo Leon wrote: > > Awesome as always Anthony Thank you! > > Yes I am talking about the SQLFORM Field objects. > > So I will need to create a Widget by subclassing FormWidget and return the > Ons tag object and later monkey patch. I will

[web2py] Re: How to customize widgets to act like Onsen UI components

2017-09-16 Thread Bernardo Leon
Awesome as always Anthony Thank you! Yes I am talking about the SQLFORM Field objects. So I will need to create a Widget by subclassing FormWidget and return the Ons tag object and later monkey patch. I will try this way. Thank you for your ideas :) El sábado, 16 de septiembre de 2017,

[web2py] Re: How to customize widgets to act like Onsen UI components

2017-09-16 Thread Bernardo Leon
You are right, thank you! El sábado, 16 de septiembre de 2017, 17:58:36 (UTC-5), Anthony escribió: > > On Saturday, September 16, 2017 at 4:23:43 PM UTC-4, Bernardo Leon wrote: >> >> Awesome as always Anthony Thank you! >> >> Yes I am talking about the SQLFORM Field objects. >> >> So I will need

[web2py] Re: How to get rid if the /init/default/ in the URL?

2017-09-16 Thread Joe
Hello Anthony, Thanks very much for your reply. Yes, I tried this in the routes,py file in the web2py folder on Pythonanywhere and tried several other ways from the link you posted but nothing changed in the URL. I think even this should work too, but it doesn't: routers = dict( BASE =