Re: [web2py] Kendo UI
I really dislike angular's syntax. Its unnecessarily weird. On Monday, October 27, 2014, Vasile Ermicioi elff...@gmail.com wrote: I would build the interface with angular+kendoui and use web2py for REST API On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar phyo.arkarl...@gmail.com javascript:_e(%7B%7D,'cvml','phyo.arkarl...@gmail.com'); wrote: Forgot the actual site : http://qooxdoo.org http://demo.qooxdoo.org/current/widgetbrowser/ http://demo.qooxdoo.org/devel/demobrowser/# On Sun, Oct 26, 2014 at 4:52 AM, Phyo Arkar phyo.arkarl...@gmail.com javascript:_e(%7B%7D,'cvml','phyo.arkarl...@gmail.com'); wrote: Also check out Qooxdoo. If you are going to build Desktop Style UI , Qooxdoo is perfect (And code is much cleaner because there is no need for Jquery or Selectors). Web2py Demo : http://herspos.appspot.com/HersPOS https://code.google.com/p/herspos/ On Sat, Oct 25, 2014 at 10:07 PM, Anthony abasta...@gmail.com javascript:_e(%7B%7D,'cvml','abasta...@gmail.com'); wrote: 2. How should the 2nd level of integration be done ? You can create a custom formstyle function and pass it as the formstyle argument. For an example of such a function, see the Bootstrap function: https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L783 Anthony -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com javascript:_e(%7B%7D,'cvml','web2py%2bunsubscr...@googlegroups.com');. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com javascript:_e(%7B%7D,'cvml','web2py%2bunsubscr...@googlegroups.com');. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com javascript:_e(%7B%7D,'cvml','web2py%2bunsubscr...@googlegroups.com');. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: SAML2 Service Provider app in web2py?
Hi Massimo, In which provider log should I look into? (service provider [web2py app] or idp provider [okta / onelogin]). Could you share your web2py app's (service provider) setting and idp provider settings?. I've followed same instructions but getting that error. On Sat, Oct 25, 2014 at 9:01 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I do not know what to say. It works with the provide I was using. Look into the provider log. perhaps there is an error message there. On Friday, 24 October 2014 19:30:24 UTC-5, Prasad Muley wrote: Yes. I've printed it. It shows empty dict On Oct 23, 2014 7:33 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Yes it works for me. Can you help debug? Can you print d['response'] and try figure out where the response attributes are? On Friday, 17 October 2014 00:42:29 UTC-5, Prasad Muley wrote: Hi Wel, Did you test SAML2 app? there is an experimental saml2 app in web2py_2.9.6 I need to use saml2(web2py app) as service provider with onelogin (which is idp) I am getting an error (Screen shot is attached PFA). here is my config settings 1) *private/sp_conf.py* # Make sure the same port number appear in service_conf.py BASE = http://localhost:8000; APPNAME = saml2 PATH = /home/prasad/Prasad/web2py_2.9.6_beta/applications/saml2/pr ivate/ CONFIG = { entityid: %s/saml2/static/sp.xml % BASE, 'entity_category': [COC], accepted_time_diff: 5, # very important description: Example SP, service: { sp: { endpoints: { assertion_consumer_service: [ (%s/%s/default/user/login % (BASE, APPNAME), BINDING_HTTP_REDIRECT), ], } }, }, key_file: %s/pki/mykey.pem % PATH, cert_file: %s/pki/mycert.pem % PATH, xmlsec_binary: xmlsec_path, metadata: {local: [PATH+idp.xml]}, name_form: NAME_FORMAT_URI, } Here I've copied *assertion_consumer_service url *( http://localhost:8000/saml2/default/login ) in onelogin's app's SAML consumer url 2) I've downloaded a meta data file from onelogin app. copy it to *saml/private/*3) Created a *static/sp.xml file *as make_metadata.py sp_conf ../static/sp.xml 4) Ran web2py server * (python webpy.py)*5) Selected SAML2 app through administrator interface, 6) Clicked on login tab and It is redirecting to onelogin app's login window. 7) Entered username and password in onelogin app It it redirecting me to http://localhost:8000/saml2/default/login (which is a assertion consumer url) and I am getting an internal error . type 'exceptions.AttributeError' 'dict' object has no attribute 'assertion' Let me know If there are wrong settings in my app. Could you share your app settings (including web2py app and idp settings) On Thursday, August 21, 2014 7:35:29 PM UTC+5:30, Wei Wang wrote: I have the need to use a SAML2 identity provider (specifically, a NetIQ product) for authentication and authorization in some web2py apps. I searched in this group, also googled web2py and SAML, but did not find anything that seems readily available. My thoughts on building a Service Provider (in SAML2 terminology) app in web2py alongside other apps: - The SAML2 service provider would be /saml2sp: - The saml2sp app communicates to the SAML2 Id provider for authentication and authorization; - A web2py app is configured to use cas_auth, with localhost/saml2sp as the CAS server base URL; Does something like this exist? Does that sound reasonable? Thanks for any pointers, comments, thoughts. Wei -- 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 because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/web2py/zn1OvErE6Wc/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/zn1OvErE6Wc/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Thanks and Regards Prasad M. Muley Programmer at One Delta Synergies Pvt Ltd. | PICT 2013 “Pretty much everything on the web uses
[web2py] SCOPE_IDENTITY mssql3 legacy table where id is not an identity column
I have a table in sqlserver 2008r2 where the ID column is not an identity (but is a unique integer). The ID column is not called ID. I am using update_or_insert and in the case of new record I provide the value for the ID column. This is web2py trunk. The database adapter is mssql3 I am getting an exception in this code in mssql.py (line 155-ish) def lastrowid(self,table): #self.execute('SELECT @@IDENTITY;') self.execute('SELECT SCOPE_IDENTITY();') return long(self.cursor.fetchone()[0]) The exception is type 'exceptions.TypeError' long() argument must be a string or a number, not 'NoneType' It is occurring when an insert is happening. The insert is correctly provided a unique ID for the non-identity primary key. This function is not run very often but this bug with not present earlier. I guess I can bisect it but first I'd like to know if the ID column must be an identity. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Exception (trunk) SCOPE_IDENTITY mssql3 legacy table where id is not an identity column
On Monday, 27 October 2014 18:17:10 UTC+11, Tim Richardson wrote: I have a table in sqlserver 2008r2 where the ID column is not an identity (but is a unique integer). The ID column is not called ID. I am using update_or_insert and in the case of new record I provide the value for the ID column. This is web2py trunk. The database adapter is mssql3 I am getting an exception in this code in mssql.py (line 155-ish) def lastrowid(self,table): #self.execute('SELECT @@IDENTITY;') self.execute('SELECT SCOPE_IDENTITY();') return long(self.cursor.fetchone()[0]) The exception is type 'exceptions.TypeError' long() argument must be a string or a number, not 'NoneType' It is occurring when an insert is happening. The insert is correctly provided a unique ID for the non-identity primary key. This function is not run very often but this bug was not present earlier (not known how much earlier). I can bisect it but first I'd like to know if the ID column must be an identity. The more I think about this, the more I wonder it was not an error earlier. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Credit card payment for european web site
Hello. I'm still checking how to do an ecommerce website with web2py. As the website will be Italian, I've to check how making payments. Stripe.com, Authorize.net, and DowCommerce seems to be dedicated to US customers. With Google Wallet all products have to registrated inside the Google Wallet system (as for the Paypal Express Checkout). So it seems that the only way to manage payments without single products registration is the Paypal Standard integration. Someone can confirm me that ? I've found that, but it's from 2009. http://www.web2pyslices.com/slice/show/1336/paypal-integration-in-web2py Do we have some more documentation about Paypal integration ? Thanks. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Credit card payment for european web site
Same problem - website for Austrian customers. I am interested too. Regard, Martin 2014-10-27 9:52 GMT+01:00 Gael Princivalle gaelprinciva...@gmail.com: Hello. I'm still checking how to do an ecommerce website with web2py. As the website will be Italian, I've to check how making payments. Stripe.com, Authorize.net, and DowCommerce seems to be dedicated to US customers. With Google Wallet all products have to registrated inside the Google Wallet system (as for the Paypal Express Checkout). So it seems that the only way to manage payments without single products registration is the Paypal Standard integration. Someone can confirm me that ? I've found that, but it's from 2009. http://www.web2pyslices.com/slice/show/1336/paypal-integration-in-web2py Do we have some more documentation about Paypal integration ? Thanks. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Credit card payment for european web site
Hi, try http://www.worldpay.com/global, it has a nice api. -Mirko On Monday, October 27, 2014 9:52:16 AM UTC+1, Gael Princivalle wrote: Hello. I'm still checking how to do an ecommerce website with web2py. As the website will be Italian, I've to check how making payments. Stripe.com, Authorize.net, and DowCommerce seems to be dedicated to US customers. With Google Wallet all products have to registrated inside the Google Wallet system (as for the Paypal Express Checkout). So it seems that the only way to manage payments without single products registration is the Paypal Standard integration. Someone can confirm me that ? I've found that, but it's from 2009. http://www.web2pyslices.com/slice/show/1336/paypal-integration-in-web2py Do we have some more documentation about Paypal integration ? Thanks. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Credit card payment for european web site
Hi Mirko. Have you already integrate worldplay inside web2py ? -- Gael Princivalle 2014-10-27 10:01 GMT+01:00 Mirko mscavaz...@gmail.com: Hi, try http://www.worldpay.com/global, it has a nice api. -Mirko On Monday, October 27, 2014 9:52:16 AM UTC+1, Gael Princivalle wrote: Hello. I'm still checking how to do an ecommerce website with web2py. As the website will be Italian, I've to check how making payments. Stripe.com, Authorize.net, and DowCommerce seems to be dedicated to US customers. With Google Wallet all products have to registrated inside the Google Wallet system (as for the Paypal Express Checkout). So it seems that the only way to manage payments without single products registration is the Paypal Standard integration. Someone can confirm me that ? I've found that, but it's from 2009. http://www.web2pyslices.com/slice/show/1336/paypal-integration-in-web2py Do we have some more documentation about Paypal integration ? Thanks. -- 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 because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/iCMAuvvYsrg/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Credit card payment for european web site
No, but I did it in Plone quite smoothly a long time ago. On Monday, October 27, 2014 10:16:52 AM UTC+1, Gael Princivalle wrote: Hi Mirko. Have you already integrate worldplay inside web2py ? -- Gael Princivalle 2014-10-27 10:01 GMT+01:00 Mirko mscav...@gmail.com javascript:: Hi, try http://www.worldpay.com/global, it has a nice api. -Mirko On Monday, October 27, 2014 9:52:16 AM UTC+1, Gael Princivalle wrote: Hello. I'm still checking how to do an ecommerce website with web2py. As the website will be Italian, I've to check how making payments. Stripe.com, Authorize.net, and DowCommerce seems to be dedicated to US customers. With Google Wallet all products have to registrated inside the Google Wallet system (as for the Paypal Express Checkout). So it seems that the only way to manage payments without single products registration is the Paypal Standard integration. Someone can confirm me that ? I've found that, but it's from 2009. http://www.web2pyslices.com/slice/show/1336/paypal-integration-in-web2py Do we have some more documentation about Paypal integration ? Thanks. -- 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 because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/iCMAuvvYsrg/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Credit card payment for european web site
Worldpay have a monthly fee, and Paypal no. http://www.ki-media.co.uk/how-to-choose-a-payment-gateway/ -- Gael Princivalle 2014-10-27 10:20 GMT+01:00 Mirko mscavaz...@gmail.com: No, but I did it in Plone quite smoothly a long time ago. On Monday, October 27, 2014 10:16:52 AM UTC+1, Gael Princivalle wrote: Hi Mirko. Have you already integrate worldplay inside web2py ? -- Gael Princivalle 2014-10-27 10:01 GMT+01:00 Mirko mscav...@gmail.com: Hi, try http://www.worldpay.com/global, it has a nice api. -Mirko On Monday, October 27, 2014 9:52:16 AM UTC+1, Gael Princivalle wrote: Hello. I'm still checking how to do an ecommerce website with web2py. As the website will be Italian, I've to check how making payments. Stripe.com, Authorize.net, and DowCommerce seems to be dedicated to US customers. With Google Wallet all products have to registrated inside the Google Wallet system (as for the Paypal Express Checkout). So it seems that the only way to manage payments without single products registration is the Paypal Standard integration. Someone can confirm me that ? I've found that, but it's from 2009. http://www.web2pyslices.com/slice/show/1336/paypal-integrati on-in-web2py Do we have some more documentation about Paypal integration ? Thanks. -- 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 because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/web2py/iCMAuvvYsrg/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/iCMAuvvYsrg/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] trunk admin clear disk cache exception
Using rocket on trunk, the admin- database-cache Clear Cache? is causing an exception. Version:0.9 StartHTML:0229 EndHTML:5194 StartFragment:0263 EndFragment:5158 SourceURL:http://localhost:8000/admin/default/ticket/commission/127.0.0.1.2014-10-27.20-26-34.233250d7-ec5c-4004-9da3-da0526048dd9 Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. Traceback (most recent call last): File C:\Users\tim\web2py_dev\gluon\restricted.py, line 224, in restricted exec ccode in environment File C:/Users/tim/web2py_dev/applications/commission/controllers/appadmin.py http://localhost:8000/admin/default/edit/commission/controllers/appadmin.py, line 635, in module File C:\Users\tim\web2py_dev\gluon\globals.py, line 393, in lambda self._caller = lambda f: f() File C:/Users/tim/web2py_dev/applications/commission/controllers/appadmin.py http://localhost:8000/admin/default/edit/commission/controllers/appadmin.py, line 370, in ccache cache.disk.clear() File C:\Users\tim\web2py_dev\gluon\cache.py, line 394, in clear storage.clear() File C:\Users\tim\web2py_dev\gluon\cache.py, line 334, in clear del self[key] File C:\Users\tim\web2py_dev\gluon\cache.py, line 316, in __delitem__ recfile.remove(key, path=self.folder) File C:\Users\tim\web2py_dev\gluon\recfile.py, line 36, in remove raise IOError IOError -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Keyerror when .represent is added
Model: db.define_table('article', Field('art_id', 'reference akb_articles'), Field('title', type=citext), #artikel titel Field('abstract',type=citext), #ab Field('doc_type', length=78), Field('author_count', 'integer'), Field('ut', length=15, unique = True), Field('url', 'text'), rname = 'level1.article', migrate = MIGRATE, fake_migrate = FAKE_MIGRATE) No problem there but as soon as I add db.article.url.represent = lambda x, record: get_url(x) where get_url looks like this: def get_url(url): if url: address = A('click here to see pdf', _target = _blank, _href = a prefix to the url added %s % url) else: address = '' return address I get KeyError: 'Cannot resolve reference akb_articles in article definition' Is this a bug? Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Keyerror when .represent is added
New information. This does not happen when I move the 'represent' into the field definition: Field('url', 'text', represent= lambda x, record: get_url(x)), Regards Johann On 27 October 2014 11:28, Johann Spies johann.sp...@gmail.com wrote: Model: db.define_table('article', Field('art_id', 'reference akb_articles'), Field('title', type=citext), #artikel titel Field('abstract',type=citext), #ab Field('doc_type', length=78), Field('author_count', 'integer'), Field('ut', length=15, unique = True), Field('url', 'text'), rname = 'level1.article', migrate = MIGRATE, fake_migrate = FAKE_MIGRATE) No problem there but as soon as I add db.article.url.represent = lambda x, record: get_url(x) where get_url looks like this: def get_url(url): if url: address = A('click here to see pdf', _target = _blank, _href = a prefix to the url added %s % url) else: address = '' return address I get KeyError: 'Cannot resolve reference akb_articles in article definition' Is this a bug? Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] SQLFORM.grid created from request.vars - search, pagination etc breaks
Current code looks like this : https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2031 See if it helps -Mandar P.S. : I posted original query (2 yrs ago) but as mentioned earlier in the thread - I ended up using session variable though. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Exception (trunk) SCOPE_IDENTITY mssql3 legacy table where id is not an identity column
definitively needs to be an identity to make any insert*() work. And it is since the beginning. On Monday, October 27, 2014 8:42:12 AM UTC+1, Tim Richardson wrote: On Monday, 27 October 2014 18:17:10 UTC+11, Tim Richardson wrote: I have a table in sqlserver 2008r2 where the ID column is not an identity (but is a unique integer). The ID column is not called ID. I am using update_or_insert and in the case of new record I provide the value for the ID column. This is web2py trunk. The database adapter is mssql3 I am getting an exception in this code in mssql.py (line 155-ish) def lastrowid(self,table): #self.execute('SELECT @@IDENTITY;') self.execute('SELECT SCOPE_IDENTITY();') return long(self.cursor.fetchone()[0]) The exception is type 'exceptions.TypeError' long() argument must be a string or a number, not 'NoneType' It is occurring when an insert is happening. The insert is correctly provided a unique ID for the non-identity primary key. This function is not run very often but this bug was not present earlier (not known how much earlier). I can bisect it but first I'd like to know if the ID column must be an identity. The more I think about this, the more I wonder it was not an error earlier. The documentation is very clear, in any case. It should be an identity. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Kendo UI
what do you mean by angular syntax? angular templates are similar to web2py templates angular controllers is just plain javascript angular is a great framework On Mon, Oct 27, 2014 at 8:14 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: I really dislike angular's syntax. Its unnecessarily weird. On Monday, October 27, 2014, Vasile Ermicioi elff...@gmail.com wrote: I would build the interface with angular+kendoui and use web2py for REST API On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Forgot the actual site : http://qooxdoo.org http://demo.qooxdoo.org/current/widgetbrowser/ http://demo.qooxdoo.org/devel/demobrowser/# On Sun, Oct 26, 2014 at 4:52 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Also check out Qooxdoo. If you are going to build Desktop Style UI , Qooxdoo is perfect (And code is much cleaner because there is no need for Jquery or Selectors). Web2py Demo : http://herspos.appspot.com/HersPOS https://code.google.com/p/herspos/ On Sat, Oct 25, 2014 at 10:07 PM, Anthony abasta...@gmail.com wrote: 2. How should the 2nd level of integration be done ? You can create a custom formstyle function and pass it as the formstyle argument. For an example of such a function, see the Bootstrap function: https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L783 Anthony -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] form..custom. widget and datepicker
I have the following field definition: Field('expiryDate', **isdate), isdate = dict(type='date', requires=IS_DATE(format='%d-%m-%Y', error_message='Incorrect format dd-mm-'), represent=lambda v: v.strftime('%d/%m/%Y') if v else '') and javascript function: $(function() {$(.date).datepicker({dateFormat: 'dd-mm-yy'});}); In case of a default form this works, however, in a custom form: {{=form.custom.widget.expiryDate}} the field does not get a datepicker Why not? Kind regards, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] placeholder={{=form.custom.widget.agreedPrice}}
I have the following field definition: Field('agreedPrice', type='double', default=0.00, requires=[IS_FLOAT_IN_RANGE(0,256, dot=',', error_message='Format not of type double')], notnull=True, label='Price in euro', writable=False, readable=False), agreedPrice is set in a function: db.mbs_sub_register.agreedPrice.default = MICRO3PRICE where MICRO3PRICE = 32 This works fine, except when I disable the field in a custom form: div class=form-group label for=mbs_sub_register.agreedPricePrijs p/mnd * /label input class=form-control id=disabledInput type=text placeholder={{=form.custom.widget.agreedPrice}} disabled /div !-- /.form-group -- This renders: input id=disabledInput class=form-control type=text value=32,00 name=agreedPrice form-control= double= placeholder=input class= disabled whereas it should render: input id=disabledInput class=form-control type=text disabled= placeholder=32,00 placeholder={{=form.custom.widget.agreedPrice}} works well if the field is of type string. Kind regards, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Keyerror when .represent is added
By moving the represent inside the Field definition you allow the table to be lazy. As in, the table is only defined when it really needs to be. I'm guessing that table akb_articles is defined after this one. I would both use the represent inside the field as lazy tables are faster, and make sure table akb_articles is defined before this one to avoid problems. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: placeholder={{=form.custom.widget.agreedPrice}}
form.custom.widget.whatever is a widget, not a value. On Monday, October 27, 2014 12:18:24 PM UTC+1, Annet wrote: I have the following field definition: Field('agreedPrice', type='double', default=0.00, requires=[IS_FLOAT_IN_RANGE(0,256, dot=',', error_message='Format not of type double')], notnull=True, label='Price in euro', writable=False, readable=False), agreedPrice is set in a function: db.mbs_sub_register.agreedPrice.default = MICRO3PRICE where MICRO3PRICE = 32 This works fine, except when I disable the field in a custom form: div class=form-group label for=mbs_sub_register.agreedPricePrijs p/mnd * /label input class=form-control id=disabledInput type=text placeholder={{=form.custom.widget.agreedPrice}} disabled /div !-- /.form-group -- This renders: input id=disabledInput class=form-control type=text value=32,00 name=agreedPrice form-control= double= placeholder=input class= disabled whereas it should render: input id=disabledInput class=form-control type=text disabled= placeholder=32,00 placeholder={{=form.custom.widget.agreedPrice}} works well if the field is of type string. Kind regards, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: form..custom. widget and datepicker
does it have a class =date ? On Monday, October 27, 2014 12:04:37 PM UTC+1, Annet wrote: I have the following field definition: Field('expiryDate', **isdate), isdate = dict(type='date', requires=IS_DATE(format='%d-%m-%Y', error_message='Incorrect format dd-mm-'), represent=lambda v: v.strftime('%d/%m/%Y') if v else '') and javascript function: $(function() {$(.date).datepicker({dateFormat: 'dd-mm-yy'});}); In case of a default form this works, however, in a custom form: {{=form.custom.widget.expiryDate}} the field does not get a datepicker Why not? Kind regards, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: placeholder={{=form.custom.widget.agreedPrice}}
form.custom.widget.agreedPrice is the actual input widget for the field -- why do you want to use that as the HTML placeholder attribute? The placeholder attribute should just be some text you want to display in the field. If you want to display the default value, then just use something like db.mbs_sub_register.agreedPrice.default. Anthony On Monday, October 27, 2014 7:18:24 AM UTC-4, Annet wrote: I have the following field definition: Field('agreedPrice', type='double', default=0.00, requires=[IS_FLOAT_IN_RANGE(0,256, dot=',', error_message='Format not of type double')], notnull=True, label='Price in euro', writable=False, readable=False), agreedPrice is set in a function: db.mbs_sub_register.agreedPrice.default = MICRO3PRICE where MICRO3PRICE = 32 This works fine, except when I disable the field in a custom form: div class=form-group label for=mbs_sub_register.agreedPricePrijs p/mnd * /label input class=form-control id=disabledInput type=text placeholder={{=form.custom.widget.agreedPrice}} disabled /div !-- /.form-group -- This renders: input id=disabledInput class=form-control type=text value=32,00 name=agreedPrice form-control= double= placeholder=input class= disabled whereas it should render: input id=disabledInput class=form-control type=text disabled= placeholder=32,00 placeholder={{=form.custom.widget.agreedPrice}} works well if the field is of type string. Kind regards, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Credit card payment for european web site
Mangopay works in Europe, has no monthly fees and it has a python sdk: https://github.com/MangoPay/mangopay2-python-sdk It shouldn't be too hard to integrate. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Keyerror when .represent is added
Thanks for your reaction Leonel. On 27 October 2014 13:25, Leonel Câmara leonelcam...@gmail.com wrote: By moving the represent inside the Field definition you allow the table to be lazy. As in, the table is only defined when it really needs to be. I'm guessing that table akb_articles is defined after this one. I would both use the represent inside the field as lazy tables are faster, and make sure table akb_articles is defined before this one to avoid problems. akb_articles is defined before this one otherwise the table definition would fail as I understand it. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] ajax issue/question
I am encountering what I think is a weird problem with an ajax call. My web page contains an iframe, which is loaded with a normal controller/view web2py request. When a button is clicked that should cause the javascript in the iframe to send an ajax request to web2py, I am seeing only a request header in the FireBug console but not a response header. In debug code in the web2py controller, I display when the ajax request is received, and it is never executed. This is the same procedure I use for ajax all the time, but the only difference here is that it is executing within an iframe. What mistake did I make? -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: form..custom. widget and datepicker
Hi Simone, Thanks for your reply. Yes it does have a class=date form-control whereas it should have class=date form-control hasDatepicker Best, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: placeholder={{=form.custom.widget.agreedPrice}}
Hi Simone and Anthony, Thanks for your replies. I wanted to style this custom form the Bootstrap 3 way: http://getbootstrap.com/css/#forms-control-disabled That's why I use the placeholder attribute. Using db.mbs_sub_register.agreedPrice.default as the placeholder soves the issue. Best, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: placeholder={{=form.custom.widget.agreedPrice}}
Yes, the problem is not with using the placeholder attribute -- it's just with what you put in there. On Monday, October 27, 2014 8:34:02 AM UTC-4, Annet wrote: Hi Simone and Anthony, Thanks for your replies. I wanted to style this custom form the Bootstrap 3 way: http://getbootstrap.com/css/#forms-control-disabled That's why I use the placeholder attribute. Using db.mbs_sub_register.agreedPrice.default as the placeholder soves the issue. Best, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] SQLFORM.grid created from request.vars - search, pagination etc breaks
Hi Mandar, as you pointed me to source it seems there is still just args parameter. I tried with session.vars but somehow I was loosing those vars and it just did not feel right to me. I ended up switching to args and pass those request.args to grid as args parameter. It works now but I like it more with vars because it is easily readable thnx Alen Dana ponedjeljak, 27. listopada 2014. 11:00:15 UTC+1, korisnik Mandar Vaze napisao je: Current code looks like this : https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2031 See if it helps -Mandar P.S. : I posted original query (2 yrs ago) but as mentioned earlier in the thread - I ended up using session variable though. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Create a drop-down menu from a database
Having same problem citation This code produce only a simple imput box and not a drop down menu Have you found a solution? Dana petak, 11. listopada 2013. 19:06:23 UTC+2, korisnik Py Dev napisao je: Massimo, thank you very much for your example, but it does not work, here is my complete code: model: db.define_table('cities', Field('name'), Field('mystate'), format = '%(name)s' ) #db.cities.requires=IS_IN_DB(db, 'cities.id', '%(name)s')#IS_IN_DB(db, db.cities.id,'%(name)s') controller: def insertData(): if db(db.cities.id0).count() == 0: db.cities.truncate() db.cities.insert(name='Cityname1',mystate='State1') db.cities.insert(name='Cityname2',mystate='State2') db.cities.insert(name='Cityname3',mystate='State2') db.cities.insert(name='Cityname4',mystate='State3') db.cities.insert(name='Cityname5',mystate='State3') def menuFromDb(): form = SQLFORM.factory(Field('choose_city','reference cities')) #reference cities, db.cities #form = SQLFORM.factory(Field('choose_city','db.cities')) return dict(form=form) View: {{extend 'layout.html'}} {{=form}} This code produce only a simple imput box and not a drop down menu, that comes from the db as intended. I think, only one line of code is missing, but what? Thanks for your help and your great work with web2py! pd -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Translation issue
Hi! I reported a bug with translation here https://code.google.com/p/web2py/issues/detail?id=2003sort=-modifiedcolspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Modified . Can someone to look at it and to suggest a solution? Thanks! -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Kendo UI
I agree with Phyo. It is not the template syntax that is weird, it is the logic of defining controllers and scope clientside. I like ractive.js instead. On Monday, 27 October 2014 01:14:51 UTC-5, Phyo Arkar wrote: I really dislike angular's syntax. Its unnecessarily weird. On Monday, October 27, 2014, Vasile Ermicioi elff...@gmail.com wrote: I would build the interface with angular+kendoui and use web2py for REST API On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Forgot the actual site : http://qooxdoo.org http://demo.qooxdoo.org/current/widgetbrowser/ http://demo.qooxdoo.org/devel/demobrowser/# On Sun, Oct 26, 2014 at 4:52 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Also check out Qooxdoo. If you are going to build Desktop Style UI , Qooxdoo is perfect (And code is much cleaner because there is no need for Jquery or Selectors). Web2py Demo : http://herspos.appspot.com/HersPOS https://code.google.com/p/herspos/ On Sat, Oct 25, 2014 at 10:07 PM, Anthony abasta...@gmail.com wrote: 2. How should the 2nd level of integration be done ? You can create a custom formstyle function and pass it as the formstyle argument. For an example of such a function, see the Bootstrap function: https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L783 Anthony -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Credit card payment for european web site
I would like this intergrated. Let me know if I can help. On Monday, 27 October 2014 06:35:51 UTC-5, Leonel Câmara wrote: Mangopay works in Europe, has no monthly fees and it has a python sdk: https://github.com/MangoPay/mangopay2-python-sdk It shouldn't be too hard to integrate. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Kendo UI
I agree with Phyo and Massimo Ractive.js is much better in that sense. On Monday, October 27, 2014 8:30:38 AM UTC-5, Massimo Di Pierro wrote: I agree with Phyo. It is not the template syntax that is weird, it is the logic of defining controllers and scope clientside. I like ractive.js instead. On Monday, 27 October 2014 01:14:51 UTC-5, Phyo Arkar wrote: I really dislike angular's syntax. Its unnecessarily weird. On Monday, October 27, 2014, Vasile Ermicioi elf...@gmail.com javascript: wrote: I would build the interface with angular+kendoui and use web2py for REST API On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Forgot the actual site : http://qooxdoo.org http://demo.qooxdoo.org/current/widgetbrowser/ http://demo.qooxdoo.org/devel/demobrowser/# On Sun, Oct 26, 2014 at 4:52 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Also check out Qooxdoo. If you are going to build Desktop Style UI , Qooxdoo is perfect (And code is much cleaner because there is no need for Jquery or Selectors). Web2py Demo : http://herspos.appspot.com/HersPOS https://code.google.com/p/herspos/ On Sat, Oct 25, 2014 at 10:07 PM, Anthony abasta...@gmail.com wrote: 2. How should the 2nd level of integration be done ? You can create a custom formstyle function and pass it as the formstyle argument. For an example of such a function, see the Bootstrap function: https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L783 Anthony -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Credit card payment for european web site
Great. Mangopay is also really cheaper than Paypal for the merchant: http://www.mangopay.com/pricing/ For the moment I must spend time for building all the application without the payment function. In a couple of months I'll take care of it. I hope someone else will have done something on Mangopay integration in the meantime.[?] -- Gael Princivalle 2014-10-27 14:31 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com: I would like this intergrated. Let me know if I can help. On Monday, 27 October 2014 06:35:51 UTC-5, Leonel Câmara wrote: Mangopay works in Europe, has no monthly fees and it has a python sdk: https://github.com/MangoPay/mangopay2-python-sdk It shouldn't be too hard to integrate. -- 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 because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/iCMAuvvYsrg/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: ajax issue/question
Javascript code in the iframe shouldn't make changes in the top frame. It's possible if the iframe is in the same domain, my guess is that you aren't referring to the parent window so it's looking for the place to put the ajax call result inside the iframe, but you shouldn't. Why are you using iframe if this is all controlled by you? -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: ajax issue/question
I am looking to reduce the amount of data transferred by making this page of my application behave like an SPA (single-page application). I have searching built into the master page, and then individual records are loaded into the iframe, one at a time. When a user wants another record, they can recall the search results in a pop-up, and select the next record into the iframe. The ajax call is from javascript running in the iframe to get the results in the iframe. The call is acting like it can't find the controller. FireBug shows the code being executed, but the debug code in the web2py controller is not showing the request being received. The code works if not run in an iframe. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: ajax issue/question
You really don't need an iframe for any of this. If you really want to reduce the amount of data you should have your search form return the results using json and then make the HTML to put in the results using javascript. That said I don't know exactly what's going wrong. My guess is that you're mixing javascript code that's in the iframe and javascript code that is in the parent window with ill results. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: trunk admin clear cache exception
Hey Tim, This problem was caused by appadmin creating files in the cache folder that shouldn't be there, it has been fixed: https://github.com/web2py/web2py/commit/9d4b2e66c4736c218033e8be70d135cdf0fc718f Until we release another version you need to update your appadmin manually and delete your cache folder. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: ajax issue/question
Instead of the iframe, why not just put the record in a div that gets updated via Ajax? On Monday, October 27, 2014 11:16:14 AM UTC-4, Craig Matthews wrote: I am looking to reduce the amount of data transferred by making this page of my application behave like an SPA (single-page application). I have searching built into the master page, and then individual records are loaded into the iframe, one at a time. When a user wants another record, they can recall the search results in a pop-up, and select the next record into the iframe. The ajax call is from javascript running in the iframe to get the results in the iframe. The call is acting like it can't find the controller. FireBug shows the code being executed, but the debug code in the web2py controller is not showing the request being received. The code works if not run in an iframe. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Kendo UI
if you are building single page applications you will do the same thing with qooxdoo, so I don't get it.. controller + view + databinding + directives = great combos for building components(widgets) here a simple example to get an idea https://github.com/angular-ui/bootstrap/blob/master/src/rating/rating.js and you can load dynamically views and controllers as they are needed how would you build components like that with ractivejs? as I understand ractivejs is just object+template with databinding, I have the feeling that you are missing something guys ;) On Mon, Oct 27, 2014 at 3:34 PM, JorgeH jorgeh...@gmail.com wrote: I agree with Phyo and Massimo Ractive.js is much better in that sense. On Monday, October 27, 2014 8:30:38 AM UTC-5, Massimo Di Pierro wrote: I agree with Phyo. It is not the template syntax that is weird, it is the logic of defining controllers and scope clientside. I like ractive.js instead. On Monday, 27 October 2014 01:14:51 UTC-5, Phyo Arkar wrote: I really dislike angular's syntax. Its unnecessarily weird. On Monday, October 27, 2014, Vasile Ermicioi elf...@gmail.com wrote: I would build the interface with angular+kendoui and use web2py for REST API On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Forgot the actual site : http://qooxdoo.org http://demo.qooxdoo.org/current/widgetbrowser/ http://demo.qooxdoo.org/devel/demobrowser/# On Sun, Oct 26, 2014 at 4:52 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Also check out Qooxdoo. If you are going to build Desktop Style UI , Qooxdoo is perfect (And code is much cleaner because there is no need for Jquery or Selectors). Web2py Demo : http://herspos.appspot.com/HersPOS https://code.google.com/p/herspos/ On Sat, Oct 25, 2014 at 10:07 PM, Anthony abasta...@gmail.com wrote: 2. How should the 2nd level of integration be done ? You can create a custom formstyle function and pass it as the formstyle argument. For an example of such a function, see the Bootstrap function: https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L783 Anthony -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: best way to play sound one time? session or cookies
On Saturday, October 25, 2014 11:25:46 AM UTC-7, LoveWeb2py wrote: Thank you, Massimo. I'll look into that. First time I've heard of html5 local storage. Following the link Massimo was most interesting. I took my HTML course when HTML5 was just a little too new to be covered, so I'm going to be self-taught on the upgrades. /dps On Friday, October 24, 2014 12:48:14 AM UTC-4, Massimo Di Pierro wrote: I would do this all in JS. You play the file then store in a html5 local storage a flag that says you played it. Next time you check the localstorage. No reason to bother the server with this information. http://www.w3schools.com/html/html5_webstorage.asp On Thursday, 23 October 2014 20:18:38 UTC-5, LoveWeb2py wrote: Hello, I would like to greet or user with a sound one time upon accessing a controller but if they click it again i would want the sound to play again while they're logged in. However if they log out and log back in I would like it to play again. What type of logic should I use sessions or cookies? What is av better fit. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: trunk admin clear cache exception
Thanks -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Error with response ?BUFFER? limitations
Hi all, Anyone can tell me if there are any limitations on response buffer size? I created a proccess that generates 6000 lines, when I try to output them to browser1 i got the error from Rocket: File /web2py/gluon/rocket.py, line 152, in _sendall_darwin sent = self.socket.send(buf[offset:]) error: [Errno 32] Broken pipe If I try to print 1000 by 1000 it goes smooth So I think there may be some limitations on this I am using a MAC OS X w/ 12GB mem -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: form..custom. widget and datepicker
no, it shouldn't. any .date gets added a datepicker automatically by web2py.js... the point is having an input with a date class to make the binding with the calendar valid. You're doing something wrong with your custom form since you say normal ones work. On Monday, October 27, 2014 1:23:08 PM UTC+1, Annet wrote: Hi Simone, Thanks for your reply. Yes it does have a class=date form-control whereas it should have class=date form-control hasDatepicker Best, Annet -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Error with response ?BUFFER? limitations
I stole this answer from stackoverflow... Your server process has received a SIGPIPE writing to a socket. This usually happens when you write to a socket fully closed on the other (client) side. This might be happening when a client program doesn't wait till all the data from the server is received and simply closes a socket (using close function). In a C program you would normally try setting to ignore SIGPIPE signal or setting a dummy signal handler for it. In this case a simple error will be returned when writing to a closed socket. In your case a python seems to throw an exception that can be handled as a premature disconnect of the client. In any case, here's the issue as it relates to OSX and Python... http://bugs.python.org/issue8493 On Monday, October 27, 2014 12:38:02 PM UTC-7, André Kablu wrote: Hi all, Anyone can tell me if there are any limitations on response buffer size? I created a proccess that generates 6000 lines, when I try to output them to browser1 i got the error from Rocket: File /web2py/gluon/rocket.py, line 152, in _sendall_darwin sent = self.socket.send(buf[offset:]) error: [Errno 32] Broken pipe If I try to print 1000 by 1000 it goes smooth So I think there may be some limitations on this I am using a MAC OS X w/ 12GB mem -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: best way to play sound one time? session or cookies
I would suggest you store first the name of the file to play in localstorage and then read the name of the file from localstorage to play it. if the person for some reason disables localstorage they won't hear the sound... which is probably better than annoying someone every single time because they turned off localstorage permissions. On Saturday, October 25, 2014 11:25:46 AM UTC-7, LoveWeb2py wrote: Thank you, Massimo. I'll look into that. First time I've heard of html5 local storage. On Friday, October 24, 2014 12:48:14 AM UTC-4, Massimo Di Pierro wrote: I would do this all in JS. You play the file then store in a html5 local storage a flag that says you played it. Next time you check the localstorage. No reason to bother the server with this information. http://www.w3schools.com/html/html5_webstorage.asp On Thursday, 23 October 2014 20:18:38 UTC-5, LoveWeb2py wrote: Hello, I would like to greet or user with a sound one time upon accessing a controller but if they click it again i would want the sound to play again while they're logged in. However if they log out and log back in I would like it to play again. What type of logic should I use sessions or cookies? What is av better fit. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Credit card payment for european web site
http://web2py.com/books/default/chapter/29/14/other-recipes They have a lot of pay vendors supported. Pick one. If you'd like an integration, look here... http://docs.mangopay.com/api-references/ It looks super easy to do one. If you don't want to use their rest api, then use this: https://github.com/MangoPay/mangopay2-python-sdk You can also try contacting the company directly to help with your issues... they seem supportive of using Web2py.. https://groups.google.com/forum/#!topic/web2py/-KgN4wm0hSg On Monday, October 27, 2014 6:51:05 AM UTC-7, Gael Princivalle wrote: Great. Mangopay is also really cheaper than Paypal for the merchant: http://www.mangopay.com/pricing/ For the moment I must spend time for building all the application without the payment function. In a couple of months I'll take care of it. I hope someone else will have done something on Mangopay integration in the meantime. -- Gael Princivalle 2014-10-27 14:31 GMT+01:00 Massimo Di Pierro massimo@gmail.com javascript:: I would like this intergrated. Let me know if I can help. On Monday, 27 October 2014 06:35:51 UTC-5, Leonel Câmara wrote: Mangopay works in Europe, has no monthly fees and it has a python sdk: https://github.com/MangoPay/mangopay2-python-sdk It shouldn't be too hard to integrate. -- 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 because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/iCMAuvvYsrg/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Notes on IIS configuration for web2py
For sure we can make better notes. But for what it's worth, these are my notes on getting web2py working on IIS. Including Simone's solution to IIS clobbering requests when they created or modified .py files. https://docs.google.com/document/d/1uT2SS1xNMuWF38Dq2QZfe30LLnqELGeCYKgWsicz9zQ/edit?usp=sharing I hope this helps as an interim measure. By the way, apache on windows is a very stable and familiar way of hosting web2py under windows unless the single process fr mod_wsgi becomes a concern. Which it won't for a long time if you are careful to write good, fast-returning code since the whole theory of nginx etc is that web servers are very IO bound. However, IIS lets fastcgi access multiple cores (like Apache mod_wsgi on linux) which was interesting to me, at least as an exercise. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Kendo UI
I just discovered Reactive.js. I like the syntax , its a lot like web2py's template. cool! It actually let you write lesser line of code. What i don't like about Angular especially is Directives.Followed by defining controllers and scope clientside as Massimo saids. I also find defining templates inside Javascript very weird and hard to write. Javascript , unlike python , you have to Concat Strings to make it easy to read. It do not have syntax. In our team we try to be as HTML-Less as possible when coding single page apps , Directives add more HTML. you will do the same thing with qooxdoo, We don't do that in Qooxdoo desktop. When we need to add new widget from scratch we subclass: qx.ui.core.Widget . Add a data Model and then we can bind with Delegates. and add things as needed , at 90% no new HTML is needed. On Tue, Oct 28, 2014 at 12:37 AM, Vasile Ermicioi elff...@gmail.com wrote: if you are building single page applications you will do the same thing with qooxdoo, so I don't get it.. controller + view + databinding + directives = great combos for building components(widgets) here a simple example to get an idea https://github.com/angular-ui/bootstrap/blob/master/src/rating/rating.js and you can load dynamically views and controllers as they are needed how would you build components like that with ractivejs? as I understand ractivejs is just object+template with databinding, I have the feeling that you are missing something guys ;) On Mon, Oct 27, 2014 at 3:34 PM, JorgeH jorgeh...@gmail.com wrote: I agree with Phyo and Massimo Ractive.js is much better in that sense. On Monday, October 27, 2014 8:30:38 AM UTC-5, Massimo Di Pierro wrote: I agree with Phyo. It is not the template syntax that is weird, it is the logic of defining controllers and scope clientside. I like ractive.js instead. On Monday, 27 October 2014 01:14:51 UTC-5, Phyo Arkar wrote: I really dislike angular's syntax. Its unnecessarily weird. On Monday, October 27, 2014, Vasile Ermicioi elf...@gmail.com wrote: I would build the interface with angular+kendoui and use web2py for REST API On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Forgot the actual site : http://qooxdoo.org http://demo.qooxdoo.org/current/widgetbrowser/ http://demo.qooxdoo.org/devel/demobrowser/# On Sun, Oct 26, 2014 at 4:52 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Also check out Qooxdoo. If you are going to build Desktop Style UI , Qooxdoo is perfect (And code is much cleaner because there is no need for Jquery or Selectors). Web2py Demo : http://herspos.appspot.com/HersPOS https://code.google.com/p/herspos/ On Sat, Oct 25, 2014 at 10:07 PM, Anthony abasta...@gmail.com wrote: 2. How should the 2nd level of integration be done ? You can create a custom formstyle function and pass it as the formstyle argument. For an example of such a function, see the Bootstrap function: https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L783 Anthony -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.