[web2py] Plus Sign in URL Args

2014-03-14 Thread EW
Hi, I'm having trouble with a url containing a plus sign in the args. When I go to that url, the plus sign has been converted to an underscore. Even printing raw_args in the controller shows the underscore. When I hover over the link to the url in question, the + has been replaced with %2B

[web2py] Javascript/Jquery after Form Validation?

2014-02-24 Thread EW
I have a web2py form (sqlform.factory to be specific). After all the fields have been validated, I would like to call a javascript function using the form values as arguments. How can I do this? When I have a jquery event handler for the form submit, it gets called anytime the submit button

[web2py] Re: How to multi-line session.flash

2014-02-19 Thread EW
Rather than putting \n put br On Thursday, January 24, 2013 1:51:23 AM UTC-8, Yebach wrote: I send string to flash from my model on auth.messages.registration_pending. Since it is quite long i want to make it multiline. \n in my string do not work how to handle that? thank you

[web2py] Button in Component Stealing Focus?

2014-01-21 Thread EW
I have a load component with a button in it that seems to automatically have the focus such that if I go to my URL and press the enter key, that is the button that is triggered. But, I also have a textbox and a button outside the component. I would like it so that when you type something in

[web2py] Re: Temporarily Poll View

2014-01-07 Thread EW
Answered in https://groups.google.com/forum/#!msg/web2py/4G8TBqqy33c/QqMMS31DSFMJ On Thursday, January 2, 2014 11:49:14 AM UTC-8, EW wrote: Thanks, but I don't understand..how would I know when the insert (scheduler task) has completed? On Thursday, January 2, 2014 11:14:00 AM UTC-8

[web2py] Waiting for Scheduler Task to Complete is Blocking Work?

2014-01-03 Thread EW
I'm having trouble figuring out how to determine when a scheduler task is done. My code/scheduler task work is working. But when I added this loop, it does not--when I go into the admin interface and look at the scheduler_task table, the task is not in the table at all. The printouts show

[web2py] Re: Waiting for Scheduler Task to Complete is Blocking Work?

2014-01-03 Thread EW
UTC-5, EW wrote: I'm having trouble figuring out how to determine when a scheduler task is done. My code/scheduler task work is working. But when I added this loop, it does not--when I go into the admin interface and look at the scheduler_task table, the task is not in the table at all

[web2py] Re: Temporarily Poll View

2014-01-02 Thread EW
Anybody have any suggestions? -- 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] Re: Temporarily Poll View

2014-01-02 Thread EW
, December 20, 2013 1:24:00 PM UTC-5, EW wrote: I have a load component with a grid in it and a user-triggered action that could insert/update the database table that my grid's based on. Depending on many factors, the database insert could take a long time, say 45s+. I would like

[web2py] Can't Start Scheduler Worker

2013-12-20 Thread EW
I've never used a scheduler before and am having trouble starting up. When I try to start the workers (tried from command line and from gui), I get this error message: starting browser... starting scheduler from widget for namebrowser...

[web2py] Re: Can't Start Scheduler Worker

2013-12-20 Thread EW
Never mind...command line works -- 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] Temporarily Poll View

2013-12-20 Thread EW
I have a load component with a grid in it and a user-triggered action that could insert/update the database table that my grid's based on. Depending on many factors, the database insert could take a long time, say 45s+. I would like to update the view to show the updating grid while the

[web2py] Reset Form with Errors

2013-12-06 Thread EW
I have an SQLFORM.factory and I would like to have a form clear/reset button that wipes out the form but I cannot get some of the functionality I need. The form is mostly simple text fields with IS_NOT_EMPTY validators; if I submit a partially complete form, the little red error messages pop

[web2py] Re: Reset Form with Errors

2013-12-06 Thread EW
thanks! that works! On Friday, December 6, 2013 11:48:50 AM UTC-8, Niphlod wrote: button with type=reset are old school : they don't take into consideration that the page can be built (as web2py does) with additional elements explaining the user what the error is BTW: why don't you

[web2py] Re: one to many tables in views

2013-12-03 Thread EW
The logic you have currently loops through and creates rows for all tcinputs for each timecard and that is why they are all the same. I can think of 2 solutions: 1) Keep your queries the same but add an if statement to determine which of the tcinputs apply: {{for timecard_entry in

[web2py] Re: Checkbox Value of Grid with Join Query

2013-11-25 Thread EW
No, the issue is not in the query because the grid is being populated with the rows that I would expect. Also, I am using double equal signs when I build the query, but when I print it it shows only single '=', I assume because it has already been converted to regular SQL syntax. Any other

[web2py] Re: Checkbox Value of Grid with Join Query

2013-11-25 Thread EW
This is causing a big work stoppage for me. If I cannot find the solution, I will have to redesign my database tables. Currently I have: json_dir: - build - program - directory block_info: - block_name - filename - json_dir_id And given a build and program (or

[web2py] Re: Checkbox Value of Grid with Join Query

2013-11-25 Thread EW
Didn't want to change the database structure as it would have been just wayy too much repetitive data. I did find a solution to my problem: First find the json_dir_ids that I want and make the grid's query be that, then use the grid's left join parameter. For instance, referring to my

[web2py] Checkbox Value of Grid with Join Query

2013-11-22 Thread EW
Is there a way I can control the values assigned to the checkboxes in my SQL grid (selectable=True)? My queries end up to be something like this: (((block_info.json_dir_id = json_dir.id) AND (json_dir.build = 'unknown'))AND (json_dir.program = 'test')) and my issue is that the

[web2py] CSS Fluid Layout for Window Resize

2013-11-12 Thread EW
I would like to have my layout (divs) resize if the user resizes the web browser. I already switched the CSS of my divs to percentages, but it's not working. It seems to me that I need to change some part of the default layout but I'm lost as to what that is (couldn't find anything that

[web2py] Re: CSS Fluid Layout for Window Resize

2013-11-12 Thread EW
perfect, thanks! On Tuesday, November 12, 2013 1:26:50 PM UTC-8, Niphlod wrote: the scaffolding application (welcome) comes with bootstrap. As a default, it uses the default grid system. If you want to use bootstrap's fluid grid system change all div class=row to div