On Fri, Dec 3, 2010 at 8:16 AM, pbreit pbreitenb...@gmail.com wrote:
...and Massimo is a bit like DHH...
Fortunately you are almost too wrong. ;)
--
Branko Vukelić
bg.bra...@gmail.com
stu...@brankovukelic.com
Check out my blog: http://www.brankovukelic.com/
Check out my portfolio:
On Fri, Dec 3, 2010 at 7:31 AM, Anthony abasta...@gmail.com wrote:
I think web2py is really making it more and more feasible for the
idea person to become the programmer, as suggested in the
article. :)
Lol, no. I don't think so. I've seen too many 'idea' people in my life
to believe that.
--
Hi, i am currently working through the web2py book and i am getting a
an error thrown up even though i am following the books instructions,
this is the code below:
-- coding: utf-8 --
#
This is a samples controller
- index is the default action of any application
- user is required for
Some years since I did any programming. Have had some time on my hands
and taught myself python, web2py, jquery, javascript. Fine with all
that. However I have some questions about the general design pattern/
architecture of a web2py application and specifically on use of AJAX.
I have created an
Programming does not fill logical gaps in ideas. But going from idea
to execution for people that do not have experience in programming
seems easy...
2010/12/3 mdipierro mdipie...@cs.depaul.edu:
http://www.cs.uni.edu/~wallingf/blog/archives/monthly/2010-12.html#e2010-12-01T15_45_40.htm
On Fri, Dec 3, 2010 at 2:24 PM, apple simo...@gmail.com wrote:
When should you use AJAX rather than a standard web request? At what
level of usage would I find the page refresh method becomes a
performance issue?
I think it's best you take a look at examples on the Web and use
whatever pattern
On Fri, Dec 3, 2010 at 2:36 PM, Michele Comitini
michele.comit...@gmail.com wrote:
Programming does not fill logical gaps in ideas. But going from idea
to execution for people that do not have experience in programming
seems easy...
I'd say 'execution' in general, not just programming. And
Thanks Jonathan!
Yes, that's all correct. I forgot about uploading new documentation
but there are no significant changes in the documentation. The thread
count advice for Jython still holds.
-tim
On Dec 3, 12:17 am, Jonathan Lundell jlund...@pobox.com wrote:
Rocket 1.2.0 (web2py's embedded
The very great thing about web2py is that even if it is full of
features, Massimo
was able and willing to keep it small. Small in the sense that it
has little code,
because it leverages on Python language features and patterns. What
does that mean? It means that anyone can reach and understand
http://dhtmlkitchen.com/learn/js/perf/document_write.jsp
My only concern was performance. The author claims (in this old
article... 2007?) that document.write is 50% slower. However, from his
(rather unscientific?) benchmark, I actually get results that are in
favor of document.write in Firefox.
What happened to my post from an hour ago? It had a reply with some
links but when I went back to look the post and reply had disappeared.
2+3=10
7+2=63
6+5=66
8+4=96
So:
9+7=???
What is the answer?
They say the IQ of people that can find it is above 120
Dont write here the answer..
Just the time, maybe
Missing spaces...
def index():
if not session.counter:
session.counter = 1
else:
session.counter += 1
return dict(message=Hello from MyApp,counter=session.counter)
def first():
if request.vars.visitor_name:
session.visitor_name = request.vars.visitor_name
Were is this logged, I could not find anything in any logs?
Kenneth
try
import time, logging
def testing():
t0=time.time()
orders = db(db.orders.id 0).select()
logging.info('time to fetch %s' % (time.time()-t0))
return orders
so you can isolate the problem and see if
Dunno, around 5 minutes... maybe a little bit less
2010/12/3 António Ramos ramstei...@gmail.com:
2+3=10
7+2=63
6+5=66
8+4=96
So:
9+7=???
What is the answer?
They say the IQ of people that can find it is above 120
Dont write here the answer..
Just the time, maybe
--
Branko
On 03-12-2010 15:32, António Ramos wrote:
2+3=10
7+2=63
6+5=66
8+4=96
So:
9+7=???
What is the answer?
They say the IQ of people that can find it is above 120
Dont write here the answer..
Just the time, maybe
10s
I think web2py is really making it more and more feasible for the
idea person to become the programmer, as suggested in the
article. :)
Lol, no. I don't think so. I've seen too many 'idea' people in my life
to believe that.
Sure, not _all_ idea people can or will want to become
just testing
SyntaxError: line 1: 'just testing'
On Fri, Dec 3, 2010 at 4:00 PM, apple simo...@gmail.com wrote:
just testing
--
Branko Vukelić
bg.bra...@gmail.com
stu...@brankovukelic.com
Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
On Fri, Dec 3, 2010 at 3:32 PM, apple simo...@gmail.com wrote:
What happened to my post from an hour ago? It had a reply with some
links but when I went back to look the post and reply had disappeared.
Here's the reply:
On Fri, Dec 3, 2010 at 2:24 PM, apple simo...@gmail.com wrote:
When
Damn, I suck. :)
On Fri, Dec 3, 2010 at 3:46 PM, Stef Mientki stef.mien...@gmail.com wrote:
On 03-12-2010 15:32, António Ramos wrote:
2+3=10
7+2=63
6+5=66
8+4=96
So:
9+7=???
What is the answer?
They say the IQ of people that can find it is above 120
Dont write here the answer..
I am too dumb to solve it but this program can:
x=[(2,3,10),(7,2,63),(6,5,66),(8,4,96)]
alphabet = 'ab+-*'
for i in range(10):
e = ''
while i:
e = e+alphabet[i%5]
i = i / 5
try:
for (a,b,c) in x:
if eval(e)!=c: raise Exception
a,b = 9,7
Google!
On Fri, Dec 3, 2010 at 10:22 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I am too dumb to solve it but this program can:
x=[(2,3,10),(7,2,63),(6,5,66),(8,4,96)]
alphabet = 'ab+-*'
for i in range(10):
e = ''
while i:
e = e+alphabet[i%5]
i = i / 5
try:
Is that a new IQ test? Cause I'm totally failing it. :)
On Fri, Dec 3, 2010 at 4:22 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I am too dumb to solve it but this program can:
x=[(2,3,10),(7,2,63),(6,5,66),(8,4,96)]
alphabet = 'ab+-*'
for i in range(10):
e = ''
while i:
10s
Are you saying it took you .002 + 83.3313 minutes?
Although the result seems to be ok,
I don't understand a bit of this program,
so my IQ must be well under 120 ;-)
Can you explain the program,
because I can not see the program and my solution.
cheers,
Stef
On 03-12-2010 16:26, Richard Vézina wrote:
Google!
On Fri, Dec 3, 2010 at 10:22 AM,
On 03-12-2010 16:39, Anthony wrote:
10s
Are you saying it took you .002 + 83.3313 minutes?
yep, very nice !!
very inserting!!
(insert print e and the explanation is there )
On 03-12-2010 16:26, Richard Vézina wrote:
Google!
On Fri, Dec 3, 2010 at 10:22 AM, mdipierro mdipie...@cs.depaul.edu
mailto:mdipie...@cs.depaul.edu wrote:
I am too dumb to solve it but this program can:
On Dec 3, 2010, at 7:09 AM, Branko Vukelic wrote:
SyntaxError: line 1: 'just testing'
On Fri, Dec 3, 2010 at 4:00 PM, apple simo...@gmail.com wrote:
just testing
Google Groups has been having some problems today. fwiw.
On Dec 3, 2010, at 7:22 AM, mdipierro wrote:
I am too dumb to solve it but this program can:
Cute, though the program somewhat presupposes the pattern of the answer.
The answer was obvious at a glance to those of us who had multiplication tables
drilled into us all those years ago, I think.
I don't think performance should be the main thing necessarily. I
think the use of Ajax should really depend on usability (of which
performance is a component).
On 03-12-2010 17:31, Jonathan Lundell wrote:
On Dec 3, 2010, at 7:22 AM, mdipierro wrote:
I am too dumb to solve it but this program can:
Cute, though the program somewhat presupposes the pattern of the answer.
The answer was obvious at a glance to those of us who had multiplication
tables
If you *really* want it to be like a desktop app you should have a
look at Ext JS from Sencha. It's quite a bit more involved but can
support some very rich interfaces.
Copied the program with wrong indentation it went infinite looping
eating all virtual memory.
So I was faster yeah!
:D
2010/12/3 Stef Mientki stef.mien...@gmail.com:
On 03-12-2010 17:31, Jonathan Lundell wrote:
On Dec 3, 2010, at 7:22 AM, mdipierro wrote:
I am too dumb to solve it but this
http://www.dynarchlib.com/
very well designed
2010/12/3 pbreit pbreitenb...@gmail.com:
If you *really* want it to be like a desktop app you should have a
look at Ext JS from Sencha. It's quite a bit more involved but can
support some very rich interfaces.
New feature in trunk:
URL('index',args=[],vars={},hash_key='xxx')
the URL will have a _signature attached. The associated controller can
check for the signature with
def index():
if not URL.verify(hmac_key='xxx'): ..
...
Please test it. In particular we need to test the workflow
hi,
I haven't commented this discussion but I've been reading it. I have
to tell you that you are bouncing way out of the point ironically
complaining that everyone else is talking about things other than the
elephant in the room.
It really doesn't matter Django (unless you bring something
On Dec 3, 2010, at 9:01 AM, mdipierro wrote:
New feature in trunk:
URL('index',args=[],vars={},hash_key='xxx')
the URL will have a _signature attached. The associated controller can
check for the signature with
def index():
if not URL.verify(hmac_key='xxx'): ..
...
I didn't need to run the program, just looked how it works then I solved in
seconds, even if my IQ is under 120, now I know I can understand the
Massimo's code very well! :P
2010/12/3 Michele Comitini michele.comit...@gmail.com
Copied the program with wrong indentation it went infinite looping
On Dec 3, 6:17 am, Jonathan Lundell jlund...@pobox.com wrote:
Rocket 1.2.0 (web2py's embedded web server) is now in the trunk.
It have various improvements, which perhaps Tim will describe. There is one
user-visible interface change that might affect some of you. In the previous
version,
Personally, I see the other way. So many programmers, so little
creativity. :D
On Thu, 2010-12-02 at 19:14 -0800, mdipierro wrote:
http://www.cs.uni.edu/~wallingf/blog/archives/monthly/2010-12.html#e2010-12-01T15_45_40.htm
attachment: face-smile-big.png
EASY... 42 is always the answer. :D
On Fri, 2010-12-03 at 14:32 +, António Ramos wrote:
2+3=10
7+2=63
6+5=66
8+4=96
So:
9+7=???
What is the answer?
They say the IQ of people that can find it is above 120
Dont write here the answer..
Just the time, maybe
Took a quick look at dynarchlib, looks great and BSD licensed.
I would be careful on the licensing of Ext JS, wasn't this the one
that caused some concerns a couple of years ago when they switched as
they became popular with the GWT users?
On Dec 3, 8:58 am, Michele Comitini
On Dec 3, 2010, at 9:32 AM, Fran wrote:
On Dec 3, 6:17 am, Jonathan Lundell jlund...@pobox.com wrote:
Rocket 1.2.0 (web2py's embedded web server) is now in the trunk.
It have various improvements, which perhaps Tim will describe. There is one
user-visible interface change that might affect
On Dec 3, 2010, at 9:32 AM, Fran wrote:
On Dec 3, 6:17 am, Jonathan Lundell jlund...@pobox.com wrote:
Rocket 1.2.0 (web2py's embedded web server) is now in the trunk.
It have various improvements, which perhaps Tim will describe. There is one
user-visible interface change that might affect
Good afternoon:
I'm using the plugin_datatable and I have an error by doing the
following:
the controller
left=db.clientes.on(db.accountcode.id_clientes==db.clientes.id)
rws=db().select(db.accountcode.ani, db.clientes.rsocial, left=left,
orderby=db.clientes.rsocial)
Thanks for the quick response! My web2py installation resides at C:
\aproj\web2py, therefore according to your examples and the Apache
documentation on the DocumentRoot directive, I tried setting
DocumentRoot to C:/aproj/web2py/applications for both the SSL Non-
SSL VirutalHosts. I made sure
It's almost like web2py is not creating a new session when
the protocol changes and just reusing the prior session. Perhaps that
is intentional?
Yes.
if session.secure() that an https session will not over http. But
there is no mechanism to prevent an http session to go over https. You
can do
On Fri, Dec 3, 2010 at 5:39 PM, pbreit pbreitenb...@gmail.com wrote:
I don't think performance should be the main thing necessarily. I
think the use of Ajax should really depend on usability (of which
performance is a component).
Well, fwiw, our company moved from MS Exchange to Google Apps
On Dec 3, 6:20 pm, Jonathan Lundell jlund...@pobox.com wrote:
I sent Massimo a patch that will retain backward compatibility.
Thanks but not quite yet:
Traceback (most recent call last):
File C:\Bin\web2py\gluon\winservice.py, line 46, in SvcDoRun
self.start()
File
I've been trying to get web2py running on Cherokee on a clean install
of Ubuntu 10.04 but no luck so far. I've seen different sets of
instructions but they all seem to be for older versions. I am working
with: Ubuntu 10.04, web2py 1.89.5, Cherokee 1.0.12 and uswgi 0.9.6.5.
It seems like I'm
On Dec 3, 2010, at 11:20 AM, Fran wrote:
On Dec 3, 6:20 pm, Jonathan Lundell jlund...@pobox.com wrote:
I sent Massimo a patch that will retain backward compatibility.
Thanks but not quite yet:
Traceback (most recent call last):
File C:\Bin\web2py\gluon\winservice.py, line 46, in SvcDoRun
I don't know why but Java hasn't been mentioned even once. Java has
seen lots of deployment, and I imagine some huge stuff might have been
built on it, and it's open-source-ish. :)
PHP? It's well capable of handling it's business, you know. Facebook's
front-end runs on PHP. And it's open-source.
On Dec 3, 2010, at 11:27 AM, Jonathan Lundell wrote:
On Dec 3, 2010, at 11:20 AM, Fran wrote:
On Dec 3, 6:20 pm, Jonathan Lundell jlund...@pobox.com wrote:
I sent Massimo a patch that will retain backward compatibility.
Thanks but not quite yet:
Traceback (most recent call last):
File
On Dec 3, 2010, at 11:32 AM, Jonathan Lundell wrote:
On Dec 3, 2010, at 11:27 AM, Jonathan Lundell wrote:
On Dec 3, 2010, at 11:20 AM, Fran wrote:
On Dec 3, 6:20 pm, Jonathan Lundell jlund...@pobox.com wrote:
I sent Massimo a patch that will retain backward compatibility.
Thanks but
What do you people make of this:
http://muharem.wordpress.com/2007/07/31/erlang-vs-stackless-python-a-first-benchmark/
(web2py runs on stackless except that out server does not take
advantage of its features).
Massimo
On Dec 3, 1:32 pm, Branko Vukelic bg.bra...@gmail.com wrote:
I don't know
I found this:
http://code.google.com/p/stacklessexamples/wiki/StacklessWSGI
On Fri, Dec 3, 2010 at 8:40 PM, mdipierro mdipie...@cs.depaul.edu wrote:
What do you people make of this:
http://muharem.wordpress.com/2007/07/31/erlang-vs-stackless-python-a-first-benchmark/
(web2py runs on
Greetings.
I disable the registration form that generated auth:
auth.settings.actions_disabled = ['register']
I made a new registration form that stores information in two tables
(auth_user and teacher), with the help of this recipe:
http://www.web2pyslices.com/main/slices/take_slice/102
I think it's the same with designers, actually, and they are
_expected_ to be creative. But once you're in the industry, so little
of it is actually demanded.
On Fri, Dec 3, 2010 at 6:54 PM, Jason Brower encomp...@gmail.com wrote:
Personally, I see the other way. So many programmers, so little
Example of usage is like this:
{{=plugin_datatable(db(db.shout.id0).select(),_class='datatable')}}
I think plugin_datatable wants Rows object as a parameter, not a table
created with SQLTABLE
I do not think there is a lack of ideas not a lack of execution
capabilities. The problem is that the more interesting projects
require a critical mass of users to start. Think about this... you
walk by a restaurant and it is empty. It does not matter how good the
restaurant look and how
On Fri, Dec 3, 2010 at 7:04 PM, ron_m ron.mco...@gmail.com wrote:
I would be careful on the licensing of Ext JS, wasn't this the one
that caused some concerns a couple of years ago when they switched as
they became popular with the GWT users?
They require you to release your _application_ code
On Fri, Dec 3, 2010 at 5:31 PM, Jonathan Lundell jlund...@pobox.com wrote:
The answer was obvious at a glance to those of us who had multiplication
tables drilled into us all those years ago, I think.
I hated those tables. :) Probably explains why it took me so long. But
I did in my head more
On Dec 3, 7:39 pm, Jonathan Lundell jlund...@pobox.com wrote:
A patch is on its way to Massimo.
Works a treat :)
No need to touch options.py - phew :)
Many thanks,
Fran.
On Dec 3, 2010, at 1:19 PM, Branko Vukelic wrote:
On Fri, Dec 3, 2010 at 5:31 PM, Jonathan Lundell jlund...@pobox.com wrote:
The answer was obvious at a glance to those of us who had multiplication
tables drilled into us all those years ago, I think.
I hated those tables. :) Probably
On Dec 3, 2010, at 1:24 PM, Fran wrote:
On Dec 3, 7:39 pm, Jonathan Lundell jlund...@pobox.com wrote:
A patch is on its way to Massimo.
Works a treat :)
No need to touch options.py - phew :)
Many thanks,
Glad to help. Sorry for the initial confusion, but I suppose that's why the
trunk
When I saw these I was thinking what kind of weird number base is this
in to get simple addition to yield those results. Oh well back to the
planet I live on.
On Dec 3, 1:25 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Dec 3, 2010, at 1:19 PM, Branko Vukelic wrote:
On Fri, Dec 3, 2010
I'm getting this in the console on Windows 7:
ERROR:Rocket.Errors.Thread-15:Traceback (most recent call last):
File C:\web2py\gluon\rocket.py, line 989, in run
self.run_app(conn)
File C:\web2py\gluon\rocket.py, line 1429, in run_app
self.write(data, sections)
File
Hi there,
When I installed the plugin, layouts, and tried to get it, my web2py
stay in infinite loop,and overloaded my processor.
I talked to another user and he had the same problem but with another
plugin, so the problem is in web2py 1.89. Is this not a serious bug?
[]'s
That's an example of thinking outside the box. :D
On Fri, Dec 3, 2010 at 10:34 PM, ron_m ron.mco...@gmail.com wrote:
When I saw these I was thinking what kind of weird number base is this
in to get simple addition to yield those results. Oh well back to the
planet I live on.
On Dec 3, 1:25
Which plugins? Which python version? Which os?
On Dec 3, 4:06 pm, leo (kirotawa) kirot...@gmail.com wrote:
Hi there,
When I installed the plugin, layouts, and tried to get it, my web2py
stay in infinite loop,and overloaded my processor.
I talked to another user and he had the same problem
On second look, this doesn't seem related to the new version. I rolled
back with the same result. I will try to debug and let you know.
On Dec 3, 4:02 pm, mr.freeze nat...@freezable.com wrote:
I'm getting this in the console on Windows 7:
ERROR:Rocket.Errors.Thread-15:Traceback (most recent
plugin: web2py.plugin.layouts
python 2.6.2
SO: ubuntu 9.04
On Dec 3, 7:24 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Which plugins? Which python version? Which os?
On Dec 3, 4:06 pm, leo (kirotawa) kirot...@gmail.com wrote:
Hi there,
When I installed the plugin, layouts, and
And my friend in web2py list BR, with this plugin: jqgrid.
On Dec 3, 7:35 pm, leo (kirotawa) kirot...@gmail.com wrote:
plugin: web2py.plugin.layouts
python 2.6.2
SO: ubuntu 9.04
On Dec 3, 7:24 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Which plugins? Which python version? Which
I will take a look. Anyway, try not to use plugin.layouts, it is
deprecated.
Use individual layout plugins instead web2py.com/layouts
Massimo
On Dec 3, 4:35 pm, leo (kirotawa) kirot...@gmail.com wrote:
plugin: web2py.plugin.layouts
python 2.6.2
SO: ubuntu 9.04
On Dec 3, 7:24 pm, mdipierro
I have observed a strange behavior of web2py (recent versions) that I
have no clue what it is.
The behavior is that sometimes when I submit a form, nothing happens.
No errors. Nothing. The fields are cleared. So I would have to fill
in the fields one more time. Another user also experienced
I have a list of Field variables
whichAttributes = [t.f1, t.f2, t.f3]
and I want to use them in my .select, like so:
records = dbset.select(whichAttributes,orderby=t.f4|t.f5)
How do I unroll that list into the select?
--
Lorin Rivers
Mosasaur: Killer Technical Marketing
records = dbset.select(*whichAttributes,orderby=t.f4|t.f5)
* unpacks a list
** unpacks a dict
On Dec 3, 5:16 pm, Lorin Rivers lriv...@mosasaur.com wrote:
I have a list of Field variables
whichAttributes = [t.f1, t.f2, t.f3]
and I want to use them in my .select, like so:
records =
Hi,
Shouldn't IS_EMPTY_OR accept a list instead of only one alternative
validator as arg 0?.
For example in the case where an email field can be either empty or
unique, in which case we would need something like the following:
IS_EMPTY_OR([ IS_EMAIL(), IS_NOT_IN_DB(db, db.table.email) ])
about 3 or 4 minutes with, with a paper and a pencil
On Fri, Dec 3, 2010 at 11:10 PM, Branko Vukelic bg.bra...@gmail.com wrote:
That's an example of thinking outside the box. :D
On Fri, Dec 3, 2010 at 10:34 PM, ron_m ron.mco...@gmail.com wrote:
When I saw these I was thinking what kind of
SRSLY?!?!
facepalm.
On Dec 3, 2010, at 17:29 , mr.freeze wrote:
records = dbset.select(*whichAttributes,orderby=t.f4|t.f5)
* unpacks a list
** unpacks a dict
On Dec 3, 5:16 pm, Lorin Rivers lriv...@mosasaur.com wrote:
I have a list of Field variables
whichAttributes = [t.f1, t.f2, t.f3]
The alternative is to keep for each user a list of friends as a String
(or Text) and do the contains check in your controller. This will
make all your datastore calls quick at the expense of extra CPU usage.
It also requires extra effort on update but the read is fast (and more
frequent than
Hi,
I've started to write a simple application to learn web2py. I am using
SQLFORM to insert, modify and delete records. So far everything is
working as planned.
I would like to give the user the ability add a new record as a copy
of an existing one. The idea is that the user would view an
because you cannot write to the file system, your updated files will
need to be stored in the database. since these could get large you
might consider using blobstore to store the files.
then yes, you'll have to override T() with something that reads
blobstore, or your database. i would
Michael,
while i have not tested it, i would expect all of it to work except
for the crypt() methods. You can post un-encrypted forms to paypal
(provided you configure paypal to accept them). The IPN should be
able to be made to work - it might take some tweaks to use the google
url_fetch()
I'm having problems trying to make gluon.tools.Mail work on a vps, and
wonder if anyone knows what would be a minimal setup for sending mail.
I just need to send the an occasional mail. The server as sendmail working,
which I've confirmed in the command line. However, I'm unable to make it
work
I do not use form.accepts as it goes to different controller/function..
here is code for /{{=request.application}}/extraction/index :
def index():
response.files.append( URL( r = request, c = 'static/css/smoothness',
f = 'jquery-ui.css' ) )
response.files.append( URL( r = request,
did you apt-get install portfix?
On Dec 3, 6:36 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
I'm having problems trying to make gluon.tools.Mail work on a vps, and
wonder if anyone knows what would be a minimal setup for sending mail.
I just need to send the an occasional mail. The server as
On Sat, Dec 4, 2010 at 1:12 AM, mdipierro mdipie...@cs.depaul.edu wrote:
did you apt-get install portfix?
Do you mean postfix? No I didn't.
By the way, tp be precise in the config I'm using:
mail.settings.server = 'myIPaddress:25' # your
SMTPserver
since sendmail
Simple and usefull script, I tested and it works. I know it has a simple
purpose, but this is very useful as it downloads and unpack web2py for me.
I am always testing new versions and nightly builds and this script will
save some clicks.
http://snipt.net/italomaia/web2py-admin/
--
Bruno Rocha
It works just fine for me in 1.89.5 .
On Dec 2, 2:25 am, VP vtp2...@gmail.com wrote:
latest version. THere are no form errors.
The closing form tags are wrong (should be /form),
so the browser only sees one form with duplicated fields,
which when processed in web2py turn into lists.
On Dec 1, 11:23 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote:
I use html forms, that code was since 1.7x and today i get
complains
Hi Tom,
you can use dbio=False in the accepts and do the insert manually as
explained in
http://web2py.com/book/default/chapter/07#SQLFORM-without-database-IO
On Dec 3, 7:12 pm, tomt tom_tren...@yahoo.com wrote:
Hi,
I've started to write a simple application to learn web2py. I am using
Thats very stupid of me..
But i wonder why it was working before.. (coz i have not updated that
page for long).
On 12/4/10, DenesL denes1...@yahoo.ca wrote:
The closing form tags are wrong (should be /form),
so the browser only sees one form with duplicated fields,
which when processed in
Thats very stupid of me..
But i wonder why it was working before.. (coz i have not updated that
page for long).
Thanks a lot for spotting this Den!!
On 12/4/10, DenesL denes1...@yahoo.ca wrote:
The closing form tags are wrong (should be /form),
so the browser only sees one form with
8 sec
too easy :D
On 12/4/10, Albert Abril albert.ab...@gmail.com wrote:
about 3 or 4 minutes with, with a paper and a pencil
On Fri, Dec 3, 2010 at 11:10 PM, Branko Vukelic bg.bra...@gmail.com wrote:
That's an example of thinking outside the box. :D
On Fri, Dec 3, 2010 at 10:34 PM, ron_m
..requires=[IS_EMPTY_OR(IS_EMAIL()), IS_EMPTY_OR(IS_NOT_IN_DB(db,
db.table.email)) ]
On Dec 3, 6:31 pm, Carlos carlosgali...@gmail.com wrote:
Hi,
Shouldn't IS_EMPTY_OR accept a list instead of only one alternative
validator as arg 0?.
For example in the case where an email field can be
hint = ^+*
On 12/4/10, Phyo Arkar phyo.arkarl...@gmail.com wrote:
8 sec
too easy :D
On 12/4/10, Albert Abril albert.ab...@gmail.com wrote:
about 3 or 4 minutes with, with a paper and a pencil
On Fri, Dec 3, 2010 at 11:10 PM, Branko Vukelic bg.bra...@gmail.com
wrote:
That's an example of
Here is an example:
Model
-
db.define_table('things',Field('name',requires=IS_NOT_EMPTY()),
Field('age','integer'),Field('weight','double'))
db.things.id.represent = lambda v: A(v,_href=URL(vars=dict(dupe=v)),
_onclick='return confirm(Copy
Thanks Denes!
On Dec 3, 9:04 pm, DenesL denes1...@yahoo.ca wrote:
..requires=[IS_EMPTY_OR(IS_EMAIL()), IS_EMPTY_OR(IS_NOT_IN_DB(db,
db.table.email)) ]
On Dec 3, 6:31 pm, Carlos carlosgali...@gmail.com wrote:
Hi,
Shouldn't IS_EMPTY_OR accept a list instead of only one alternative
1 - 100 of 101 matches
Mail list logo