[web2py:11735] Re: Widgets and styling

2008-11-12 Thread mdipierro
The manual described rules for ID and CLASS in forms. If you make your own widgets simply use the same convention. Massimo On Nov 12, 12:05 am, billf <[EMAIL PROTECTED]> wrote: > I don't know much about widgets and I have a question. > > How do I ensure that my widget is styled in line with othe

[web2py:11737] Alwaysdata.com, first FREE (10MB) web2py host

2008-11-12 Thread Grahack
This French team has a free hosting pack: http://www.alwaysdata.com/offers/shared/ Yesterday we managed to install web2py through ssh and its built-in server, then more interestingly with fcgi and wsgi. You can see it working here: http://web2py.alwaysdata.net/ The quota for this free demo accoun

[web2py:11738] Re: Widgets and styling

2008-11-12 Thread mdipierro
for example here is a form generated by web2py: Email: Password: each row has id="[table]_[field]__row" each label has id="[table]_[field]__label" each input has id="[table]_[field]" and name="[field] Here is a sample widget: http://mdp.cti.depaul.edu/AlterEgo/default/show/170 Massimo On

[web2py:11739] Re: Alwaysdata.com, first FREE (10MB) web2py host

2008-11-12 Thread mdipierro
Fantastic! Thanks for letting us know. On Nov 12, 9:12 am, Grahack <[EMAIL PROTECTED]> wrote: > This French team has a free hosting > pack:http://www.alwaysdata.com/offers/shared/ > > Yesterday we managed to install web2py through ssh and its built-in > server, then more interestingly with fcgi

[web2py:11741] Re: export sql statement and tables'values save as text file

2008-11-12 Thread Yarko T
Has anyone tried this on Appengine? One of the big problems w/ GAE is backing up / transfering your data. Would be interesting to hear experience of transfering data from GAE to other DB. On Wed, Nov 12, 2008 at 8:10 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > from appadmin you can save any ta

[web2py:11742] Re: Alwaysdata.com, first FREE (10MB) web2py host

2008-11-12 Thread Yarko T
Massimo - Do we have / could you start a separate AlterEgo - style page with _just_ hosting options, with instructions? We have (by my memory): GAE; webfaction; Phylo's announcement this week (don't recall the name - sorry) this (alwaysdata) What others? I think a separate deployment topics FAQ

[web2py:11731] Re: web2py 1.49.1

2008-11-12 Thread Timothy Farrell
My bad. Per revision 190, see revision 165, the message that you replaced it with is not quite what it was (small consequence). Wouldn't it be more flexible to make a custom error message in rewrite?   Like so: error_message_custom = "Invalid request%s" That way we retain custom error mess

[web2py:11743] Re: Possible bug in IS_URL

2008-11-12 Thread Yarko T
Jonathan - I suggest you "follow" the "web2py" branch on http://www.bitbucket.org/yarko/web2py/ - that way, you'll get notices when I've mirrored new changes (like just now) - and you can update / evaluate if it affects your patch. Also, create an account on Launchpad and "subscribe" to Massimo's

[web2py:11744] Re: Alwaysdata.com, first FREE (10MB) web2py host

2008-11-12 Thread Phyo Arkar
Gr8! We will also be releasing cherokee Based Free Web2py hosting soon! You guys will going to enjoy The best match! Stay tuned. After web2py-VM is released it will be avaliable for you.! Phyo Arkar Lwin CEO *Nix Solutions. www.star-nix.com On Wed, Nov 12, 2008 at 4:26 PM, Yarko T <[EMAIL PROTE

[web2py:11734] Re: export sql statement and tables'values save as text file

2008-11-12 Thread mdipierro
from appadmin you can save any table as CSV. also any statements db(...).select(...) if you replace select with _select, db(...)._select(...) will return the SQL statement without executing it. you can also replace insert with _insert, count with _count, delete with _delete and update

[web2py:11745] Patch Proposal - Custom Exception Handling

2008-11-12 Thread Mark Larsen
web2py users, web2pys default mechanism for exception handling works great in development but when shifted into production I'd rather have the application email on exception and display a sorry message to the user. I'm proposing a new file in the root of web2py "customexception.py", If this file

[web2py:11746] Re: Alwaysdata.com, first FREE (10MB) web2py host

2008-11-12 Thread mdipierro
working on it... On Nov 12, 10:26 am, "Yarko T" <[EMAIL PROTECTED]> wrote: > Massimo - > Do we have / could you start a separate AlterEgo - style page with _just_ > hosting options, with instructions? > > We have (by my memory): > > GAE; > webfaction; > Phylo's announcement this week (don't recal

[web2py:11747] Re: Patch Proposal - Custom Exception Handling

2008-11-12 Thread mdipierro
Mark, please talk to Tim. We just included (1.48) his patch for "routes_onerror". I believe what you are proposing has a lot of superposition with what he proposed and can handled already by the current version of web2py. Mind that sending emails on error has one problem... what if the function

[web2py:11730] Re: Possible bug in IS_URL

2008-11-12 Thread Jonathan Benn
Hi Yarko and Massimo, On Nov 11, 10:39 pm, "Yarko T" <[EMAIL PROTECTED]> wrote: > FYI - For those working w/ mercurial: > I've mirrored this morning's latest changes from Massimo > tohttp://bitbucket.org/yarko/web2py Wow, that was *very* usable!!! :-D I'm really impressed. The only snag I ra

[web2py:11748] Re: Patch Proposal - Custom Exception Handling

2008-11-12 Thread Mark Larsen
Duh! It looks like his routes_onerror would do everything I need. My customexception.py just becomes a controller method. Thanks Tim & Massimo. On Nov 12, 12:45 pm, mdipierro <[EMAIL PROTECTED]> wrote: > Mark, > > please talk to Tim. We just included (1.48) his patch for > "routes_onerror". I

[web2py:11749] Re: Alwaysdata.com, first FREE (10MB) web2py host

2008-11-12 Thread Yarko T
Great - thanks! On Wed, Nov 12, 2008 at 11:40 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > working on it... > > On Nov 12, 10:26 am, "Yarko T" <[EMAIL PROTECTED]> wrote: > > Massimo - > > Do we have / could you start a separate AlterEgo - style page with _just_ > > hosting options, with instructi

[web2py:11750] Re: Patch Proposal - Custom Exception Handling

2008-11-12 Thread Yarko T
this: decoupling from web2py is critical if it is to be useful. Further, it is something that should be thought of as being decoupled from, on a different server. On Wed, Nov 12, 2008 at 11:45 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > Mark, > > please talk to Tim. We just included (1.48) his

[web2py:11751] Re: Patch Proposal - Custom Exception Handling

2008-11-12 Thread Yarko T
...that is to say, it is something that should be capable of being on a different server... On Wed, Nov 12, 2008 at 12:04 PM, Yarko T <[EMAIL PROTECTED]> wrote: > this: decoupling from web2py is critical if it is to be useful. > Further, it is something that should be thought of as being decoupl

[web2py:11732] export sql statement and tables'values save as text file

2008-11-12 Thread somebody
export sql statement and tables'values save as text file in web2py. any guidance? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googl

[web2py:11752] Re: Web2py Modjy & Glassfish

2008-11-12 Thread Andrew
I followed up with Alan on modjy and he informed me that he has an issue filed in jython 2.5beta that is causing this error. http://bugs.jython.org/issue1171 Thanks Alan =] For now I'll just wait it out until a later release of jython 2.5 =]. Thank you too Frank, if you see this, for all your h

[web2py:11753] Re: Alwaysdata.com, first FREE (10MB) web2py host

2008-11-12 Thread Tito Garrido
Very good folks! I'll try this one! On Wed, Nov 12, 2008 at 3:00 PM, Yarko T <[EMAIL PROTECTED]> wrote: > Great - thanks! > > > On Wed, Nov 12, 2008 at 11:40 AM, mdipierro <[EMAIL PROTECTED]>wrote: > >> >> working on it... >> >> On Nov 12, 10:26 am, "Yarko T" <[EMAIL PROTECTED]> wrote: >> > Massi

[web2py:11754] Newbie Insert

2008-11-12 Thread Heronim
How do I pass the fields to insert as a parameter? my_insert ("name='Carl', address = 'av none 1'") def my_insert(self, vsql): db.people.insert(vsql) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py We

[web2py:11755] Re: Alwaysdata.com, first FREE (10MB) web2py host

2008-11-12 Thread Grahack
Today I wrote: PS: if you ever purchase an account to use with web2py, please drop me a message because I may have a discount offer ;) OPS, to avoid any confusion here, let me say that the discount offer is only for me, for the little help I gave to the admins, the little tests and the li

[web2py:11733] Re: web2py 1.49.1

2008-11-12 Thread mdipierro
I agree. Will do so. On Nov 12, 7:54 am, Timothy Farrell <[EMAIL PROTECTED]> wrote: > My bad. > Per revision 190, see revision 165, the message that you replaced it with is > not quite what it was (small consequence). > Wouldn't it be more flexible to make a custom error message in rewrite?   >

[web2py:11736] Re: Widgets and styling

2008-11-12 Thread billf
Massimo Sorry to be a pain but I have been thru web2py_manual.pdf, web2py_manual_cut.pdf and t2.pdf and I can't find any mention of rules for ID and CLASS. can you be more specific? Thanks,Bill On Nov 12, 2:11 pm, mdipierro <[EMAIL PROTECTED]> wrote: > The manual described rules for ID and CLA

[web2py:11756] Re: Patch Proposal - Custom Exception Handling

2008-11-12 Thread Timothy Farrell
Sorry, our email server has been down for a few hours. Yup, that's exactly what I used it for on my end. -tim Mark Larsen wrote: Duh! It looks like his routes_onerror would do everything I need. My customexception.py just becomes a controller method. Thanks Tim & Massimo. On Nov 12, 1

[web2py:11729] Re: Possible bug in IS_URL

2008-11-12 Thread Jonathan Benn
Hi all, It took another day of work but I think it was well worth it. As requested, I reimplemented IS_URL() to incorporate both IS_HTTP_URL() and IS_GENERIC_URL(). I'll be uploading my changes just as soon as I figure out how... --Jonathan --~--~-~--~~~---~--~

[web2py:11757] Re: Newbie Insert

2008-11-12 Thread billf
SQLTable.insert() just wants a dict so I think it should look like: my_insert(name='Carl',address='av none 1') def my_insert(self,**vsql): db.people.insert(vsql) .. but I'm new to Python and I'm never sure where the asterisks should go :-) On Nov 12, 8:09 pm, Heronim <[EMAIL PROTECTED]> wr

[web2py:11758] Re: Newbie Insert

2008-11-12 Thread Yarko T
the "**" un-packs a dict which, by looking at gluon/sql.py, looks like what billf expected, You can check if you've got the stars in the right place - try Bill's definition in a test on your app: python web2py.py -S my_app -M and see what happens... you can work it out there... On Wed, No

[web2py:11759] Re: Newbie Insert

2008-11-12 Thread mdipierro
Yarko is almost right def my_insert(**vsql): db.people.insert(vsql) my_insert(name='Carl',address='av none 1') no self unless my_insert is a method class A: def my_insert(self,**vsql): db.people.insert(vsql) a=A() a.my_insert(name='Carl',address='av none 1') On Nov 12, 4

[web2py:11760] Re: Newbie Insert

2008-11-12 Thread pirata.dabaixada
I thank everyone, I'm using PYAMF and Flex, change anything? mdipierro escreveu: > Yarko is almost right > > def my_insert(**vsql): > db.people.insert(vsql) > my_insert(name='Carl',address='av none 1') > > no self unless my_insert is a method > > class A: > def my_insert(self,**vsql): >

[web2py:11761] Re: Newbie Insert

2008-11-12 Thread mdipierro
No. On Nov 12, 9:27 pm, "pirata.dabaixada" <[EMAIL PROTECTED]> wrote: > I thank everyone, > > I'm using PYAMF and Flex, change anything? > > mdipierro escreveu: > > > Yarko is almost right > > > def my_insert(**vsql): > > db.people.insert(vsql) > > my_insert(name='Carl',address='av none 1')

[web2py:11762] Re: Newbie Insert

2008-11-12 Thread mdipierro
I assume you read the AlterEgo entry aboyt pyamf. Massimo On Nov 12, 9:27 pm, "pirata.dabaixada" <[EMAIL PROTECTED]> wrote: > I thank everyone, > > I'm using PYAMF and Flex, change anything? > > mdipierro escreveu: > > > Yarko is almost right > > > def my_insert(**vsql): > > db.people.inser

[web2py:11763] pyworks2008 talk slides

2008-11-12 Thread mdipierro
http://mdp.cti.depaul.edu/examples/static/pyworks.pdf --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this

[web2py:11764] Re: Possible bug in IS_URL

2008-11-12 Thread Jonathan Benn
Hi Yarko, On Nov 12, 7:41 pm, "Yarko T" <[EMAIL PROTECTED]> wrote: > I suggest  you "follow" the "web2py" branch > onhttp://www.bitbucket.org/yarko/web2py/- that way, you'll get notices when > I've mirrored new changes (like just now) - and you can update / evaluate if > it affects your patch.

[web2py:11765] Re: Proposal: MVC separation - son of custom views

2008-11-12 Thread seeker
Hi Bill, Getting back to the original topic: Is there no possible way of having Resources peacefully co-existing with the rest of Web2Py and still be part of the core without breaking backward compatibility? --~--~-~--~~~---~--~~ You received this message because

[web2py:11766] Re: pyworks2008 talk slides

2008-11-12 Thread voltron
Nice read, thanks for making this available On Nov 13, 4:59 am, mdipierro <[EMAIL PROTECTED]> wrote: > http://mdp.cti.depaul.edu/examples/static/pyworks.pdf --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web