[web2py] DAL select id in list

2014-05-17 Thread lucas
how do i do something like: db(db.customers.id in [4,101,14,3,12,19,98]).select() ? thanx in advance, lucas -- 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

[web2py] Re: DAL select id in list

2014-05-17 Thread lucas
thanx 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

[web2py] get value of value attribute of input of SQLFORM

2014-06-10 Thread lucas
so i have an SQLFORM and if i drill down enough i get the INPUT object: uform[0][0][1] where uform is an SQLFORM object. but how can i read the value of the value attribute? thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com

[web2py] Re: get value of value attribute of input of SQLFORM

2014-06-10 Thread lucas
the TD. i had a brainy storm. thanx, lucas -- 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

[web2py] how to test for right_sidebar block not empty in view

2014-06-17 Thread lucas
something like if response.right_sidebar: was correct, but it excepts out. thanx in advance, lucas -- 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

[web2py] Re: how to test for right_sidebar block not empty in view

2014-06-17 Thread lucas
ok, yes, i agree, but how to test of the right_sidebar is empty or not under layout.html? -- 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

[web2py] Re: how to test for right_sidebar block not empty in view

2014-06-17 Thread lucas
no, oh no, i didn't want how to access the enabled, right_sidebar_enabled, variable. what is the variable named for the block of text or tagged html text itself? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] truly global/single instance variable

2014-07-26 Thread lucas
for each user. in the interest of efficiency and lower memory usage, how can i create a single variable that loads a single instance of this list of lists that all users and all sessions use? thanx in advance and have a great day. lucas -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: truly global/single instance variable

2014-07-26 Thread lucas
, no matter the number of users or sessions? thanx, lucas -- 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

[web2py] Re: more buttons on the SQLFORM, how to add them into templates using form custom layout ...?

2014-07-31 Thread lucas
:410px;)]) and then under the view: {{=DIV(sform.custom.submit[0], sform.custom.submit[1], sform.custom.submit[4], _style=text-align:center;)}} and the other two buttons in other locations. sweet, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

[web2py] client browser small screen detect

2014-08-17 Thread lucas
in an iPod or iPhone versus the larger screens of like a iPad. the small screens really squish crap together and i would like to adjust for that better. thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[web2py] 2.9.11 migration from 2.9.5

2014-12-31 Thread lucas
at mydomain.com Port 443 any migration advice please? thanx in advance, lucas -- 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

[web2py] 2.9.11 migration

2015-01-01 Thread lucas
. -- Apache/2.2.15 (CentOS) Server at mydomain.com Port 443 thanx in advance, lucas -- 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

[web2py] question, kind of general

2015-02-03 Thread lucas
, if i setup cron to run this code, where is it best located so that the rest of the site doesn't suffer from servicing client requests? thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] Re: question, kind of general

2015-02-04 Thread lucas
to serve up the client HTTP requests. i can use regular linux cron in the future to run these console python scripts. always pushing the limits. thanx, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] Re: import gluon.tools under private modules

2015-02-11 Thread lucas
yes it is under the /opt/web-apps/web2py/applications/afs/private folder. what i really want to do is run this private module as a python script under bash console. because if i try to run it under the controller, it will consume all of the CPU and leave the main website locked until the

[web2py] import gluon.tools under private modules

2015-02-10 Thread lucas
hey everyone, i am writing a private module, like dude.py under applications/app/private. how do i access the web2py library like from gluon.tools import Mail and have it run properly under the private module? thank you in advance, lucas -- Resources: - http://web2py.com - http

[web2py] Re: import gluon.tools under private modules

2015-02-11 Thread lucas
well when i try to import a file.py from the private folder in a controller file, web2py throws back that it can't import the file. how come? On Tuesday, February 10, 2015 at 9:55:58 PM UTC-5, Leonel Câmara wrote: You can do exactly that. -- Resources: - http://web2py.com -

Re: [web2py] Re: two (or more) applications using the same database

2015-03-12 Thread lucas
yes, wouldn't DAL need to if it allows for connection(s) to multiple databases in the first place? lucas On Thursday, March 12, 2015 at 10:22:32 AM UTC-4, Anthony wrote: Are you trying to have a table in one database (DAL instance) reference a table in a separate database? I don't think

Re: [web2py] Re: two (or more) applications using the same database

2015-03-12 Thread lucas
doing wrong in this field definition. thanx in advance, lucas -- 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

Re: [web2py] Re: two (or more) applications using the same database

2015-03-12 Thread lucas
i thought that could be a connection or association that web2py can make internally but above the database limitations. that should be doable no? On Thursday, March 12, 2015 at 11:03:07 AM UTC-4, Anthony wrote: On Thursday, March 12, 2015 at 10:46:05 AM UTC-4, lucas wrote: yes, wouldn't

[web2py] two (or more) applications using the same database

2015-03-05 Thread lucas
in both db.py files, one under each application? other things to consider? thanx in advance, lucas -- 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

Re: [web2py][Javascript] Massimo here searching for some javascript devs ready to port web2py in JS

2015-03-01 Thread lucas
you know ya'll, none of that is funny at all. and april is soon to be on us again. -- 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

Re: [web2py] Re: two (or more) applications using the same database

2015-03-08 Thread lucas
yes, that is working great. the migrate parameter is very good. thanx, lucas -- 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

[web2py] Re: two (or more) applications using the same database

2015-03-05 Thread lucas
wouldn't SQL based be better? especially with searching through indexes. like i use postgresql and i wouldn't mind sticking with that. lucas On Thursday, March 5, 2015 at 9:39:21 PM UTC-5, Ron Chatterjee wrote: Once solution I can think of, you can save them all on a csv file and write

[web2py] SQLFORM question of formstyle and hidden inputs

2015-04-02 Thread lucas
, it uses these to properly id the form and such. however, why is it that when i do an SQLFORM of formstyle='divs' that these hidden inputs do not show up in the final html page? doesn't web2py need these using the divs style also? thanx in advance, lucas -- Resources: - http://web2py.com - http

[web2py] Re: SQLFORM question of formstyle and hidden inputs

2015-04-02 Thread lucas
omg, i am a dumba$$. they are there, they are under a different div south of the submit. it escaped my eye. sorry anthony. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py

[web2py] Re: language detecting

2015-06-12 Thread lucas
true, it is a weird request. but maybe so is the russians hacking away. thanx for the help, i'll drop a message in a few days if i see the analytics from russia go to zero, that would be nice. thanx again, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

[web2py] language detecting

2015-06-12 Thread lucas
detect the ru language and then tell web2py to drop or cancel the sending of any subsequent page or view? i guess i want web2py to act as a backup filter to iptables. ok, thank in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com

[web2py] Re: ajax need to return 4 values

2015-11-15 Thread lucas
ok, i went with qQuery.getJSON. here is how i did it and it works great. JSON trading is cool. just for sharing: under the default controller's function, i have a section where i implement the javascript/jQuery code via an onchange of a select input. the select input is meant to

[web2py] ajax need to return 4 values

2015-11-14 Thread lucas
hello one and all, how do i run an ajax function under an onchange of a select where the return 4 values will be going to 4 separate other inputs of type text, select, or textarea? thank you in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

[web2py] Re: how to SQLFORM via ajax?

2015-11-16 Thread lucas
i don't think any of those videos will answer my question. so how can i affect that args values of the LOAD from somewhere else in the page, without reloading the page, itself, and then have it only RELOAD the contents of the DIV? -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: how to SQLFORM via ajax?

2015-11-16 Thread lucas
ee how to change the args value of the LOAD function from other areas of the page. you see now i have it hardcoded at -1. so how can i affect that args value from somewhere else in the page and then have it RELOAD the contents of the DIV? thanx in advance, lucas -- Resources: - http://web2py.com

[web2py] Re: how to SQLFORM via ajax?

2015-11-16 Thread lucas
thank you anthony, that did it. it is working great. lucas -- 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

[web2py] how to SQLFORM via ajax?

2015-11-15 Thread lucas
d like it to commit the insert/edit to the database and then clear the form under the DIV, maybe leave a message of success under the response.flash or the DIV, and leave the rest of the form untouched and unrefreshed. does that make sense? thanx in advance, lucas -- Resources: - http://web2py.com

[web2py] Re: how to SQLFORM via ajax?

2015-11-15 Thread lucas
hey anthony, thanx for the rapid response. i don't quite get it. will you point in the direction so i can understand the implementation better? thank you. you know, i really love programming in web2py. i have a few years under my belt and it really is an excellent system. lucas

[web2py] blocking all access but america

2015-11-10 Thread lucas
, lucas -- 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&q

[web2py] auth_group/membership auto assign and disable sign up?

2015-11-04 Thread lucas
to create new login users. in which case, when he does, how do i direct web2py code to default the new login to assign that new member, under auth_member to the group_id of 3, which is Personnel? thank you in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (D

[web2py] Re: auth_group/membership auto assign and disable sign up?

2015-11-04 Thread lucas
oh, ok, yes, a config file, i get it. nice. i might use that new feature now. thank you for that. lucas On Wednesday, November 4, 2015 at 11:26:40 PM UTC-5, 黄祥 wrote: > > oopss, sorry, my bad. > the recent web2py version is adapted appconfig to store configuration like > (

[web2py] Re: auth_group/membership auto assign and disable sign up?

2015-11-04 Thread lucas
i don't understand the myconf.take function. can you explain that? is it new to web2py? lucas -- 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

[web2py] Re: exporting to csv

2015-11-17 Thread lucas
nice job, any idea how to make it a tab delimited file instead of comma? lucas -- 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

[web2py] jQuery.ajax

2015-12-14 Thread lucas
"GET", timeout: packetTimeout}).done().fail(...) so the ajax always fails. it is just a simple text file on a web server, you can try it, just returns a bit of text. how come ajax doesn't pull it and how can i make it pull it? thanx, lucas -- Resources: - http://web2py.com

[web2py] Re: jQuery.ajax

2015-12-14 Thread lucas
ok, i think i figured it out. i just had to go with the " /Lukacs/misc/fscj.txt <http://web.fscj.edu/Lukacs/misc/fscj.txt>" part for the url because there are some rules where there are no cross-domain references made. alright, lucas -- Resources: - http://web2py.com - http:/

Re: [web2py] Re: exporting to csv

2015-11-19 Thread lucas
yes, thank you, that works great. you know i tried to see all of that in the source code api, but i couldn't find the source code api anymore. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] Re: how come i can't INPUT append?

2015-11-21 Thread lucas
and you would delete the attribute altogether by? in_fn['_disabled'] = '' or, does that simply set the attribute to empty string? lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py

[web2py] how come i can't TD append?

2015-11-21 Thread lucas
the error comes in on the last line and is: TypeError: append() got an unexpected keyword argument '_disabled' anyway to make this happen and thank you in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[web2py] how come i can't INPUT append?

2015-11-21 Thread lucas
the error comes in on the last line and is: TypeError: append() got an unexpected keyword argument '_disabled' anyway to make this happen and thank you in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[web2py] Re: boolean DAL field giving error under 2.5.1

2016-01-18 Thread lucas
so, if you add update=False to the field definition, shouldn't the unchecked checkbox put in a value of false in the db? because i am still getting errors upon updating. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: best advice on customer/client picklist popup.

2016-01-18 Thread lucas
and help. lucas -- 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&q

[web2py] Re: best advice on customer/client picklist popup.

2016-01-17 Thread lucas
oh, i forgot to mention, that i know how to do an ajax query and pass post variable to it using web2py. i don't know the best javascript/jQuery method for creating and displaying the proper HTML code and inputs/buttons/and such, and then pass the result back to the main parent page. --

[web2py] best advice on customer/client picklist popup.

2016-01-17 Thread lucas
libraries we currently use in web2py v2.12 or v2.13 for maintenance and simplicity. so what is the best and most simple method to do this? thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] print landscape

2016-01-31 Thread lucas
is there anyway to direct the printer to print the webpage in landscape using only HTML, CSS, and/or jQuery, native to our current version of web2py v2.12 or v2.13? thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py

[web2py] input class="integer" interrupt

2016-02-11 Thread lucas
back in the original integer input that the c was typed in. make sense? thank you in advance, lucas -- 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 r

[web2py] XHR application/json scraping

2016-04-12 Thread lucas
for the replicate the environment. perhaps something with the XMLHttpRequest cross-domain thing, but this isn't a cross domain? or, HTTP Authentication, but Part 1 loads fine, but not Part 2? so some advice is appreciated. thanx in advance, lucas #part 1 #establish connection and session cookie

[web2py] Re: print landscape

2016-03-23 Thread lucas
div.rt is the rotated page when it is sent to the printer but not to the screen and div.top1 and div.top2 are two divs embedded within div.rt. very tedious to get right, but i got it to work. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py

[web2py] model define_table select

2016-03-26 Thread lucas
listed in the subsequent SQLFORM select/options to only those counties that are in the state. when i try to compile i get an error, specifically an AttributeError. any suggestions? thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

[web2py] Re: bug? menu v2.14.3

2016-04-03 Thread lucas
what could be their reason to get rid of a good function or feature? -- 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

[web2py] Re: how to find and reference field names in tables

2016-04-01 Thread lucas
ok cool, so now we know how to iterate through the fields of a table. how can we grab or get the db.py default value for each field also? thanx lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] get field default value?

2016-04-01 Thread lucas
ok cool, so now we know how to iterate through the fields of a table. how can we grab or get the db.py default value for each field also? thanx lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] Re: create single row of field names without values or None values?

2016-04-01 Thread lucas
ok, so how do i instantiate a Row() object. please include the proper import syntax. thanx lucas -- 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

[web2py] Re: create single row of field names without values or None values?

2016-04-01 Thread lucas
i think i figured it out. should be: from dal import Row ... row = Row() i know basic, but sometimes it is hard what modules to import when reading the API docs. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[web2py] Re: bug? menu v2.14.3

2016-04-01 Thread lucas
still no one to weigh in on this one? am i the only one? i feel so lonely and i am not sure what to do with myself. sorry, just kidding. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com

[web2py] Re: bug? menu v2.14.3

2016-04-01 Thread lucas
yeah probably, cuz when i upgraded an app, i usually kept the same css and js and such. so i thought i would over write them from example after i copied my old app over. not a good idea. so really, are we getting rid of more than 2 levels in the menu? or is that just temporary? lucas

[web2py] create single row of field names without values or None values?

2016-04-01 Thread lucas
, lucas -- 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&q

[web2py] advice: multiple tables on a single form

2016-03-30 Thread lucas
in advance and have a great day, lucas -- 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

[web2py] bug? menu v2.14.3

2016-03-29 Thread lucas
ably. i'm not exactly sure how those menu work, but i love when they do. so, just informing, let me know. thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Rep

[web2py] Re: advice: multiple tables on a single form

2016-03-30 Thread lucas
yes, that will work quite well. not perfectly because i do have one table that requires two parallel entries, but this certainly does give an excellent jump start. thanx anthony, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py

[web2py] Re: model define_table select

2016-03-28 Thread lucas
into the db.py module. so i changed the request.vars into session, like session.state_id = state_id, and that worked great. i am always amazed of how fast and efficiently i can get things done using web2py. it really is a wonder and wonderful. thanx massimo. lucas On Sunday, March 27, 2016

[web2py] Fields question

2016-03-28 Thread lucas
the mcp module. thanx in advance, lucas -- 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

[web2py] Re: Fields question

2016-03-28 Thread lucas
thanx anthony, you're a expert on those lambda functions. lucas -- 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

[web2py] Re: create single row of field names without values or None values?

2016-04-01 Thread lucas
"If that import fails in the web2py environment, you may have bigger problems than instantiating a Row. ;-)" what do you mean by that? lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.go

[web2py] Re: XHR application/json scraping

2016-04-14 Thread lucas
ok, so after a week of zero success trying everything i can think of, i decided to try using the requests method instead of the above urllib2 method. it worked like a charm and it was less complicated code. i replicated the above method but in requests as shown below. requests is probably

[web2py] completely remove Login item and submenu in drop down

2016-07-26 Thread lucas
. lucas -- 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&q

[web2py] Re: onvalidation error for nonSQLFORM but request.vars

2016-07-13 Thread lucas
so what do you think? couldn't code be added to allow for the search and DIV(red error box) on the final html form/DOM regardless of if the field exists in the original SQLFORM? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] jQuery(document).ready presence kills bootstrap pulldown main menu

2016-07-25 Thread lucas
in menu doesn't pull down. if i remove the jQuery(document).ready function, save the view, and refresh it, the main menu pull downs return. i don't know what to think about that at all. opinions? thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: jQuery(document).ready presence kills bootstrap pulldown main menu

2016-07-25 Thread lucas
ui.version; //console.log(sx); console.log("ok"); }); then the console show ok fine and the drop downs work fine also. so it isn't the jQuery(document).ready part, it must be in asking jQuery its versions, or so. lucas -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: jQuery(document).ready presence kills bootstrap pulldown main menu

2016-07-25 Thread lucas
will not drop down properly also. lucas -- 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] gluon.template.render

2016-08-14 Thread lucas
o the client browser. what is that web2py object called that is searchable/parsed via "elements" and such? and do i need to convert it back into pure string-based html when i do return on that function? thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.c

[web2py] Re: gluon.template.render

2016-08-14 Thread lucas
modification (which would contain the inputs and textareas for editting), OR, search and replace all the inputs and textareas with divs or so and send that as a final print preview? make sense? thanx in advance. lucas p.s. this is all somewhat related to what i was experimenting with under

[web2py] Re: TAG doubles

2016-08-14 Thread lucas
the view in such a way as to conserve the br's without adding extra end tags, but how do i render and web2pyHTMLParser without adding those extra endings? thanx lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] TAG doubles

2016-08-14 Thread lucas
doubles each by replacing it with . so no option i can think of is working properly. try it, you'll like it, just like mikey. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web

[web2py] Re: gluon.template.render

2016-08-14 Thread lucas
ok, i can write an in view function for each input/div depending on the mode of the view. i figured out the other way also. thanx anthony, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com

[web2py] Re: TAG doubles

2016-08-15 Thread lucas
ok, it is posted on github. lucas -- 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

[web2py] Re: onvalidation error for nonSQLFORM but request.vars

2016-07-15 Thread lucas
mport json if form.errors: =DIV(json.dumps(form.errors), _id="errors", _style="display:block;") pass}} to make sure the errors Storage gets sent back to the client for the above javascript code to scan and add to the form. anyway, not a big deal and works very nicely.

[web2py] Re: choosing radio and submit inputs in view

2016-07-07 Thread lucas
perfect and excellent, it works famously. lucas -- 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

[web2py] choosing radio and submit inputs in view

2016-07-07 Thread lucas
['something specific here for the radio choice']}} {{=form.custom.end}} and also, right now i am choosing submit buttons like: form.custom.submit[3] or form.custom.submit[5] is there a way to choose it more descriptively, like by button name, perhaps? thank you in advance, lucas -- Resources

[web2py] onvalidation error for nonSQLFORM but request.vars

2016-07-09 Thread lucas
boxes to show up on the web page when i add to the SQLFORM.errors? lucas -- 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

[web2py] Re: onvalidation error for nonSQLFORM but request.vars

2016-07-10 Thread lucas
return f hope that complete enough to get an idea of what i am doing. thanx anthony. we should meet sometime and have some drinks or coffee. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p

[web2py] gluon.template import render

2016-07-07 Thread lucas
s" % (sItem.number, sItem.name, sItem.description)}} {{for p in qPayments: ="%s: %0.2f" % (p.date.strftime("%m-%d), p.paid_amt) pass """ html = render(content=xyz, context=[sCustomer, sItem, qPayments]) where you can see that sCustomer and sItem are single Row() types

[web2py] auth, db access via current in module

2016-07-02 Thread lucas
i manually type it, the 30, the page loads fine. weird and i don't understand it. ok, let me know, lucas -- 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) --- Yo

[web2py] Re: auth, db access via current in module

2016-07-02 Thread lucas
i wrote a test app just to reproduce the bug and in doing that i was able to see the error of my ways. i am an id10t at times. sorry for the bother. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] Re: SQLFORM.factory edit existing record(s) in multiple tables

2017-02-24 Thread lucas
I figured, but wasn't sure. I'm doing it the old fashioned way. thanx Massimo. -- 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

[web2py] SQLFORM.factory edit existing record(s) in multiple tables

2017-02-23 Thread lucas
)) will update the proper record when it returns from being edited. or if factory doesn't inherently fill the fields if the record exists, then we have to do a whole bunch through old-fashioned code? just looking for advice, thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com

[web2py] Re: TAG doubles

2016-08-15 Thread lucas
agreed, the docs are a bit dicey and what i learned of it was from source codes docs and a bit of experimentation. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] weird results when slicing substring field

2016-11-25 Thread lucas
or ss.long_field. but with the slice version, you have to do ss.table.id and i can't figure a way to access the sliced long_field. can you rename or alias the field name with the DAL? bug maybe? lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py

[web2py] Re: rendering custom dict to xml, csv, and py

2016-11-15 Thread lucas
return stream.getvalue() i got rid of the csv option and just went with xml and python. both are working great. thanx dave, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/i

[web2py] rendering custom dict to xml, csv, and py

2016-11-13 Thread lucas
ackle the py section where pass is yet. ok, let me know, lucas -- 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 subs

[web2py] Re: rendering custom dict to xml, csv, and py

2016-11-14 Thread lucas
how about simpler? from StringIO import StringIO stream = StringIO("test for echo") stream.write("oh crap") stream.seek(0) response.headers['Content-Type'] = 'text/plain; charset=us-ascii'

[web2py] how get the set/tuple from the DAL requires of IS_IN_SET

2017-01-05 Thread lucas
thing like db.dictionary['type'].requires. thanx in advance, Lucas -- 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 b

[web2py] DAL how to select only rows of a string column of only a specified length, or minimum or maximum?

2017-01-03 Thread lucas
hey one and all, how to select only rows of a string column of only a specified length, or minimum or maximum length? thanx in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p

<    1   2   3   4   5   >