[web2py] The Winners! Web2py Application Exhibition Version 3.0

2012-03-07 Thread NetAdmin
1st Place Prize $100 Brian Cottingham from the U.S. was the First Place Winner. His entry of MobleBlur is a mobile-friendly interface to the Newsblur RSS reading website. A working demo can be viewed at http://mobileblur.spiffyte.ch https://github.com/spiffytech/MobileBlur/tarball/master

[web2py] Winners! Web2py Application Exhibition Version 3.0

2012-03-06 Thread NetAdmin
The winners of the Web2py Application Exhibition Version 3.0 have been contacted, and I'll announce the winners very soon! Thanks to all who participated! Mr.NetAdmin

[web2py] Last Day for Submissions! -- Web2py Application Exhibition Version 3.0

2012-02-14 Thread NetAdmin
Hello All, February 15 is the last day for submissions for the Web2py Application Exhibition Version 3.0 so don't delay! For more details, see the pinned message at the top of the news-group. Mr.NetAdmin Mr.NetAdmin@gmail

[web2py] 1 Week Left! Web2py Application Exhibition

2012-02-07 Thread NetAdmin
There is only ONE week left for submissions. If you plan to submit an application for the Web2py Application Exhibition, please send me an e-mail indicating your interest so I can have an idea of how many submissions to expect. Thanks! Mr.NetAdmn

[web2py] Only 2 Weeks Left! -- Web2py Application Exhibition Version 3.0

2012-02-02 Thread NetAdmin
There are 2 weeks left for submissions for the Web2py Application Exhibition Version 3.0 For more information, see the pinned message at the top of this group. ( http://groups.google.com/group/web2py/t/466b21110dbd2d32 ) Good Luck! mr.netad...@gmail.com

[web2py] Reminder : Web2py Application Exhibition Version 3.0

2012-01-10 Thread NetAdmin
Just a reminder : See the pinned message at the top of the web2py- users list for more details. Mr.NetAdmin

[web2py] Web2py Application Exhibition Version 3.0

2011-12-26 Thread NetAdmin
Do you have a Web2py app that you'd like to show the world? If so, you may be interested in the Web2py Application Exhibition. The Web2py Application Exhibition is a way to... 1. Demonstrate what can be done with Web2py. 2. Share and learn about useful web2py, python, Javascript, jQuery etc.

[web2py] Web2py Application Exhibition Version 3.0

2011-12-01 Thread NetAdmin
Web2py Application Exhibition Version 3.0 Do you have a Web2py app that you'd like to show the world? If so, you may be interested in the Web2py Application Exhibition. Watch this list for more details! ( Soon ) Mr.NetAdmin

[web2py] Re: What if Massimo got hit by a Bus?

2011-05-26 Thread NetAdmin
Massimo is safe... I'm sure he's done the following... From SuperPowers import Invulnerability, BusRadar, BackUpLife On May 26, 9:15 am, Bob Blanchett bob.blanch...@gmail.com wrote: I just read this presentation by by

[web2py] Oracle Offers to Buy Web2py! ! !

2011-04-01 Thread NetAdmin
In an unusual move, Oracle offers to buy Web2py. Ha Ha! April Fool Mr.Netadmin

[web2py] Re: logging time spent in sql statements ?

2011-02-21 Thread NetAdmin
Maybe you could use a trigger on update, insert or delete, but I'm not sure how to do it for a simple select statment. On Feb 21, 4:26 pm, Stef Mientki stef.mien...@gmail.com wrote: hello, is there a way to log the time-duration of all sql statements ? thanks, Stef Mientki

[web2py] Re: logging time spent in sql statements ?

2011-02-21 Thread NetAdmin
You could even do something like this... def makesome(): from gluon.contrib.populate import populate import datetime tstart = datetime.datetime.now().second # insert 2500 random records # YOU MAY WANT TO DO THIS ON A TEST TABLE populate(db.yourtable, 2500) tend =

[web2py] Re: social network idea

2011-01-17 Thread NetAdmin
On Jan 17, 1:43 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Most social network assue you know who your friends are and allow you to share info with your friends. How about the opposite? Something like a bookmarking app that tells me who my friends should be based on physical

[web2py] Web2py Application Exhibition 2.0 Winning Entries

2011-01-01 Thread NetAdmin
The votes are in for the Web2py Application Exhibition Version 2.0 and the winners are... 1st Place $100 -- PowerTable Plugin by Bruno Rocha 2nd Place $50 -- pyMantis Data-management System by Falko Krause For more information and to see other entries, go to

[web2py] Web2py Application Exhibition ( Final Day! )

2010-12-15 Thread NetAdmin
Hello All, THIS IS THE FINAL DAY! The deadline for submissions for the Web2py Application Exhibition is December 15th 2010 You can start submitting and voting for the entries for the Web2py Application Exhibition Version 2.0 To get started, go to the following link...

[web2py] Web2py Application Exhibition ( 2 days left! )

2010-12-13 Thread NetAdmin
Hello All, We're in the home stretch! The deadline for submissions for the Web2py Application Exhibition is December 15th 2010 You can start submitting and voting for the entries for the Web2py Application Exhibition Version 2.0 To get started, go to the following link...

[web2py] Web2py Application Exhibition and Samsung Galaxy Tab p1000

2010-12-10 Thread NetAdmin
Hello All, *IF* I were eligible to win the Web2py Application Exhibition, I'd totally use the winnings as a down-payment on a Samsung Galaxy Tab! The deadline for submissions for the Web2py Application Exhibition is December 15th 2010 You can start submitting and voting for the entries for

[web2py] Web2py Application Exhibition Deadline

2010-12-09 Thread NetAdmin
Hello All, The deadline for submissions for the Web2py Application Exhibition is December 15th 2010 You can start submitting and voting for the entries for the Web2py Application Exhibition Version 2.0 To get started, go to the following link... http://w2pexhibition.appspot.com/ There

[web2py] Don't miss the December 15th deadline!

2010-11-27 Thread NetAdmin
December 15th is the last day you can submit your apps for the Web2py Application Exhibition Version 2.0 See the pinned message at the top for more details. Good Luck! Mr.NetAdmin

[web2py] Web2py Application Exhibition ( Version 2.0 ) 4 weeks to go

2010-11-17 Thread NetAdmin
Just in case you didn't see the pinned message at the top of the group messages, there are 5 weeks to get your apps ready for the Web2py Application Exhibition ( Version 2.0 ) For more details, see the pinned message. Good Luck! Mr.NetAdmin

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-16 Thread NetAdmin
not want to expose the code? Rahul On Nov 12, 5:23 pm, selecta gr...@delarue-berlin.de wrote: How do I submit? Should I just send you (NetAdmin) the code by email? I am working on the project constantly, will you accept updates after the first submission? Or should I wait till

[web2py] Re: web2py 1.89.3 is OUT

2010-11-16 Thread NetAdmin
On the change log screen... beter wizard should be changed to better Admin wizard If it is indeed an Admin wizard Thanks! On Nov 16, 2:23 pm, mdipierro mdipie...@cs.depaul.edu wrote: apologies, there was a build error in 1.89.2

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-12 Thread NetAdmin
You should wait for the the deadline, then submit by email. Good Luck! Mr.NetAdmin

[web2py] Web2py Application Exhibition ( Version 2.0 ) 5 weeks to go!

2010-11-10 Thread NetAdmin
Just in case you didn't see the pinned message at the top of the group messages, there are 5 weeks to get your apps ready for the Web2py Application Exhibition ( Version 2.0 ) For more details, see the pinned message. Good Luck! Mr.NetAdmin

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-07 Thread NetAdmin
I'm not sure what the requirements are, but you could try getting your application listed on http://www.web2py.com/appliances There are many really nice applications listed there. Mr.NetAdmin

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-05 Thread NetAdmin
Ramjee, Yes the app must be opensource. ( Like Web2py ) Mr.NetAdmin On Nov 5, 3:20 am, Ramjee Ganti gant...@gmail.com wrote: Hi Netadmin, Very nice initiative. Is it mandatory that the project is opensource. I am working on an enterprise analytics application using web2py. However, I am

[web2py] Web2py Application Exhibition ( Version 2.0 )

2010-11-03 Thread NetAdmin
Web2py Application Exhibition Version 2.0 Do you have a Web2py app that you'd like to show the world? If so, you may be interested in the Web2py Application Exhibition. The WAE is a way to... 1. Demonstrate what can be done with Web2py. 2. Share and learn about useful web2py, python, Javascript,

[web2py] Re: Where's Errata Page for Web2py 3rd Edition

2010-10-17 Thread NetAdmin
something to correct I open one draf on my gmail, and note there. after colecting some notes, I correct ( or send to Massimo). @NetAdmin did you buy a printed version, or printed from the pdf? I bought the pdf, and I want a printed version. I dont know if I will print it in my printer, or if I

[web2py] Where's Errata Page for Web2py 3rd Edition

2010-10-14 Thread NetAdmin
Is there an errata page for Web2py 3rd Edition? I'd like to make notes of any typos / errors in my printed edition. By the way, then new Web2py site looks really nice! Thanks! Mr.NetAdmin

[web2py] Re: how to allow only admin to make changes

2010-10-14 Thread NetAdmin
You could use function decorators. For example... @auth.requires_login() def browsing(): # browsing happens here @auth.requires_membership('editor-group') def editdb(): # editing happens here Mr.NetAdmin On Oct 14, 9:04 am, Audra Rudys sphin...@gmail.com wrote: I have an app with

[web2py] Re: Where's Errata Page for Web2py 3rd Edition

2010-10-14 Thread NetAdmin
That's good, but I like to read my printed edition on the train, and would like to make corrections there. I don't have any corrections at the moment. Thanks! On Oct 14, 4:08 pm, cjrh caleb.hatti...@gmail.com wrote: On Oct 14, 10:53 pm, NetAdmin mr.netad...@gmail.com wrote: I'd like

[web2py] Re: Where's Errata Page for Web2py 3rd Edition

2010-10-14 Thread NetAdmin
), or directly to Massimo. What I used to do is every time when I find something to correct I open one draf on my gmail, and note there. after colecting some notes, I correct ( or send to Massimo). @NetAdmin did you buy a printed version, or printed from the pdf? I bought the pdf, and I want a printed

[web2py] Re: DateTime Widget

2010-10-11 Thread NetAdmin
Is this what you're trying to do? This will round the time DOWN to 30 minute intervals. On the hour or 30 minutes past the hour using MySQL time and math functions. select sec_to_time( time_to_sec( '2010-10-11 07:40:00' ) - time_to_sec( '2010-10-11 07:40:00') mod(1800) )as ans; +--+ | ans

[web2py] Re: Automatic delete of a record after x days

2010-10-08 Thread NetAdmin
# Add a datetime field to your model that saves current datetime db.define_table('mytable', Field('firstn', 'string', length=15), Field('fdate', 'datetime', default=request.now, requires= IS_NOT_EMPTY() ) ) db.tbtime5.firstn.requires=IS_NOT_EMPTY() db.tbtime5.fdate.requires=IS_NOT_EMPTY() #

[web2py] Nice Hosting Company Option

2010-10-05 Thread NetAdmin
I decided to try hosting a Web2py app using the Rackspace Cloud-Server offering and here's what I found. You actually have *root* access which is a BIG PLUS for me! Billing is automatic via credit card payments. My first bill was $10 for one month. This could cost you more, so read the

[web2py] Re: Nice Hosting Company Option

2010-10-05 Thread NetAdmin
, 2010 at 5:26 PM, Bruno Rocha rochacbr...@gmail.com wrote: Do you know if they have reseller plans? Anybody here using webfaction? 2010/10/5 NetAdmin mr.netad...@gmail.com I decided to try hosting a Web2py app using the Rackspace Cloud-Server offering and here's what I found. You

[web2py] Re: Nice Hosting Company Option

2010-10-05 Thread NetAdmin
NetAdmin mr.netad...@gmail.com I decided to try hosting a Web2py app using the Rackspace Cloud-Server offering and here's what I found. You actually have *root* access which is a BIG PLUS for me! Billing is automatic via credit card payments. My first bill was $10 for one month

[web2py] Web2py Book 3rd Edition

2010-09-14 Thread NetAdmin
Whooo Hooo! I just received the Printed 3rd Edition of the Web2py Manual from LULU.com http://www.lulu.com/product/paperback/web2py-%283rd-edition%29/12199578?productTrackingContext=search_results/search_shelf/center/3 Mr.NetAdmin

[web2py] Model file variable scope

2010-08-17 Thread NetAdmin
in gluon/tools.py, I'm trying to modify the register() function to save request.vars.get('last_name', None ) to a table defined in db.py as db.define_table('tbextra', SQLField('lastn', 'string', length = 15 ) ) but tools.py does not recognize the db part of db.tbextra.lastn I thought variables

[web2py] Re: Model file variable scope

2010-08-17 Thread NetAdmin
there. On Aug 17, 4:46 pm, NetAdmin mr.netad...@gmail.com wrote: in gluon/tools.py, I'm trying to modify the register() function to save request.vars.get('last_name', None ) to a table defined in db.py as db.define_table('tbextra',   SQLField('lastn', 'string', length = 15 ) ) but tools.py

[web2py] Re: Model file variable scope

2010-08-17 Thread NetAdmin
I'll try that thanks. Mr.NetAdmin On Aug 17, 5:11 pm, mdipierro mdipie...@cs.depaul.edu wrote: I am not sure it is a good idea to modify a system library like gluon.tools.py, anyway in class Auth, you should have access to self.environment.request.vars On Aug 17, 4:57 pm, NetAdmin

[web2py] Re: Web2Py Book - Controllers?

2010-08-16 Thread NetAdmin
Look at Chapter 3, Overview ( 2n edition of the manual ) On Aug 16, 8:50 am, David digitalcry...@gmail.com wrote: Where is the part which talks about how controllers work and are used in the web2py book? I see the DAL and Views but nothing on controllers is obvious here. Thanks, David

[web2py] Re: Web2Py Book - Controllers?

2010-08-16 Thread NetAdmin
.  Where can I find the 2nd Edition of the Web2Py book? I only see the 3rd edition online. On Aug 16, 10:22 am, NetAdmin mr.netad...@gmail.com wrote: Look at Chapter 3, Overview ( 2n edition of the manual ) On Aug 16, 8:50 am, David digitalcry...@gmail.com wrote: Where is the part which

[web2py] Re: Web2py Application Exhibition -- The Winners!

2010-08-06 Thread NetAdmin
(if?) it is officially announced. Mr. NetAdmin and other interested parties, our organization is interested in offering up some project prize (dollars?) for the next competition so let us know when the date is on! Also I wondering if the current Web2py has a sort of natural annual process cycle that we could

[web2py] Web2py Application Exhibition -- The Winners!

2010-08-04 Thread NetAdmin
Hello Web2py Users! After careful consideration of the entire list of entries... ( actually the only entry ) the winning entry was submitted by Martin Mulone of Entre Rios, Argentina. Martin enjoys music, programming in python, soccer and sailing. His entry, Instant-Press, which is a blogging

[web2py] Re: Web2py Application Exhibition -- The Winners!

2010-08-04 Thread NetAdmin
, NetAdmin mr.netad...@gmail.com wrote: Hello Web2py Users! After careful consideration of the entire list of entries... ( actually the only entry ) the winning entry was submitted by Martin Mulone of Entre Rios, Argentina. Martin enjoys music, programming in python, soccer and sailing. His

[web2py] Web2py Application Exhibition -- Winners!

2010-08-03 Thread NetAdmin
Hello All, The winners of the Web2py Application Exhibition have been e-mailed, and I'm waiting for their replies before posting the results. Mr.NetAdmin

[web2py] Last Week for WAE ( Web2py Application Exhibition )

2010-07-22 Thread NetAdmin
Web2py Application Exhibition Do you have a Web2py app that you'd like to show the world? If so, you may be interested in the Web2py Application Exhibition. The WAE is a way to... 1. Demonstrate what can be done with Web2py. 2. Share and learn about useful web2py, python, Javascript, jQuery etc.

[web2py] Web2py Application Exhibition - 2 weeks left

2010-07-13 Thread NetAdmin
Web2py Application Exhibition Do you have a Web2py app that you'd like to show the world? If so, you may be interested in the Web2py Application Exhibition. The WAE is a way to... 1. Demonstrate what can be done with Web2py. 2. Share and learn about useful web2py, python, Javascript, jQuery etc.

[web2py] Re: local_import

2010-07-02 Thread NetAdmin
What type of errors or messages do you get? On Jul 2, 11:52 am, Jose jjac...@gmail.com wrote: I have problems with local_import in the latest version of the trunk. Jose

[web2py] Re: Grab the email address during register

2010-07-01 Thread NetAdmin
Got it! request.vars.get(passfield,None), request.vars.get('email', None) On Jul 1, 6:52 pm, NetAdmin mr.netad...@gmail.com wrote: I can save the unhashed password fromhttp://127.0.0.1:8000/appname/default/user/register with request.vars.get(passfield, None) but how can I save the email

[web2py] Re: Change submit text in generic submit button

2010-06-30 Thread NetAdmin
Put something like this in your controller. INPUT( _type = 'submit', _value = 'Save', _style ='width: 100px;' ) On Jun 30, 11:04 am, Giuseppe Luca Scrofani glsdes...@gmail.com wrote: Hi where I have to look to change the default submit string of generic submit button in something else? I'm

[web2py] Web2py Application Exhibition Part 2

2010-06-29 Thread NetAdmin
Web2py Application Exhibition Do you have a Web2py app that you'd like to show the world? If so, you may be interested in the Web2py Application Exhibition. The WAE is a way to... 1. Demonstrate what can be done with Web2py. 2. Share and learn about useful web2py, python, Javascript, jQuery etc.

[web2py] Web2py Application Exhibition

2010-06-25 Thread NetAdmin
Web2py Application Exhibition Do you have a Web2py app that you'd like to show the world? If so, you may be interested in the Web2py Application Exhibition. The WAE is a way to... 1. Demonstrate what can be done with Web2py. 2. Share and learn about useful web2py, python, Javascript, jQuery

[web2py] Re: change the encoding

2010-06-25 Thread NetAdmin
I'm not sure if you're using Linux, but if so, you may want to try changing this setting in your bash_profile. LC_ALL=en_US.utf8 I hope this helps Mr.netadmin On Jun 25, 6:11 am, Jose jjac...@gmail.com wrote: On 24 jun, 13:27, mdipierro mdipie...@cs.depaul.edu wrote: I do not know if

[web2py] Re: Web2py Application Exhibition

2010-06-25 Thread NetAdmin
in advance. On Fri, Jun 25, 2010 at 10:28 AM, NetAdmin mr.netad...@gmail.com wrote: Web2py Application Exhibition Do you have a Web2py app that you'd like to show the world? If so, you may be interested in the Web2py Application Exhibition. The WAE is a way to... 1. Demonstrate what can

[web2py] Re: change the encoding

2010-06-25 Thread NetAdmin
OK, I use Linux and vi Here are my settings scroll=11 ttyfast fileencoding=utf-8 fileencodings=ucs-bom,utf-8,default,latin1 runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/ share/vim/ vim71,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/

[web2py] Re: change the encoding

2010-06-25 Thread NetAdmin
Oh Sorry, I only use vi as my editor. On Jun 25, 5:24 pm, Jose jjac...@gmail.com wrote: On 25 jun, 18:24, NetAdmin mr.netad...@gmail.com wrote: OK, I use Linux and vi Here are my settings   scroll=11           ttyfast   fileencoding=utf-8   fileencodings=ucs-bom,utf-8,default

[web2py] Putting too much logic in a view

2010-06-06 Thread NetAdmin
I have a table with the following structure. firstname string stboolean I can display the info with a view, but I'd like to check/uncheck certain names using the status check box, then delete the checked names. I feel I'm going about this the WRONG way because most of the

[web2py] Re: Putting too much logic in a view

2010-06-06 Thread NetAdmin
)).delete()     return dict(form=form) On Jun 6, 6:39 pm, NetAdmin mr.netad...@gmail.com wrote: I have a table with the following structure.     firstname string     st            boolean I can display the info with a view, but I'd like to check/uncheck certain names using

[web2py] Re: Putting too much logic in a view

2010-06-06 Thread NetAdmin
):         for k,v in request.vars.items():             if k.startswith('st_'):                 id = k.split('_')[-1]                 db(db.things.id == int(id)).delete()     return dict(form=form) On Jun 6, 6:39 pm, NetAdmin mr.netad...@gmail.com wrote: I have a table with the following structure

[web2py] Re: html text editor selection shift position

2010-06-05 Thread NetAdmin
I've seen that problem too when using Firefox and Linux. Now I ONLY use a vi to edit files. On Jun 4, 10:45 am, Jean Guy jean...@gmail.com wrote: Hi, I would like to know there is other web2py user that are experimenting a shift in selection highlight in html text editor built in web2py dev

[web2py] welcome.w2p

2010-06-04 Thread NetAdmin
I just upgraded to web2p version 1.78.3 and there seems to be no welcome.w2p scaffold app. Is this a problem or do I need to create my own? Thanks!

[web2py] Re: welcome.w2p

2010-06-04 Thread NetAdmin
Sorry I found it. Time for new eye-glasses. On Jun 4, 2:19 pm, NetAdmin mr.netad...@gmail.com wrote: I just upgraded to web2p version 1.78.3 and there seems to be no welcome.w2p scaffold app. Is this a problem or do I need to create my own? Thanks!

[web2py] Decimal vs Float and Documentation

2010-06-01 Thread NetAdmin
1. What is the best field choice for currency calculations? I can't find any documentation on the DECIMAL field-type even though I saw Field('totalsale', 'decimal(10,2)'), while browsing google/groups. 2. Where should I look for the very latest documentation? I defined a field as DOUBLE, but

[web2py] Re: Decimal vs Float and Documentation

2010-06-01 Thread NetAdmin
supported as it is not supported in some db engines, but you can use SQLCustomType. Example here: http://www.web2py.com/examples/static/epydoc/web2py.gluon.sql.SQLCust... Michal NetAdmin wrote: 1. What is the best field choice for currency calculations? I can't find any documentation

[web2py] Re: Image upload

2010-06-01 Thread NetAdmin
Here's some code form = SQLFORM(db.tbbooks, 4, upload=URL(r=request,f='download') ) Note... you can store images as BLOBS inside the database OR on the filesystem. On Jun 1, 1:51 pm, Aaron Crowe aaron.h.cr...@gmail.com wrote: I'm just getting started with web2py and I'm looking for a way

[web2py] Re: Image upload

2010-06-01 Thread NetAdmin
Here's another link http://web2py.com/book/default/section/7/2?search=upload On Jun 1, 1:51 pm, Aaron Crowe aaron.h.cr...@gmail.com wrote: I'm just getting started with web2py and I'm looking for a way for the user to upload an image and have it stored in the database. Any suggestions or

[web2py] Re: uniqueness Constraint

2010-05-31 Thread NetAdmin
Try something like this. db.define_table('companies', Field('name', length=512, default='', unique=True), Field('oncontract', 'boolean', default=False) ) db.person.name.requires = [IS_NOT_EMPTY(), IS_NOT_IN_DB(db, 'person.name')] On May 31, 7:30 am,

[web2py] How do I get session.flash to show multiple rows?

2010-05-30 Thread NetAdmin
How do I get session.flash to show multiple rows? The would be nice for a quick popup help message. Thanks!

[web2py] Re: How do I get session.flash to show multiple rows?

2010-05-30 Thread NetAdmin
And of course it work perfectly! Thanks! I love Web2py! On May 30, 9:29 am, mdipierro mdipie...@cs.depaul.edu wrote: response.flash=TABLE(TR(first row),TR(second row)) On May 30, 8:30 am, NetAdmin mr.netad...@gmail.com wrote: How do I get session.flash to show multiple rows? The would

[web2py] Non-Breaking Space Helper

2010-05-30 Thread NetAdmin
It would be nice to have a non-breaking space html-helper that uses the following syntax... NBSP(), or NBSP(5) Any Takers?

[web2py] Re: Non-Breaking Space Helper

2010-05-30 Thread NetAdmin
(15) ) , TR(' '), TR(' '), TR(' ') ) Thanks On May 30, 12:10 pm, mdipierro mdipie...@cs.depaul.edu wrote: I'd rather avoid to pollute the name space too much. You can do def NBSP(n=1): return XML('nbsp;'*n) On May 30, 11:32 am, NetAdmin mr.netad...@gmail.com wrote: It would be nice to have

[web2py] Re: Non-Breaking Space Helper

2010-05-30 Thread NetAdmin
This ') , TR(' '), TR(' '), TR(' ') ) On Sun, May 30, 2010 at 12:10 PM, mdipierro mdipie...@cs.depaul.edu wrote: I'd rather avoid to pollute the name space too much. You can do def NBSP(n=1): return XML('nbsp;'*n) On May 30, 11:32 am, NetAdmin mr.netad...@gmail.com wrote: It would

[web2py] Re: A quick question for everyone - generating a random code 'onvalidation'

2010-05-26 Thread NetAdmin
Instead of codes = db().select(db.products.code) # Grabs all the existing codes how about something like, # generate random code code = generatecode() # look to see if a matching code is in the table select stored_code from table where stored_code =code # if no code is returned...

[web2py] Re: A quick question for everyone - generating a random code 'onvalidation'

2010-05-26 Thread NetAdmin
Sort of like this mysql select id from tbbooks where id = 8; Empty set (0.00 sec) mysql select id from tbbooks where id = 1; ++ | id | ++ | 1 | ++ 1 row in set (0.00 sec) On May 26, 2:44 pm, scausten scaus...@googlemail.com wrote: I'm adding files content to my database with

[web2py] display a stored .jpg during a record list or update

2010-05-24 Thread NetAdmin
I'm a bit confused. During an edit or listing of all books, how can I display the .jpg file that is stored in the field named coverblob ? I can only see the blob field contents when using appadmin. Thanks! == db.py == db.define_table( 'tbbooks' ,

[web2py] Re: display a stored .jpg during a record list or update

2010-05-24 Thread NetAdmin
, 10:52 am, NetAdmin mr.netad...@gmail.com wrote: I'm a bit confused. During an edit or listing of all books, how can I display the .jpg file that is stored in the field named coverblob ? I can only see the blob field contents when using appadmin. Thanks! ==   db.py

[web2py] Re: display a stored .jpg during a record list or update

2010-05-24 Thread NetAdmin
) On May 24, 3:53 pm, NetAdmin mr.netad...@gmail.com wrote: Whoa!  SQLHTML? I didn't even know that existed! Thanks for the tip! On May 24, 3:37 pm, mdipierro mdipie...@cs.depaul.edu wrote: If you are looking for a preview of the uploaded images when editing a record you can to do form

[web2py] Re: How to change field name without losing data?

2010-01-31 Thread NetAdmin
Yes I think so. On Jan 31, 12:24 pm, weheh richard_gor...@verizon.net wrote: But of course. I'm getting so used to working exclusively in web2py I forgot I knew MySQL ;^) Should I assume that if I change a field in my model, too, so that it corresponds to this new field name that the two

[web2py:25976] Re: web2py via shell account

2009-07-08 Thread NetAdmin
, at 5:21 AM, NetAdmin wrote: As for running after a reboot, you could use cron to try and start web2py hourly. If it's running, it should give an error message that says Address already in use I don't like that this would put me off the air for an hour (or whatever interval

[web2py:25977] Re: Waht is cron for?

2009-07-08 Thread NetAdmin
I was talking about using Linux cron. I've never used the web2py cron. Sterling On Jul 8, 12:59 pm, Jason Brower encomp...@gmail.com wrote: I know what it does in linux.  But what is it for in Web2py and why do I need it? Regards, Jason

[web2py:25829] Re: How to create a JavaScript confirmation popup?

2009-07-06 Thread NetAdmin
confirmation(recno) { ... -- Julio On Jul 6, 1:57 pm, NetAdmin mr.netad...@gmail.com wrote: Hello All, I'm trying to display records in a table, that has a button at the end of each row, that calls a JavaScript popup to confirm the delete. I'm stuck and would appreciate any help

[web2py:25824] How to create a JavaScript confirmation popup?

2009-07-06 Thread NetAdmin
Hello All, I'm trying to display records in a table, that has a button at the end of each row, that calls a JavaScript popup to confirm the delete. I'm stuck and would appreciate any help anyone can offer. Some of the code is attached. Thanks! Sterling head script type=text/javascript !--