[web2py] Re: web2py behind IIS - 404 File or Directory Not Found.

2017-04-06 Thread weheh
Now I'm wondering if the wfastcgi.py 3.0.0 that I downloaded is somehow not compatible with some of the python2.7 modules in the flow. On Thursday, April 6, 2017 at 7:48:44 PM UTC-6, weheh wrote: > > I've now compared my installation against a known good installation. All > the various parameter

[web2py] Re: TABLE and TBODY helpers add TR innapropriately

2017-04-06 Thread Anthony
> > htmltablebody=TBODY(TAG(XML(htmlrows))) > Probably you meant TAG(htmlrows) (i.e., without the XML()), but even that I do not think will work (TAG() will not return a list of TR objects but a parent TAG object). However, this should work: htmltablebody = TBODY(CAT(XML(htmlrows))) But as n

[web2py] Re: TABLE and TBODY helpers add TR innapropriately

2017-04-06 Thread Anthony
> > Here is my python in the controller that builds the table HTML: > > #these three lines are static, but in my code the looping that builds them > is pretty complex eventually with form elements, javascript, and links > htmlrows="row 1 descrow 1 > linka" > htmlrows+="row 2 descrow 2 > linkb"

[web2py] Re: TABLE and TBODY helpers add TR innapropriately

2017-04-06 Thread Leonel Câmara
Yeah sometimes it's not a good idea to mix XML made stuff with the other helpers, namely the TABLE helper tries to be convenient and put stuff that you give it to him inside TDs if they aren't yet. If you really have to use XML and TABLE use TAG to turn it into web2py helpers: htmlrows="row 1 d

[web2py] Re: web2py behind IIS - 404 File or Directory Not Found.

2017-04-06 Thread weheh
I've now compared my installation against a known good installation. All the various parameters and installed routines are the same, but still getting the 404 message. Anybody have any thoughts about what it might be or what I should be looking at? On Thursday, April 6, 2017 at 3:12:51 PM UTC-6

[web2py] TABLE and TBODY helpers add TR innapropriately

2017-04-06 Thread Brian M
I am trying to build a table from a joined set of db tables and need to do quite a bit of processing to make the links and buttons in each row. Making the code readable is important to me so I do not want to put one giant long line of code to do everything and make it impossible for another pers

[web2py] use memcache

2017-04-06 Thread 黄祥
Tried to learn about memcache, create new web2py app from admin *Situation 1 :* *models/db.py * ## memcache put on top of models/db.py # cache from gluon.contrib.memcache import MemcacheClient *memcache_servers = ['127.0.0.1:11211']* *#memcache_servers = ['192.168.0.99:11211']* cache.memcache = Me

[web2py] web2py behind IIS - 404 File or Directory Not Found.

2017-04-06 Thread weheh
Have been struggling with web2py behind IIS installation on AWS for a couple of days now and getting nowhere. The best I am able to produce is a 404 error message. I've tried two completely clean installations from scratch, followed the web2py book documentation to the letter, and still no go.

[web2py] "Show_if" and Field Validation

2017-04-06 Thread Joe Barnhart
I appreciate the new "show_if" attribute for Fields but I wonder if its action could be enhanced by one change... When I have a form with optional fields, I would like to set a validator on the field's value should it be supplied. I can always set it to IS_EMPTY_OR(blah) but this isn't strictl

Re: [web2py] Re: Questions about production environment / large applications

2017-04-06 Thread Carlos Zenteno
Thanks for the great reply Jim... On Wed, Apr 5, 2017 at 4:31 PM, Jim S wrote: > Here is a quick list of reasons why we host > > 1. Data sync - we sync data to/from a number other platforms that we host > here as well, HR/Payroll (MS SQL), Accounting/Inventory (AS/400), Product > Development (Pe

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-04-06 Thread Karoly Kantor
Thanks, this helped, i am now using my own function to send the password reset email. On Friday, March 31, 2017 at 2:51:03 PM UTC+2, Jacinto Parga wrote: > > Yes, still unresolved. > > I did a workaround for the request_reset_password: > > def user(): > if request.args(0)=='request_reset_pa

[web2py] Re: Form field manipulation questions

2017-04-06 Thread Dave S
On Monday, January 9, 2017 at 11:47:05 PM UTC-8, Dave S wrote: > > Now I'm trying to use > jQuery("fieldx").blur(function {jQuery("fieldy").focus()}); > to control which field in the form the user goes to after completing > fieldx. This works great unless I try to set a blur function on field