[web2py] All SOAPed up

2013-08-21 Thread Dave S
Thanks to the web2py crew, I have a (simple) SOAP server running. The book and this group were excellent resources for getting started. I began my foray into the world of SOAP with a SUDS client to talk to an existing server (part of a physical device from Universal Devices,Inc), but in

[web2py] Re: All SOAPed up

2013-08-21 Thread Dave S
I also wanted to note that during my experiments, when restarting web2py (I shut it down the night before), I got the error message: ERROR:Rocket.Errors.Port8000:Socket 10.3.xxx.134:8000 in use by other process and it won't share. This was a bit confusing, as I couldn't see what process was

[web2py] start/stop an app

2013-08-21 Thread Dave S
Is the way to start and stop an app this? Go to the appadmin site page, and use the disable/enable toggle button? Thanks. /dps -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from

[web2py] Re: start/stop an app

2013-08-21 Thread Dave S
-7, Dave S wrote: Is the way to start and stop an app this? Go to the appadmin site page, and use the disable/enable toggle button? Thanks. /dps -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group

[web2py] Re: start/stop an app

2013-08-21 Thread Dave S
Thanks! /dps On Wednesday, August 21, 2013 1:32:50 PM UTC-7, Niphlod wrote: the disable button prevents anyone from accessing the app. On Wednesday, August 21, 2013 10:29:44 PM UTC+2, Dave S wrote: But the disable button keeps it from running when an request is made? /dps On Wednesday

[web2py] how to get auth tables created?

2013-08-21 Thread Dave S
I am tying to add authorization to a simple server I had working. In the db model, I have the line auth.define_tables(username=True) default.py has, as the docs suggest @auth.requires_login() def call(): return service() def user(): return dict(form=auth()) but the tables seem not

[web2py] Re: how to get auth tables created?

2013-08-22 Thread Dave S
: Where is the line: auth.define_tables(username=True) Can you post the content of the file that contains it? On Wednesday, 21 August 2013 15:52:45 UTC-5, Dave S wrote: I am tying to add authorization to a simple server I had working. In the db model, I have the line auth.define_tables

[web2py] Re: how to get auth tables created?

2013-08-26 Thread Dave S
, 2013 5:17:11 AM UTC-7, Massimo Di Pierro wrote: I have no idea what the problem is. The tables should be created. Perhaps the problem is something else is preventing appadmin from showing them? Feel free to send the entire app. Massimo On Thursday, 22 August 2013 17:42:43 UTC-5, Dave S wrote

[web2py] how to use last()?

2013-08-26 Thread Dave S
After reading http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#first-and-last, I was trying to use def my_ctlr: results = db().select(db.logtable.ALL, orderby=db.logtable.field1) logs = results.last().as_dict() return dict(logs = logs) with a view

[web2py] Re: how to use last()?

2013-08-26 Thread Dave S
of the values. If you change the LI line to {{=LI(logs[log])}} you'll see the field values you are expecting. Or display both the field names and the field values with {{=LI(log, : , logs[log])}} -Ricardo On Monday, August 26, 2013 7:56:13 PM UTC-5, Dave S wrote: After reading http

[web2py] Re: GoogleGroup - how do you keep track of useful code?

2013-08-28 Thread Dave S
Web2pyslices does have a variety of catagories: recipe, question, article, and package. Only the last sounds like it needs to be a complete solution or full example, although the recipe and articles are probably more useful when they don't leave too much stuff out. Also, in GG, there is a

[web2py] Basic AUTH and 303 vs 401

2013-09-03 Thread Dave S
I'm a newbie to web2py, but the book examples have gotten me a long ways, and the forum (GG) has helped, also. I have set up a pretty simple SOAP service, and have turned on Basic AUTH. I get the correct results when the client provides the correct header, so all that's good. But I'd like

Re: [web2py] Basic AUTH and 303 vs 401

2013-09-04 Thread Dave S
) return response['result'] Okay, thank you. /dps 2013/9/4 Dave S snide...@gmail.com javascript: I'm a newbie to web2py, but the book examples have gotten me a long ways, and the forum (GG) has helped, also. I have set up a pretty simple SOAP service, and have turned

Re: [web2py] github - please follow

2013-09-06 Thread Dave S
On Friday, September 6, 2013 10:50:54 AM UTC-7, Mariano Reingart wrote: I'm using hg-git extension to get the best of both worlds: http://hg-git.github.io/ It allows to work with git repos using mercurial tools. Even you can maintain a mercurial repo and a github repo easily. For

[web2py] Re: how to create rickshaw graph in the web2py

2013-09-09 Thread Dave S
On Monday, September 9, 2013 10:41:53 AM UTC-7, Dave S wrote: Just to be sure the question is understood, you're talking about using this tool in web2py? http://code.shutterstock.com/rickshaw/ On Friday, September 6, 2013 4:35:04 AM UTC-7, Pramod Jadhav wrote: h /dps

[web2py] Re: how to create rickshaw graph in the web2py

2013-09-09 Thread Dave S
Just to be sure the question is understood, you're talking about using this tool in web2py? http://code.shutterstock.com/rickshaw/ On Friday, September 6, 2013 4:35:04 AM UTC-7, Pramod Jadhav wrote: h /dps newbie with no answers -- --- You received this message because you

[web2py] Re: All SOAPed up

2013-09-12 Thread Dave S
On Wednesday, August 21, 2013 11:58:36 AM UTC-7, Dave S wrote: One thing I haven't figured out yet is if web2py has logging of its activity (startup, requests seen, etc) other than what I might record in my app's DB. Finally looked a second time at Chapter 14, and found

[web2py] Re: how can a form have a dynamic number of form fields based on dropdown list selection?

2013-09-12 Thread Dave S
On Monday, August 12, 2013 7:07:14 AM UTC-7, Michael Beller wrote: Update ... I found one problem: when I was dynamically adding form fields as html elements, I wasn't adding them as field objects to the form object on the postback so w2p didn't know about the fields for validation.

[web2py] Re: simple button in grid question

2013-09-13 Thread Dave S
On Friday, September 13, 2013 1:57:28 PM UTC-7, Alex Glaros wrote: I tried this but got lambda requires 2 args, 1 given error, plus need to be able to pass Idea.id parm to the button. How to do that? grid = SQLFORM.grid(query,links = [dict(header='Virtual Field',body=lambda id, r:

[web2py] Re: Creating Auth Groups

2013-09-13 Thread Dave S
On Sunday, August 11, 2013 4:38:00 AM UTC-7, Rob Paire wrote: Solved! Thank you for pointing me in the right direction - The problem was that I had inadvertently created a duplicate connection object in my model file. When I commented out the line db = DAL('sqlite://storage.db',

[web2py] Re: New web2py slice: jqGrid in edit mode

2013-09-17 Thread Dave S
On Monday, September 16, 2013 8:13:18 PM UTC-7, Tim Richardson wrote: I added a slice with some rough notes in using jqGrid including edit mode. http://www.web2pyslices.com/slice/show/1714/jqgrid-including-updating-data The example and the exposition both look good! Thank you. /dps --

[web2py] Re: Data of 'reference db on select

2013-09-17 Thread Dave S
On Saturday, September 14, 2013 5:54:47 AM UTC-7, Niphlod wrote: the syntax is more or less: db(filter).select(thefieldsyouneed) so, your conditions must be inside the db() and not the select() Wow! That fixed *my* code! Thanks! (I did have a workaround with db.executesql(), but it's

[web2py] Re: All SOAPed up

2013-09-17 Thread Dave S
On Thursday, September 12, 2013 6:30:01 PM UTC-7, Dave S wrote: On Wednesday, August 21, 2013 11:58:36 AM UTC-7, Dave S wrote: One thing I haven't figured out yet is if web2py has logging of its activity (startup, requests seen, etc) other than what I might record in my app's DB

[web2py] Re: Changelog for 2.6.3?

2013-09-18 Thread Dave S
On Wednesday, September 18, 2013 3:52:38 AM UTC-7, Niphlod wrote: http://web2py.com/init/default/changelog Mike might be wondering what changed between 2.6.1 and 2.6.3, which isn't yet visible at that URL. If I heard right, both .2 and .3 were small changes not related to sqlform; one of

[web2py] server logging question

2013-09-18 Thread Dave S
Silly question time: is httpserver.log compatible with logrotate? (It looks like the answer is yes when running a simple deployment using the in-package Rocket server on Fedora 16) (As of this morning, I'm using 2.5.1-stable+timestamp.2013.06.06.15.39.19 (Running on Rocket 1.2.6) but I'm

Re: [web2py] Permission check for a user in multiple groups

2013-09-20 Thread Dave S
On Thursday, September 19, 2013 6:24:36 AM UTC-7, viniciusban wrote: Speaking in RBAC terms, you should check for permissions. In your controller, something like: @auth.has_permission(can_do_it) def my_action(): # code goes from here... This is section 9.2.1 Decorators of The

Re: [web2py] Two authentication techniques in one form

2013-09-20 Thread Dave S
On Thursday, September 19, 2013 5:52:42 AM UTC-7, viniciusban wrote: Maybe manual authentication [1] helps you. [1] http://web2py.com/books/default/chapter/29/09/access-control#Manual-Authentication There's another section, 9.2.2 Combining Requirements, that talks about multiple

[web2py] Re: server logging question

2013-09-24 Thread Dave S
entries.) /dps On Wednesday, September 18, 2013 3:59:23 PM UTC-7, Massimo Di Pierro wrote: I think it is but I never tried. On Wednesday, 18 September 2013 12:58:38 UTC-5, Dave S wrote: Silly question time: is httpserver.log compatible with logrotate? (It looks like the answer is yes when

[web2py] Print-friendly css for SQLTABLE?

2013-09-25 Thread Dave S
Is there an example of setting up print-friendly CSS for a page that uses SQLTABLE? If not, suggestions as to which file (...project/static/css/web2py.css, web2py_bootstrap.css, ...) I should start in to roll my own? If in Opera 12.16 on Fedora 16, trying to print a selection area inside the

[web2py] Re: View have to be updated

2013-09-27 Thread Dave S
On Wednesday, September 25, 2013 9:44:06 PM UTC-7, Gael Princivalle wrote: I've found my mistake. View lista_articoli.html was not in the default folder. I've done that too. =8-O /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: RSS - storing news in database

2013-09-27 Thread Dave S
On Friday, September 27, 2013 10:43:27 AM UTC-7, lesssugar wrote: I'm planning to implement RSS aggregator in my app, using instruction from the book: http://web2py.com/books/default/chapter/29/10/services?search=rss#RSS The twist is to firstly store the news in my database, and display

[web2py] Re: web2py Italy

2013-09-27 Thread Dave S
On Friday, September 27, 2013 10:43:46 AM UTC-7, Massimo Di Pierro wrote: benissimo! On Friday, 27 September 2013 03:37:23 UTC-5, Gael Princivalle wrote: Hi. For web2py users that speak Italian, I've create the web2py-it group. It could be a complementary tool for the Italian web2py

Re: [web2py] Re: contributing patches

2013-09-27 Thread Dave S
Or at least listed somewhere that http://www.web2py.com/init/default/documentation can reference. /dps On Friday, September 27, 2013 11:58:40 AM UTC-7, Michele Comitini wrote: Massimo, Niphlod can we add those instructions to the book? A chapter Contributing to web2py can be helpful,

[web2py] Re: Web2py admin crashes

2013-10-03 Thread Dave S
On Thursday, October 3, 2013 8:28:52 AM UTC-7, Joe Magaro wrote: Hi, All was working well, until today I went and clicked administrative interface for my site, and it issues a ticket. Internal errorTicket issued:

[web2py] Re: Web2py admin crashes

2013-10-03 Thread Dave S
On Thursday, October 3, 2013 10:51:37 AM UTC-7, Dave S scribbled: On Thursday, October 3, 2013 8:28:52 AM UTC-7, Joe Magaro wrote: Hi, All was working well, until today I went and clicked administrative interface for my site, and it issues a ticket. Internal errorTicket issued: admin

[web2py] Re: Google charts plugin added

2013-10-04 Thread Dave S
On Thursday, October 3, 2013 4:03:09 PM UTC-7, Tim Richardson wrote: I added a google charts plugin http://www.web2pyslices.com/slice/show/1721/google-charts-plugin Thanks! /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: Web2py admin crashes

2013-10-04 Thread Dave S
On Thursday, October 3, 2013 10:51:37 AM UTC-7, Dave S wrote: On Thursday, October 3, 2013 8:28:52 AM UTC-7, Joe Magaro wrote: Hi, All was working well, until today I went and clicked administrative interface for my site, and it issues a ticket. Internal errorTicket issued: admin

[web2py] Re: Print-friendly css for SQLTABLE?

2013-10-04 Thread Dave S
On Wednesday, September 25, 2013 12:51:35 PM UTC-7, Dave S wrote: Is there an example of setting up print-friendly CSS for a page that uses SQLTABLE? If not, suggestions as to which file (...project/static/css/web2py.css, web2py_bootstrap.css, ...) I should start in to roll my own

[web2py] Re: Print-friendly css for SQLTABLE?

2013-10-04 Thread Dave S
On Friday, October 4, 2013 2:41:29 PM UTC-7, Paolo Caruccio wrote: @media print { a[href]:after { content:; } } The above code should hide all the links within anchor tags in the printed page. Please put the rule at the bottom of your custom css file or wrap it in a

[web2py] Re: Web2py admin crashes

2013-10-07 Thread Dave S
On Friday, 4 October 2013 14:57:32 UTC-5, Dave S wrote: On Thursday, October 3, 2013 10:51:37 AM UTC-7, Dave S wrote: On Thursday, October 3, 2013 8:28:52 AM UTC-7, Joe Magaro wrote: Hi, All was working well, until today I went and clicked administrative interface for my site

[web2py] Re: what is web2py ??

2013-10-07 Thread Dave S
On Sunday, October 6, 2013 5:41:37 AM UTC-7, Tim Richardson wrote: On Sunday, 6 October 2013 15:35:33 UTC+11, Massimo Di Pierro wrote: Saying you want to use cgi with Python is a little like saying you want to use a bicycle with a jet engine. Actually, that sounds like fun.

[web2py] Re: How to create Testimonials page using web2py?

2013-10-07 Thread Dave S
On Monday, October 7, 2013 1:26:56 PM UTC-7, Massimo Di Pierro wrote: What's a testimonial page? On Monday, 7 October 2013 10:58:06 UTC-5, Jayakumar Bellie wrote: Hi, Have anyone created a testimonial page using web2py? My first thought is a page that visitors could use to post

[web2py] Re: How to create Testimonials page using web2py?

2013-10-07 Thread Dave S
On Monday, October 7, 2013 3:06:27 PM UTC-7, Dave S wrote: On Monday, October 7, 2013 1:26:56 PM UTC-7, Massimo Di Pierro wrote: What's a testimonial page? On Monday, 7 October 2013 10:58:06 UTC-5, Jayakumar Bellie wrote: Hi, Have anyone created a testimonial page using web2py? My

[web2py] Blank screen from app/admin/edit button

2013-10-07 Thread Dave S
When using the app's admin page, the button to view default.py works nicely, but the edit button gives a blank page, except for the secondary navigation bar (Files Toggle, - | A | +, back | online designer | docs | settingsicon) and a slide-out panel for the file list. I can turn off the file

[web2py] Re: Blank screen from app/admin/edit button

2013-10-07 Thread Dave S
On Monday, October 7, 2013 5:01:30 PM UTC-7, Dave S wrote: When using the app's admin page, the button to view default.py works nicely, but the edit button gives a blank page, except for the secondary navigation bar (Files Toggle, - | A | +, back | online designer | docs | settingsicon

[web2py] DAL query for this SQL

2013-10-07 Thread Dave S
I have figured out that I'm interested in queries like results = db.executesql(SELECT * FROM logtable where logtime date('now','-1 day') AND logtime date('now','-2 days') ORDER BY logtime DESC) ; How would I rewrite that as DAL query? Thanks. /dps -- Resources: - http://web2py.com

[web2py] Re: DAL query for this SQL

2013-10-07 Thread Dave S
On Monday, October 7, 2013 6:44:44 PM UTC-7, Dave S wrote: I have figured out that I'm interested in queries like results = db.executesql(SELECT * FROM logtable where logtime date('now','-1 day') AND logtime date('now','-2 days') ORDER BY logtime DESC) ; How would I rewrite

[web2py] Re: DAL query for this SQL

2013-10-07 Thread Dave S
On Monday, October 7, 2013 7:53:35 PM UTC-7, Anthony wrote: And if I were to stick with the executesql() phrase, how would I get colnames so I could plug this into an SQLTABLE? Check out http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#executesql -- if

[web2py] Re: DAL query for this SQL

2013-10-08 Thread Dave S
( (db.logtable.logtime now_1) (db.logtable.logtime now_2) ).select(orderby=~db.logtable.logtime) I should be able to learn a little more from this example :-D /dps On Tuesday, October 8, 2013 3:44:44 AM UTC+2, Dave S wrote: I have figured out that I'm interested in queries like

[web2py] Re: Blank screen from app/admin/edit button

2013-10-08 Thread Dave S
know what they are doing (and usually, what we are doing, too). /dps On Tuesday, October 8, 2013 2:06:23 AM UTC+2, Dave S wrote: On Monday, October 7, 2013 5:01:30 PM UTC-7, Dave S wrote: When using the app's admin page, the button to view default.py works nicely, but the edit button

[web2py] Re: compact grid howto

2013-10-09 Thread Dave S
On Wednesday, October 9, 2013 5:51:11 AM UTC-7, Cliff Kachinske wrote: SQLFORM.grid for laptops. Less white space, more data. Screen shot at end of post. How are you detecting a laptop? Are you basing this on the user agent screen size? /dps in modules, create ui_def.py as follows:

[web2py] Re: Blank screen from app/admin/edit button

2013-10-09 Thread Dave S
On Tuesday, October 8, 2013 11:23:31 AM UTC-7, Niphlod wrote: On Tuesday, October 8, 2013 7:36:45 PM UTC+2, Dave S wrote: On Monday, October 7, 2013 11:45:14 PM UTC-7, Niphlod wrote: I think you just need to ctrl+f5 reloading the cache of the browser. If anyone isn't able to edit files

[web2py] Re: Blank screen from app/admin/edit button

2013-10-09 Thread Dave S
.fc16.i686.PAE Those are the two browsers local to the server; I may try remote access later. /dps On Wednesday, October 9, 2013 10:20:49 PM UTC+2, Dave S wrote: On Tuesday, October 8, 2013 11:23:31 AM UTC-7, Niphlod wrote: On Tuesday, October 8, 2013 7:36:45 PM UTC+2, Dave S wrote

[web2py] Re: compact grid howto

2013-10-09 Thread Dave S
On Wednesday, October 9, 2013 1:21:09 PM UTC-7, Cliff Kachinske wrote: Dave S Not at all. I'm ignoring handhelds right now and assuming desktop users will also appreciate the extra space. Okay. /dps On Wednesday, October 9, 2013 4:05:32 PM UTC-4, Dave S wrote: On Wednesday, October

[web2py] Re: Blank screen from app/admin/edit button

2013-10-11 Thread Dave S
On Thursday, October 10, 2013 12:49:10 PM UTC-7, Paolo Caruccio wrote: Maybe the issue is due to bad ajax caching in opera. @Dave S Please replace the function load_file(url) in admin/static/js/ajax_editors_js file with: Short answer: I still got a blank page within the nav-bar

[web2py] Re: Mini crawler/indexer for your pages (not web2py)

2013-10-11 Thread Dave S
On Thursday, October 10, 2013 7:13:27 PM UTC-7, Massimo Di Pierro wrote: I wrote this today. Perhaps it can be used to some of you: https://gist.github.com/mdipierro/6624cb39851ca750bb2b Nice! Thank you! /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Blank screen from app/admin/edit button

2013-10-11 Thread Dave S
On Friday, October 11, 2013 12:02:55 PM UTC-7, Paolo Caruccio wrote: Thank you Dave S for testing my code. I reproduced the issue in my enviroment: windows8 and opera 12.16. Then I searched for a solution and the issue is gone away by applying the posted code. In summary I have only added

[web2py] Re: windows script to run locally

2013-10-11 Thread Dave S
On Friday, October 11, 2013 7:18:04 AM UTC-7, Carlos Cesar Caballero Díaz wrote: Hi, sometimes I need to deploy aplications to run locally and I write this bash script for linux PCs that help to run a web2py application like a desktop one, starting the web2py app in a browser, and killing

Re: [web2py] Re: Google Chrome and the editor

2013-10-14 Thread Dave S
On Sunday, October 13, 2013 4:49:14 AM UTC-7, mweissen wrote: ok - that works! 2013/10/13 LightOfMooN vlads...@yandex.ru javascript: Try to Ctrl+F5 :-) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: updating web2py app code

2013-10-16 Thread Dave S
On Wednesday, October 16, 2013 8:59:18 AM UTC-7, 黄祥 wrote: imho, you should use version control (git, subversion, mercurial, etc) to take control for your code . and for change a running system, imho, u should upgrade to the latest version (for bug fixing purpose, security hole, etc),

[web2py] Re: updating web2py app code

2013-10-16 Thread Dave S
On Wednesday, October 16, 2013 6:19:35 AM UTC-7, BlueShadow wrote: Since my original app was build with web2py 1.8.something. without any version control or anything like that I was wondering if there is a good tutorial how to set an app up with all the current features. Or if you think

[web2py] Re: updating web2py app code

2013-10-16 Thread Dave S
On Wednesday, October 16, 2013 2:10:58 PM UTC-7, Dave S wrote: On Wednesday, October 16, 2013 8:59:18 AM UTC-7, 黄祥 wrote: imho, you should use version control (git, subversion, mercurial, etc) to take control for your code . and for change a running system, imho, u should upgrade

Re: [web2py] changing client side caching headers expires or cache-control value

2013-10-16 Thread Dave S
On Wednesday, October 16, 2013 11:06:23 AM UTC-7, molhokwai wrote: Well... It doesn't seem to work on local dev_appserver, but it actually works, when deployed on appspot.com... So, anyway, problem solved... Different IP or domain name? If your browser's cache wasn't cleared, the old

[web2py] Re: Simple routes.py and no access to Admin

2013-10-18 Thread Dave S
On Friday, October 18, 2013 4:45:16 AM UTC-7, lesssugar wrote: OK, adding routes.py to my app was just a coincidence. I renamed routes file, reloaded web2py and the problem with Admin persists. What version of web2py? Is this an upgrade? The admin-ticket issue sounds like an upgrade from

Re: [web2py] Re: Calling a function while adding an entry to auth_user table

2013-10-18 Thread Dave S
On Friday, October 18, 2013 7:50:43 AM UTC-7, ranjith wrote: Thanks. But those callbacks are for insertion and deletion of records in a table. I want a *callback for the creation of a table.* How often is a table created? Your original message in this thread referred to the auth table,

[web2py] Re: Mercurial creating new apps?

2013-10-21 Thread Dave S
On Monday, October 21, 2013 12:15:05 PM UTC-7, User wrote: I have cloned the web2py mercurial repository and hg updated to R-2.7.4. I'm using TortoiseHg on windows. Now when I want to create a new application based on the welcome app how should I go about doing this? what is the normal

[web2py] Re: smartgrid linked list custom buttons

2013-10-21 Thread Dave S
On Monday, October 21, 2013 2:24:02 PM UTC-7, James Burke wrote: Hi, I'd like to have my links to child tables in the smartgrid displayed as buttons (like view/edit/delete) rather than links. I'd also like to add icons. Is there an specific way to do this, or do I need to create them

[web2py] Re: Mercurial creating new apps?

2013-10-21 Thread Dave S
for Windows installers for 2.7.2, but I haven't tried them. It is, of course, a bit of pain for the THG you already have not to be recognized. There might be some path settings involved, since THG does make the command line tools available. /dps On Monday, October 21, 2013 5:56:28 PM UTC-4, Dave S

[web2py] Re: smartgrid linked list custom buttons

2013-10-21 Thread Dave S
On Monday, October 21, 2013 3:44:16 PM UTC-7, James Burke wrote: Thanks Dave. Unfortunately they didn't use the term 'buttonification' in their thread. =) Perhaps not, but a GG search for CSS button turned up these 3 threads which might be relevant:

[web2py] Re: new feature in trunk

2013-10-22 Thread Dave S
On Monday, October 21, 2013 10:56:52 PM UTC-7, webpypy wrote: very nice what about the display of the tree in the view ? maybe as a column in a table. I would think that nested ul's would also be a natural choice. /dps -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: new feature in trunk

2013-10-22 Thread Dave S
On Tuesday, October 22, 2013 10:41:43 AM UTC-7, Dave S wrote: On Monday, October 21, 2013 10:56:52 PM UTC-7, webpypy wrote: very nice what about the display of the tree in the view ? maybe as a column in a table. I would think that nested ul's would also be a natural choice

[web2py] Re: Web2py admin crashes

2013-10-22 Thread Dave S
On Tuesday, October 22, 2013 6:55:37 PM UTC-7, Joe Magaro wrote: Hi Dave, Im not sure what source zip to download? Can you provide some more info? [...] Basically, the update button is still having problems updating the gluon files. (This is mentioned in the followups in the 2.6.1

[web2py] Re: SQLForm issue with $(#dialog-form).load

2013-10-24 Thread Dave S
On Tuesday, October 22, 2013 2:21:27 PM UTC-7, Sebastian Bonta wrote: Hi all, I'm having a issue with tha javascirpt load function. I'm able to see the form but when I submit the changes they are not reflected in the database. could you please help me to understand what am I doing wrong?

Re: [web2py] Best way to learn web2py

2013-10-24 Thread Dave S
On Thursday, October 24, 2013 10:53:54 AM UTC-7, Derek wrote: Well, I don't particularly like that website. It's cluttered, disjointed. I think pointing people to the Web2Py Book (aka Documentation) is the way to go. Well, it helps that the Web2Py book is quite thorough and well

[web2py] Re: display results from DB using the selected option by pulling

2013-10-24 Thread Dave S
On Thursday, October 24, 2013 12:30:00 PM UTC-7, Vj wrote: All, I am trying to have a select (multi select drop down) option in the home page and display the results on the home page itself(below the select box). I am able to pull the data from the Table 1 and display in the select box.

Re: [web2py] Best way to learn web2py

2013-10-25 Thread Dave S
and php), and simple use of DBs, I disagree. I read the online book. I worked through the examples in the overview. And I still have questions. The book is excellent. It is not enough by itself. /dps On Thursday, October 24, 2013 12:32:05 PM UTC-7, Dave S wrote: On Thursday, October 24

Re: [web2py] Best way to learn web2py

2013-10-25 Thread Dave S
On Friday, October 25, 2013 2:16:24 PM UTC-7, Dave S wrote: On Friday, October 25, 2013 1:51:09 PM UTC-7, Derek wrote: I don't think anything is missing. People just want to get their toes wet when creating websites, and prefer instant gratification to reading the documentation. Nothing

Re: [web2py] Best way to learn web2py

2013-10-28 Thread Dave S
for contributing one of my own. But impressing the visitors with how much there is to support their choice of Web2Py isn't a bad thing, either. /dps On Friday, 25 October 2013 16:19:56 UTC-5, Dave S wrote: On Friday, October 25, 2013 2:16:24 PM UTC-7, Dave S wrote: On Friday, October 25

Re: [web2py] Any good tutorials on how to implement auth_group, auth_membership auth_permissions?

2013-10-30 Thread Dave S
On Wednesday, October 30, 2013 6:48:51 AM UTC-7, Richard wrote: If you have two diffrents companie you may consider multi-tenant site. What's your recommended readling list for this? /dps Richard On Wed, Oct 30, 2013 at 9:47 AM, Richard Vézina ml.richa...@gmail.comjavascript:

[web2py] Re: web2py resources

2013-10-30 Thread Dave S
On Tuesday, October 29, 2013 6:35:27 AM UTC-7, Andreas Wienes wrote: This could help for the very first orientation http://learn-web2py.com/. I like it! You might want to take a look at http://mercurial.selenic.com/wiki/BeginnersGuides to choose a tutorial for Hg. I believe the red-bean book

[web2py] Re: Best way to learn web2py

2013-10-30 Thread Dave S
On Monday, October 28, 2013 2:11:05 PM UTC-7, Andreas Wienes wrote: I published http://learn-web2py.com a few minutes ago. It's far away from being perfect, but it's an first attempt. I'm neither an expert in web2py nor a native speaker. So all your feedback is appreciated! It's a nice,

[web2py] Re: Alterar o rótulo de botões sqlform.grid (adicionar, excluir, etc)

2013-11-04 Thread Dave S
On Friday, November 1, 2013 1:01:04 PM UTC-7, Carlynhos77 wrote: Olá, bom dia ... Gostaria de saber como alterar o rótulo de botões sqlform.grid (adicionar, excluir, etc) ... como acessar o ID ou classe de cada objeto, uma vez que tudo é automático criado para nós ... obrigado! Have you

[web2py] Re: Alterar o rótulo de botões sqlform.grid (adicionar, excluir, etc)

2013-11-04 Thread Dave S
Or perhaps https://groups.google.com/d/msg/web2py/fJVlnDYP1xE/W1nXRLJiMKgJ /dps On Monday, November 4, 2013 11:30:45 AM UTC-8, Dave S wrote: On Friday, November 1, 2013 1:01:04 PM UTC-7, Carlynhos77 wrote: Olá, bom dia ... Gostaria de saber como alterar o rótulo de botões sqlform.grid

Re: [web2py] restfull need to api/id/1 or /api/1

2013-11-04 Thread Dave S
Is Ramos using routes.py? I think your answer applies to that, doesn't it? In the absence of routes.py, then the full app/controller/function path is needed (says the relative newcomer). /dps AIUI, not bothering with routes.py yet On Friday, November 1, 2013 3:54:23 PM UTC-7, Ricardo

[web2py] Re: Problem getting auth.wiki('slug', env=dict(mytest=...)) to work in a view?

2013-11-08 Thread Dave S
On Friday, November 8, 2013 7:43:19 AM UTC-8, Chuck Paulson wrote: After further experimentation, it seems the default is for the wiki page to get processed once when you submit it after editing. Further auth.wiki calls on that slug just retrieve the computed html, they do not do

[web2py] Re: How to view the referenced table field name and not their id

2013-11-15 Thread Dave S
The short way of saying this is one person can have many dogs. I skimmed back through the book, and the example in 7.2.6 is closest, but it isn't adding a dog, just listing a dog already known, so there is just one owner to find (it's given as a link).

[web2py] Re: Value is not updated in db on submitting form from grid

2013-11-19 Thread Dave S
On Friday, November 15, 2013 10:51:24 PM UTC-8, 黄祥 wrote: Can I make them unique, that's what I was trying to do with my code. for make a field unique, please add unique = True on field constructor and put IS_NOT_IN_DB validator for that field. I think Sarbjit was saying that his

[web2py] Re: Can't get to admin UI on Rocket, local machine

2013-11-19 Thread Dave S
On Saturday, November 16, 2013 1:19:25 PM UTC-8, Lewis wrote: OK, web2py is back in business. At this point all of the problems are with one app that I copied from my web deployment (for some reason I lost the local version that synced properly with git when I transitioned from windows

[web2py] Re: Web2py admin crashes

2013-11-19 Thread Dave S
, since their directory structure won't be in the zip file ;-) On Tuesday, October 22, 2013 11:00:53 PM UTC-4, Dave S wrote: On Tuesday, October 22, 2013 6:55:37 PM UTC-7, Joe Magaro wrote: Hi Dave, Im not sure what source zip to download? Can you provide some more info

[web2py] Re: web2py 2.6.1 is OUT - IMPORTANT READ

2013-11-20 Thread Dave S
On Wednesday, November 20, 2013 1:33:38 AM UTC-8, Krishna Bavandlapally wrote: I have updated web2py today, Every thing is fine except I am unable to open admin interface, not able to see the ticket also. In local machine its working fine. Regards, Krishna If you took care of the

[web2py] Re: Admin crashing - ticket generated but can't see it

2013-11-20 Thread Dave S
On Wednesday, November 20, 2013 7:29:46 AM UTC-8, Jim S wrote: Cleared my browser cache and now it works... -Jim BTDT (had to be led by the hand to get out of the maze). Glad you figured it out. /dps On Wednesday, November 20, 2013 8:44:44 AM UTC-6, Jim S wrote: Just updated to

[web2py] Re: version 2.7.4 (windows) cannot edit files in the Browser

2013-11-21 Thread Dave S
On Thursday, November 21, 2013 5:39:26 PM UTC-8, Dreamer wrote: Hi all, I just updated Web2py from 2.4 to 2.7.4 ; However i cannot edit any file (web2py file) in the browser...any reason why that might be happening the rest all works jus fine...i am using google chrome as my default

[web2py] Re: AppAdmin: CSV import bug

2013-11-22 Thread Dave S
On Friday, November 22, 2013 2:49:37 AM UTC-8, Andy W wrote: Just come across the same problem - using ver 2.7.4 with pythonanywhere.comhttp://www.google.com/url?q=http%3A%2F%2Fpythonanywhere.comsa=Dsntz=1usg=AFQjCNE87nZNBtnO7Cp-WuDu5NNkjqvjrA The issue seems to be with the csv files

[web2py] Re: now.weekday() as string

2013-11-22 Thread Dave S
On Friday, November 22, 2013 3:52:16 AM UTC-8, Niphlod wrote: http://docs.python.org/2/library/datetime.htmlhttp://www.google.com/url?q=http%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fdatetime.htmlsa=Dsntz=1usg=AFQjCNEXPMvuc67QJpilf3nhQJMY2ERscw On Friday, November 22, 2013 12:02:11 PM UTC+1,

[web2py] Re: Saving incomplete form with required fields (to prevent dynamically added form inputs from disappear

2013-11-25 Thread Dave S
On Saturday, November 23, 2013 11:44:05 PM UTC-8, Mark Li wrote: I think I've found an optimal solution for this. Since the validators for my table are only enforced at the form-level, I first insert a blank playlists record, and then use a SQLFORM or CRUD to update the newly inserted

Re: [web2py] web2py routes.py

2013-11-26 Thread Dave S
On Tuesday, November 26, 2013 8:51:45 AM UTC-8, Gael Princivalle wrote: It's really strange. I've try this example from the manual: routes_in = ( ('/testme', '/examples/default/index'), ) routes_out = ( ('/examples/default/index', '/testme'), ) On the first time I load

[web2py] Re: Formatting the Time Field

2013-11-26 Thread Dave S
On Tuesday, November 26, 2013 4:16:49 PM UTC-8, Jesse Ferguson wrote: Having a hard time figuring out this one and after googling my eyeballs off Im here to beg for someone to throw me a bone, here is my code: MODEL: db.define_table('timecard_entry', Field('timecard',

Re: [web2py] web2py routes.py

2013-11-27 Thread Dave S
. Thanks for your help. You're also ahead of me in actually having tried routes.py, but perhaps one of the People In The Know will follow up. /dps Il giorno martedì 26 novembre 2013 21:07:47 UTC+1, Dave S ha scritto: On Tuesday, November 26, 2013 8:51:45 AM UTC-8, Gael Princivalle

[web2py] Re: Formatting the Time Field

2013-11-27 Thread Dave S
On Wednesday, November 27, 2013 11:05:18 AM UTC-8, Jesse Ferguson wrote: OK I figured it out! {{include 'web2py_ajax.html'}} script jQuery.timeEntry.setDefaults({show24Hours: false, showSeconds: false, timeSteps:[1,30,1]}); /script Glad to hear that you've got things working!

[web2py] Re: admin interface wrong on 2.8.2

2013-12-02 Thread Dave S
On Monday, December 2, 2013 7:10:10 PM UTC-8, lucas wrote: hey everyone, got web2py 2.8.2 working on apache and centos. fixed under https://groups.google.com/forum/#!topic/web2py/DexgEESPk38 however, i mentioned that admin interface is all messed up. my admin interface is not right

  1   2   3   4   5   6   7   8   9   10   >