[web2py] conditional coloring of table rows

2018-03-26 Thread Lee Carmichael
I have a question regarding conditionally setting the color of a table row. What I'm trying to do is similar to this post: https://groups.google.com/forum/#!topic/web2py/gy01S0TwF70 I guess my lack of experience is keeping me from making the leap from that scenario to my own. My situation is t

[web2py] Re: getting result of SQLFORM.widgets.checkboxes.widget

2018-03-23 Thread Lee Carmichael
I see what was going on. I was only adding the search result to my request.vars so the checkbox results were, as one would expect, not making into request.vars! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https:/

[web2py] Re: getting result of SQLFORM.widgets.checkboxes.widget

2018-03-23 Thread Lee Carmichael
ch 22, 2018 at 6:54:16 PM UTC-7, Lee Carmichael wrote: >> >> Hey all, I'm trying to implement two check boxes where the first is >> checked by default, but both or only the second are acceptable checked >> patterns (at least one must be checked). >> >>

[web2py] getting result of SQLFORM.widgets.checkboxes.widget

2018-03-22 Thread Lee Carmichael
Hey all, I'm trying to implement two check boxes where the first is checked by default, but both or only the second are acceptable checked patterns (at least one must be checked). In my controller I have the following: MY_OPTIONS = ['In-service view','Future view' ] form = SQLFORM.factory(Fie

[web2py] Re: a tangled web has been woven - importing modules help

2018-03-22 Thread Lee Carmichael
nless the interpreter is restarted. > > Anthony > > On Thursday, March 22, 2018 at 6:55:58 PM UTC-4, Lee Carmichael wrote: >> >> Hey all, I'm totally confusing myself about importing modules. I think >> the root of my problem is I didn't wrong before I learned h

[web2py] a tangled web has been woven - importing modules help

2018-03-22 Thread Lee Carmichael
Hey all, I'm totally confusing myself about importing modules. I think the root of my problem is I didn't wrong before I learned how to do it right. Live and learn, right? But now I seem to be in a tangled mess. For background, in my controller, report.py, I have a a function called result and