[web2py] Re: Blog Template - Github

2016-12-13 Thread Jörg Schneider
Oh! Yes, it looks like this: http://www.w3schools.com/bootstrap/bootstrap_modal.asp Thank you Dave! I think the only one who missed some impressive advantages in the evolution form HTML4 to HTML5 is me. :'-) Am Dienstag, 13. Dezember 2016 22:13:00 UTC+1 schrieb Dave S: > > > > On Tuesday, Decemb

[web2py] Re: SQLFORM grid search : Get ids of filtered records

2016-12-13 Thread Madhavi
Hi, The code I am using is as below - I have 'Approve Selected Corporates', 'Reject Selected Corporates', 'Approve All Corporates' and 'Reject All Corporates' buttons working in the selectable list. I am changing corp_approved boolean column to True or False as per the button on which user cli

[web2py] Re: web2py as Grafana endpoint

2016-12-13 Thread Dave S
On Monday, December 5, 2016 at 11:15:20 AM UTC-8, Dave S wrote: > > On Friday, December 2, 2016 at 5:53:46 PM UTC-8, Dave S wrote: >> >> >> >> On Friday, December 2, 2016 at 12:10:55 PM UTC-8, Dave S wrote: >>> >>> >>> >>> On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote:

[web2py] Re: Jquery Decision Tree

2016-12-13 Thread Ron Chatterjee
Sure the new president elect will. lol. jk:-). I am good for now but thanks for sharing Massimo. On Friday, December 9, 2016 at 11:32:22 AM UTC-5, Massimo Di Pierro wrote: > > To other web2py users. > > I would like to add that Mark Billion is a lawyer from Delaware. He is a > terrific lawyer

[web2py] Re: Problem with limitby?

2016-12-13 Thread Scott Hunter
If I make a fresh, new app from the Administrative Interface, and replace the contents of default.py with the following, it will print the first 20 records that should show up in the grid, first without using limityby (and using a counter to stop at 20), and then with limityby; the second is mi

[web2py] Re: Blog Template - Github

2016-12-13 Thread Dave S
On Tuesday, December 13, 2016 at 9:33:25 AM UTC-8, Jörg Schneider wrote: > > Hallo Andrea, > > gute Arbeit, Dein Blog. (darf ich Deutsch schreiben?) ;-) > Das ist ein von aufgepepptes Bootstrap-Theme? > > Ich würde gern mehr über den Layer-Effekt wissen, der sich hinter der > "read more" Funktio

[web2py] Re: Issues w/ Stripe?

2016-12-13 Thread Dave S
On Tuesday, December 13, 2016 at 2:50:02 AM UTC-8, Scott Hunter wrote: > > The problem was with appconfig.ini; I had moved the Stripe tokens into it, > but left them surrounded by quotes. > It sounded like a token issue; glad it was simple to fix, and that you sorted it! /dps > > On Monday

[web2py] Re: Problem with limitby?

2016-12-13 Thread Anthony
> > While including id may make a difference in general, it should (and did) > not in this case: the reason for the long belongs list is that queries are > made to insure that no 2 records with the same Dog_ID appear in that list. > Sorry, I didn't notice that the first field in your print stat

[web2py] how can rss feed break out of iFrame?

2016-12-13 Thread Alex Glaros
client uses iFrame on their site to display w2p-created meeting schedules. In w2p content is a RSS link. The goal is to allow user to click on RSS link and consume RSS feed, but the feed gets trapped within iFrame. there is no "view" for rss feed, so where to put the iFrame break-out code? Is

[web2py] Re: Problem with limitby?

2016-12-13 Thread Scott Hunter
On Tuesday, December 13, 2016 at 11:57:48 AM UTC-5, Anthony wrote: > > On Tuesday, December 13, 2016 at 3:11:42 AM UTC-5, Scott Hunter wrote: >> >> The first 20 records appear in the same order in each case (using >> DBBrowser). How does that help? >> > > The first and third SQL queries (that I

[web2py] Re: Blog Template - Github

2016-12-13 Thread Jörg Schneider
Hallo Andrea, gute Arbeit, Dein Blog. (darf ich Deutsch schreiben?) ;-) Das ist ein von aufgepepptes Bootstrap-Theme? Ich würde gern mehr über den Layer-Effekt wissen, der sich hinter der "read more" Funktion in der "about me"-Sektion verbirgt. So etwas in der Art würde ich gern auch in einem m

[web2py] Re: Problem with limitby?

2016-12-13 Thread Anthony
On Tuesday, December 13, 2016 at 3:11:42 AM UTC-5, Scott Hunter wrote: > > The first 20 records appear in the same order in each case (using > DBBrowser). How does that help? > The first and third SQL queries (that I listed, not from your original list) presumably are those from your print stat

Re: [web2py] Re: form.process().accepted: question..

2016-12-13 Thread Anthony
On Tuesday, December 13, 2016 at 7:25:58 AM UTC-5, Ramos wrote: > > I think you meant something like this > > form.vars.uuid=cal_uuid() > if form.process().accepted: > No, the presumption is that this form is editing an existing record, so just use the value from the existing record. If t

Re: [web2py] Re: form.process().accepted: question..

2016-12-13 Thread Anthony
On Tuesday, December 13, 2016 at 4:56:33 AM UTC-5, Ramos wrote: > > Antony if i remove the uuid field from the form then when i save it the > uuid field will be set to None. > Didn't say to remove it -- given your current code, you would either want to add it as a hidden field or use "readonly

{Disarmed} Re: {Disarmed} [web2py] Providing completion suggestions via AJAX for an input field in web2py

2016-12-13 Thread Carlos Cesar Caballero Díaz
Hi, https://github.com/daxslab/web2py-typeahead is a plugin that use the corejavascript/typeahead.js autocomplete library, maybe it will help you to reach your objective. Greetings. El 13/12/16 a las 07:17, Terrence Monroe escribió: In web2py it is trivial to engineer a web service that would

[web2py] wiki menu in bootstrap theme

2016-12-13 Thread briannd81
Hi, What is the best way to add the default wiki menu to a different bootstrap theme? I manually added the menu to the theme but didn't realized that the wiki sub-menu changes based on the current page. Should I modify the wiki menu to reflect the theme's html? If so, how can it be done? Than

[web2py] Issue with multi-tenant setup - invalid function error

2016-12-13 Thread Valdeck Rowe
I'm having an issue where I don't fully understand how to implement the solution given here (https://groups.google.com/d/msg/web2py/WefCd9O8tLI/io3gWEK3FgAJ) for having the multitenant domain come after the website URL. I get an invalid function error when I attempt to go to any such URL, eg:

[web2py] Re: Providing completion suggestions via AJAX for an input field in web2py

2016-12-13 Thread Marlysson Silva
Try this: http://web2py.com/books/default/chapter/29/11/jquery-and-ajax#Auto-completion Em terça-feira, 13 de dezembro de 2016 09:17:04 UTC-3, Terrence Monroe escreveu: > > In web2py it is trivial to engineer a web service that would do a partial > search across all text fields for entered char

Re: [web2py] Re: form.process().accepted: question..

2016-12-13 Thread António Ramos
I think you meant something like this form.vars.uuid=cal_uuid() if form.process().accepted: this way i can ignore uuid in the form 2016-12-13 9:55 GMT+00:00 António Ramos : > Antony if i remove the uuid field from the form then when i save it the > uuid field will be set to None. > uu

[web2py] Providing completion suggestions via AJAX for an input field in web2py

2016-12-13 Thread Terrence Monroe
In web2py it is trivial to engineer a web service that would do a partial search across all text fields for entered characters and return a JSON array of all matches. However is there some way with web2py to present these for a user to select one to complete the entry of an input field? For exa

[web2py] Using GCD Stackdriver with a Web2py project

2016-12-13 Thread Carl Hunter Roach
I'm using GCD Stackdriver successfully for an App Engine/Web2py-based app. The only files I can't set breakpoints for are my controllers because Stackdriver can't find a Python module. Would it be recommended to add an __init__.py file to the controllers directory? -- Resources: - http://web2

[web2py] Re: Issues w/ Stripe?

2016-12-13 Thread Scott Hunter
The problem was with appconfig.ini; I had moved the Stripe tokens into it, but left them surrounded by quotes. On Monday, December 12, 2016 at 9:04:24 PM UTC-5, Scott Hunter wrote: > > I have 2 appliances on a pythonanywhere web app, one a clone of the other, > both with a Stripe payment page.

[web2py] Re: check boxes with is_in_set

2016-12-13 Thread 黄祥
it's work now, even in the tuple inside the list data type, my bad to treat the list data type in an unproper manner, hehe *is_in_set list checkboxes refer to rows table database * *e.g.* def attendance_form(): target_response = "jQuery('#attendance_checkout').get(0).reload()" rows_list_employee

Re: [web2py] Re: form.process().accepted: question..

2016-12-13 Thread António Ramos
Antony if i remove the uuid field from the form then when i save it the uuid field will be set to None. uuid is a computed field.You said *presumably you have access to the original value on the server from the database record,* how Regards António 2016-12-12 20:45 GMT+00:00 Anthony : > th

[web2py] Re: Issues w/ Stripe?

2016-12-13 Thread Scott Hunter
It does not appear to have any notion of an appliance; they are just different URLs on the same domain. I didn't use the backup appliance until the real one stopped working. - Scott On Monday, December 12, 2016 at 10:49:30 PM UTC-5, Dave S wrote: > > > > On Monday, December 12, 2016 at 6:04:24

[web2py] Re: Problem with limitby?

2016-12-13 Thread Scott Hunter
The first 20 records appear in the same order in each case (using DBBrowser). How does that help? I *am* using the args (in code that appears before this), and do not use any links generated by grid. - Scott On Monday, December 12, 2016 at 11:22:53 PM UTC-5, Anthony wrote: > > Run the followi