web2py-modules

web2py components

☆樱花仙子☆ 提交于 2019-12-11 03:26:09
问题 I would like to load different web2py components in the same view, but not at the same time. I have 5 .load files which have form fields for a different scenario, these are called dynamically by an onchange select script. Is it possible with web2py to do this? 回答1: Yes, but in that case, don't use the LOAD() helper in the web2py view, as that will generate Javascript that loads the component immediately upon page load. Instead, create a div with an id to hold the component, and have your

How can I create new auth_user and auth_group on Web2py running on Google App Engine (GAE)?

假如想象 提交于 2019-12-11 00:49:57
问题 I've created an app on my local computer with Web2py and it is running via WSGI with SQLite. I can successfully deploy my app to Google App Engine, using my own domain and doing all url rewrites I need. Now I need a way to create specific administrative users that will be responsible for update some tables. Specific questions: Is there a way I can use Web2py admin interface when my appliation is running on GAE ? Even if I do not want create news applications nor edit files, is it possible to

can we use java code in web2py application code?

自作多情 提交于 2019-12-08 08:59:40
问题 I have to implement one web2py application which has to access java code (which has code to connect to the remote machine) but not sure whether we can do it in web2py or not.My PC has Java 1.6, Python2.7 ,web2py ,eclipse installed. Use case is : I have created one button in web2py application and upon clicking the button, it should instantiate the java object and invoke particular method of that java object which will further connect to the remote machine. Doubts are: Can we deploy that

can we use java code in web2py application code?

戏子无情 提交于 2019-12-07 04:57:25
I have to implement one web2py application which has to access java code (which has code to connect to the remote machine) but not sure whether we can do it in web2py or not.My PC has Java 1.6, Python2.7 ,web2py ,eclipse installed. Use case is : I have created one button in web2py application and upon clicking the button, it should instantiate the java object and invoke particular method of that java object which will further connect to the remote machine. Doubts are: Can we deploy that particular java class to web2py server so web2py application can easily access it? Is it possible to import