Thank You Ron for your answer,
it was exactly spot on, I used the jquery.tools.min.js that came with
the example app and it was old. I downloaded the newest version and now
I load jquery.js and jquery.tools.min.js and everything looks like its
working now.
Kenneth
Which version of
Firstly, this topic is only remotely related to web2py.
Being familiar with jquery and the fact that web2py uses jquery, I
wonder if anyone has any recommendations for a javascript MVC
framework and the reasons for doing so?
Thanks in advance.
Manuele,
May I ask you how you did it?
This is my model:
db.define_table('Materiau',
Field('mindex','string', compute=lambda r: '%s%s' %
(r.Nom,r.MType)),
Field('MType', label='Type'),
Field('Nom'),
format='%(MType)s %(Nom)s')
Il 11/01/2011 10:05, dederocks ha scritto:
Manuele,
May I ask you how you did it?
First of all consider to define a function that returns a unique result
starting from your fields in the uniques list. If theese fields are all
integer (such as id of external references) you can simply append
Thanks!
I was actualy missing the 'unique=True' (IS_NOT_IN_DB(...) doesn't
work), and then I'll need to add a 'try.. except' sequence to trap an
attempt to insert a duplicate.
On 11 jan, 10:32, Manuele Pesenti manuele.pese...@gmail.com wrote:
Il 11/01/2011 10:05, dederocks ha scritto: Manuele,
I´m trying to find out how form.accepts handles the uploading of files
(for my mail gateway) and made a form
form=SQLFORM.factory(Field('text','string'),
Field('upload','upload'))
When I submit a form I get a ticket stating
you must specify a
Si tienes problemas para visualizar o enviar este formulario, puedes
rellenarlo online:
https://spreadsheets.google.com/viewform?formkey=dEZVOU16eE80VWdPQ0lMVWlTWl82Y2c6MQ
web2py web browser
the intention is to know which web browser used by users who work with
web2py
web browser you
for i in range(1,1):
print db.rolic[i]
or
for i in range(1,1000):
rolics = db(db.rolic).select(db.rolic.ALL, orderby=~db.rolic.rate)
It shuts down the server for 20 seconds
Is the problem in a big count of queries, or something else?
Is there an other way to query field rennamed?
On 11 янв, 03:17, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Actually I am not sure why the SQL is wrong. The SQL looks correct
although with_alias for a field is undocumented, except for tables,
and I am not sure how well it works.
On
I have the following model:
db.define_table('ciudadanos', Field('tipo'),
Field('nro_documento'), Field('valor'))
In the view, the following line shows the jqgrid with all the fields
of the table (including id field):
{{=plugin_wiki.widget('jqgrid', db.ciudadanos)}}
The jqgrid shows fine.
On Jan 11, 1:31 pm, diazluis2...@gmail.com wrote:
Chrome
Firefox
Explorer
Safari
Otros
Well, Opera, obviously ;)
Although I see that Chrome is doing by far the best at html5test.com.
My Opera 11 only gets 177 (which is strangely lower than Opera 10.61)
and just for completion my slice doing something similar
http://web2pyslices.com/main/slices/take_slice/113
On Jan 10, 11:35 pm, Michele Comitini michele.comit...@gmail.com
wrote:
I made a slice:
http://web2pyslices.com/main/slices/take_slice/114
mic
2011/1/10 K.R.Arun the1.a...@gmail.com:
On Jan 11, 1:47 pm, LightOfMooN vladsale...@yandex.ru wrote:
Is the problem in a big count of queries, or something else?
Sqlite?
Thanks, +1. For me I think this need to be default.
2011/1/11 selecta gr...@delarue-berlin.de
and just for completion my slice doing something similar
http://web2pyslices.com/main/slices/take_slice/113
On Jan 10, 11:35 pm, Michele Comitini michele.comit...@gmail.com
wrote:
I made a slice:
updated, add operates on the following link.
https://spreadsheets.google.com/viewform?formkey=dEZVOU16eE80VWdPQ0lMVWlTWl82Y2c6MQ
I am developing an extension for chrome (very easy to do).
I am evaluating the development of the same for Firefox based on the number
of users
2011/1/11 cjrh
no, PostgreeSQL
On 11 янв, 17:26, cjrh caleb.hatti...@gmail.com wrote:
On Jan 11, 1:47 pm, LightOfMooN vladsale...@yandex.ru wrote:
Is the problem in a big count of queries, or something else?
Sqlite?
Well, RockMelt in Linux Obviously... JK... I will vote.
2011/1/11 diazluis2...@gmail.com
Si tienes problemas para visualizar o enviar este formulario, puedes
rellenarlo online:
https://spreadsheets.google.com/viewform?formkey=dEZVOU16eE80VWdPQ0lMVWlTWl82Y2c6MQ
web2py web browser
the
Is there rockmelt for Linux yet?
2011/1/11 Jason (spot) Brower encomp...@gmail.com
Well, RockMelt in Linux Obviously... JK... I will vote.
2011/1/11 diazluis2...@gmail.com
Si tienes problemas para visualizar o enviar este formulario, puedes
rellenarlo online:
I agree that the documentation is broken.
On Jan 10, 9:14 pm, DenesL denes1...@yahoo.ca wrote:
Yes, you can't upgrade... and the documentation is broken as per the
first post.
On Jan 10, 9:07 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
No because the ajax part
yes
On Jan 11, 6:00 am, Lisandro rostagnolisan...@gmail.com wrote:
I have the following model:
db.define_table('ciudadanos', Field('tipo'),
Field('nro_documento'), Field('valor'))
In the view, the following line shows the jqgrid with all the fields
of the table (including id field):
I do not think it shuts down the server. It just downs the user doing
the query because session is locked for long time (lots of db io).
Try session.forget() before you start querying and/or try accessing
the app from a different browser ((other session). You will see it is
not locked.
On Jan 11,
Hi,
I am really interested in EAV design patterns at the moment and I use
them all the time in my php development with Zend Framework. I am new
to Python and web2py but I am going to use it to develop my new
personal website as I wish to learn new things.
I was wondering if anybody had done
If I remember correctly the Id field has to be included but you can hide it?
Kenneth
- Ursprungsmeddelande -
yes
On Jan 11, 6:00 am, Lisandro rostagnolisan...@gmail.com wrote:
I have the following model:
db.define_table('ciudadanos', Field('tipo'),
Field('nro_documento'),
You can also use represent to make a link to update your record like this :
In the controller :
db[request.args(0)].id.represent=lambda id:\
A(T('Access'),_href=URL(r=request,f='read',args=(db[request.args(0)],id)))
Richard
2011/1/11 Kenneth Lundström kenneth.t.lundst...@gmail.com
If I
You need a upload field to store the path and a field to store the name of
the file... The book is not clear I think about upload particularly about
blob storage...
My model :
Field('chroma','upload',uploadfield='chroma_blob'),
Field('chroma_blob','blob'),
You need both doen't matter if you use
nope, afaik
Can I see the error? Is there a traceback? Is the db server on the
machine?
Massimo
On Jan 9, 11:30 am, VP vtp2...@gmail.com wrote:
It is indeed the case that there was a segmentation fault, reported in
apache error log.
Perhaps, it's not clear, but this problem occurs under posgres under
Yes, it's so
Thx, Massimo!
On 11 янв, 18:59, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I do not think it shuts down the server. It just downs the user doing
the query because session is locked for long time (lots of db io).
Try session.forget() before you start querying and/or try
I'm using the represent field argument to make jqgrid show correctly
the foreing key fields.
For example, let's assume we have the category/product model. We want
to use jqgrid with the producs table. If we include the
product.category field, jqgrid shows None for that column (notice that
it
2011/1/11 Massimo Di Pierro mdipie...@cs.depaul.edu
We are still growing exponentially!
\o/ Great news!
*it is like watching a kung-fu movie, where a dozen bad-ass frameworks
prepare to beat up the little newcomer only to be handed their asses in a
variety of imaginative ways.*
quoting
Update:
+ There seems to be no web2py error. Thus, no traceback.
+ I don't remember if I got this error Premature end of script
headers: wsgihandler.py ) with sqlite, but having just tested again
with sqlite, I didn't get this error. At the moment, this error only
occurred with postgres
my own forms created with SQLFORM.
On Jan 11, 2011, at 12:33 AM, Luther Goh Lu Feng wrote:
Firstly, this topic is only remotely related to web2py.
Being familiar with jquery and the fact that web2py uses jquery, I
wonder if anyone has any recommendations for a javascript MVC
framework and the reasons for doing so?
Thanks
woohoo!
On Jan 11, 10:44 am, Massimo Di Pierro mdipie...@cs.depaul.edu
wrote:
We are still growing exponentially!
web2py_users.png
21KViewDownload
On Jan 7, 2011, at 1:56 PM, VP wrote:
Thanks.
What if I have something like this:
example1.com /app1/controller1
example1.net /app1/controller2
How would this translate into this new syntax?
OK, I've submitted a patch that allows this. The syntax:
domains = {
'example1.com' :
Maybe it would have been better to introduce another ajax function
with a different name.
BTW, are we keeping track of what is being added to web2py so we know
what is missing from the book?
On Jan 11, 8:54 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I agree that the documentation
I'm getting the same Premature end of script on a CentOS 5.?, MySQL, WSGI and
Apache.
Never done any stresstests, I'll try later to day.
Kenneth
- Ursprungsmeddelande -
Update:
+ There seems to be no web2py error. Thus, no traceback.
+ I don't remember if I got this error
Very happy to see this.
Thanks!
Jason
On 01/11/2011 05:44 PM, Massimo Di Pierro wrote:
We are still growing exponentially!
SproutCore, JavaScripMVC and TrimPath come up a lot.
Very cool. For some reason, the attached graph doesn't show up in the new
Google Groups interface for me -- had to go to the old version.
Do you keep any stats on number of downloads or web2py.com visits or
anything like that?
Anthony
On Tuesday, January 11, 2011 10:44:28 AM UTC-5,
I think it's number of users in this group.
On Jan 11, 9:15 pm, Anthony abasta...@gmail.com wrote:
Very cool. For some reason, the attached graph doesn't show up in the new
Google Groups interface for me -- had to go to the old version.
Do you keep any stats on number of downloads or
I have the README file and the hg/bzr logs.
On Jan 11, 10:46 am, DenesL denes1...@yahoo.ca wrote:
Maybe it would have been better to introduce another ajax function
with a different name.
BTW, are we keeping track of what is being added to web2py so we know
what is missing from the book?
On
could this be a timeout issue? Could it be the app causes a deadlock
in the db? What app is this?
On Jan 11, 10:58 am, Kenneth Lundström kenneth.t.lundst...@gmail.com
wrote:
I'm getting the same Premature end of script on a CentOS 5.?, MySQL, WSGI and
Apache.
Never done any stresstests, I'll
Distinct visitors, tracked by IP:
02/Jan/2011 1065
03/Jan/2011 1752
04/Jan/2011 1854
05/Jan/2011 1942
06/Jan/2011 2065
07/Jan/2011 1974
08/Jan/2011 1514
09/Jan/2011 1470
10/Jan/2011 1933
11/Jan/2011 1758
Distinct downloads:
02/Jan/2011 78
03/Jan/2011 173
04/Jan/2011 183
05/Jan/2011 177
From some other Google Groups user complaints, it looks like maybe
attachments sent in via email do not show up in the new interface (there's
not even any indication that there is an attachment). However, if you post a
message using the new Google Groups interface, there is an Attach a file
http://web2py.googlegroups.com/attach/fc3a3b8661cf3ad5/web2py_users.png?view=1part=2
On Jan 11, 2:53 pm, Anthony abasta...@gmail.com wrote:
From some other Google Groups user complaints, it looks like maybe
attachments sent in via email do not show up in the new interface (there's
not even any
I'm a newb to web2py and have been reading the Web2py book freely
online. I am wondering whether it is possible to show multiple
controller's views on the same page (say index page), the reason I'm
asking this is I can only have one view for each controller (e.g.
I think you want the LOAD helper.
On Jan 11, 3:42 pm, ivytony ivyt...@gmail.com wrote:
I'm a newb to web2py and have been reading the Web2py book freely
online. I am wondering whether it is possible to show multiple
controller's views on the same page (say index page), the reason I'm
asking
Thank you all for your suggestions.
Perhaps a silly question. I am trying to format a menu the same way
the login menu is formatted using menu.py. Is their an easy way to do
this? The last time I tried the [ | and ] ended up being the
same color as the rest of the menu. I ended up doing it by hand which
is not very convenient for
[{{='|'.join(A(_[0],_href=_[2]).xml() for _ in response.menu):}}]
On Jan 11, 4:09 pm, Christopher Steel chris.st...@gmail.com wrote:
Perhaps a silly question. I am trying to format a menu the same way
the login menu is formatted using menu.py. Is their an easy way to do
this? The last time I
If anyone else is working on a fabric deployment setup for web2py I
would be interested in taking a look at it.
I have the beginnings on one that with the following features:
installs
virtualenv
virtualenvwrapper
creates a project using virtualenvwrapper
installs mercurial and web2py to the
I meant global by default. I was aware of the existence of the
routes_app parameter. But my point here was more specifically about this
mechanism not being used for welcome and example apps by default. This and
lack of documentation in book makes it almost non-existing for users.
It would be
Please do so.
This is all we have to my knowledge so far and it is not that good:
web2py/scripts/setup-virtualenv-web2py.sh
On Jan 11, 4:23 pm, Christopher Steel chris.st...@gmail.com wrote:
If anyone else is working on a fabric deployment setup for web2py I
would be interested in taking a
On Jan 11, 2011, at 2:39 PM, Wikus van de Merwe wrote:
To visualise that better let me specify some examples from my own routes
which are already covered:
(.*:/favicon.ico, /init/static/favicon.ico) - covered by default
(root_static key)
(.*:/robots.txt, /init/static/robots.txt) -
Very interested but don't have anything to contribute yet. Currently using
Cherokee server, FWIW. However Cherokee doesn't seem well-suited to automated
deployment.
To get your data as CSV from a GAE app you need to:
1) enable remote api in app.yaml
2) create bulkloader config file:
$GAE_DIR/appcfg.py create_bulkloader_config --filename=config.yaml -e
$EMAIL --url=https://$APP.appspot.com/remote_api
rm bulkloader*
3) edit config.yaml as needed (mainly
I hav been working on a bootstrapper for work (just a few hours here
and there so far) which needs to include web2py (and other stuff
probably irrelevant here) but will be happy to share when successful.
I am looking to support Linux , macos and windows if time permits -
but linux on Ubuntu and
my mistake this code in view
view
{{=XML(myscript)}}
/view
You will want to look at components in Chapter 13
On Jan 12, 5:44 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I think you want the LOAD helper.
On Jan 11, 3:42 pm, ivytony ivyt...@gmail.com wrote:
I'm a newb to web2py and have been reading the Web2py book freely
online.
On Jan 11, 2011, at 5:04 PM, Martin.Mulone wrote:
Perhaps I miss something but did you render in a view with
{{=XML(SCRIPT(alert(hi);))}} , and if you want to execute when the page is
loaded you have to put the code in
No need for XML(SCRIPT(xxx)), I don't think.
Either XML
Tks for the suggestions. I should be going with angularjs
http://misko.hevery.com/2010/07/29/a-radically-different-way-of-building-ajax-apps/
http://angularjs.org/
On Jan 12, 2:12 am, pbreit pbreitenb...@gmail.com wrote:
SproutCore, JavaScripMVC and TrimPath come up a lot.
I suggest that we add a testimonials page to web2py.com so that
satisfied users can post their comments.
On Jan 12, 12:23 am, Christopher Steel chris.st...@gmail.com wrote:
If people are interested I will clean mine up a bit and post a link to
the code.
I rolled out another site yesterday (manually, no script---we use
fabric for successive deployments of the web2py applications, but not
for
On Jan 11, 3:54 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I agree that the documentation is broken.
The documentation (online book) appears to be fixed now, unless I
missed the specific one.
65 matches
Mail list logo