I dont know if someone else already mentioned it. But web2py is in the Bossie
awards. ;-)
Congrats
http://www.infoworld.com/d/open-source-software/bossie-awards-2011-the-best-
open-source-software-the-year-171567-1
With regards,
Mike Veltman
Hello Nikolai,
I have created a simple billing application that contains customers,
products, hour tracker (simple) and receipt handling.
If interested I could during the weekend put up a english version of it
(Well swedish too it thats better) so you can check it out.
Kenneth
is there a
This is just a wild guess but I think CSS is doing it.
Kenneth
I wish to render a select box with size="3" sothat it will display 3
items (instead of default size 1)
I specified it in View as under--
opt1
opt2
opt3
etc.
But its height(size) remains unaltered (1).
It displays a scrollba
Title is well deserved! Congratulations to the team.
I am aware about:
tblAlias = db.mytbl.with_alias('tblAlias')
Is there a similar thing that we can use for fields in select()?
As in:
... .select( db.mytbl.id, db.mytbl.id*2 as fld2)
+1
2011/9/8 Noel Villamor :
> Title is well deserved! Congratulations to the team.
I did look into that initially, but I wrote my app before I knew about
that so the scoping users in accounts bit was already done. I'll bear
it in mind for my next project though.
Thanks!
Dave
On Sep 7, 4:11 pm, Anthony wrote:
> I'm not sure if this is relevant to what you're doing, but you mig
About time. ;)
Grats everyone and Massimo in particular!
congrats Massimo, you deserve that
Again the top 5 is missing and the criteria also missing..
just a curiosity where django and rails fitted.
Congrats Massimo and his friend :)
2011/9/8 Vasile Ermicioi
> congrats Massimo, you deserve that
in cgi handler the Path ... what path ?? can anyone give me an
example ??
i sow this :
In order to run web2py as a CGI script just call the cgihandler.py in
the main web2py folder. You may need to add a first line like
#!/usr/local/bin/python2.5
pointing to the local interpreter, follower by
import os; os.chdir('/home/you/web2py/')
so that web2py knows in which fold
On 05/09/2011 21:21, pbreit wrote:
Is there some reason your table definitions depart so significantly from what
is shown in the docs?
If I right understand what you mean... I wanted to develop a plugin that
do not create the tables in the db when it's installed in the app but
let the develope
Thanks for the information. But it seems that I have to buy a licence
to get the full source code. I will look for other solutions.
Kenji
On 9月8日, 午前2:59, Richard Vézina wrote:
> Hello Kenji,
>
> You will maybe find the code of the actual datepicker here
> :http://www.dynarch.com/projects/calen
+1
2011/9/7 wwwgong
> Congratulations!
>
> more details from here:
>
> http://www.infoworld.com/d/open-source-software/bossie-awards-2011-the-best-open-source-application-development-software-171759-0¤t=10&last=1#slideshowTop
>
--
http://martin.tecnodoc.com.ar
On Thu, 08 Sep 2011 10:05:50 +0300
Kenneth Lundström
wrote:
> Hello Nikolai,
>
> I have created a simple billing application that contains customers,
> products, hour tracker (simple) and receipt handling.
>
> If interested I could during the weekend put up a english version of
> it (Well swed
http://stackoverflow.com/questions/119961/select-tags-size-attribute-through-css
2011/9/8 Kenneth Lundström
> This is just a wild guess but I think CSS is doing it.
>
>
> Kenneth
>
>
> I wish to render a select box with size="3" sothat it will display 3
>> items (instead of default size 1)
>>
>
hey guys ,
anyone can tell me how to use cgi in web2py ??
@Kenneth Lundström, @Martín Mulone,
I agree that this is an issue related to css setting.
Somewhere in a /static/css file(s), there is a setting which is
forcing the box of size="1".
Same box is accepting size="1" in a standalone html file
(outside of web2py).
Can anybody pl. point out where, wh
@Kenneth Lundström, @Martín Mulone,
I agree that this is an issue related to css setting.
Somewhere in a /static/css file(s), there is a setting which is
forcing the box of size="1".
Same box is accepting size="1" in a standalone html file
(outside of web2py).
Can anybody pl. point out which is
> hey guys ,
>
> anyone can tell me how to use cgi in web2py ??
If in doubt, always check the online book first...
http://www.web2py.com/book/default/chapter/11?search=cgi
Best regards,
Stefaan.
there is nothing about using CGI just :
web2py provides a file cgihandler.py to interface to CGI.
My jQuery scripts work great, as long as I embed them in the the view
itself.
When I move them out of the view into a file such as 'static/js/some-
jjquery.js', ajax calls cause the script to stop working.
If I comment out the ajax calls, the script works, except for
executing the ajax, of course
Can you show some example code? How are you loading the JS files, making the
Ajax calls, calling functions, etc.?
On Thursday, September 8, 2011 8:01:20 AM UTC-4, Cliff wrote:
>
> My jQuery scripts work great, as long as I embed them in the the view
> itself.
>
> When I move them out of the vie
Seeing some code would help. I also wonder if you have encapsulated your
external js code in something like:
jQuery(document).ready(function() {
});
You can do IIS with WSGI: http://code.google.com/p/isapi-wsgi/ so you
don't host two webservers, but only one.
Hope this helps.
Regards,
Remco Boerma
On 6 sep, 12:03, Web2Py Freak wrote:
> how can i deploy web2py on IIS ??
believe me... web2py in a sharehost using CGI it is very SLOW ! (tested in
iPage)...
On Thu, Sep 8, 2011 at 12:30 PM, Web2Py Freak wrote:
> there is nothing about using CGI just :
>
> web2py provides a file cgihandler.py to interface to CGI.
>
--
Sebastian E. Ovide
Hi listmembers,
I have created a page that contains a list of customers. Every row has
an link to edit it. This link opens a modal window with nyroModal.
But how do I change the size of the modal window?
Kenneth
Best kept secret... not anymore.
Thanks to Massimo and all contributors.
> web2py provides a file cgihandler.py to interface to CGI.
If still in doubt, use google:
http://web2py.com/AlterEgo/default/show/93
(As far as I understand, a cgi program expects input via stdin, and
sends output to stdout,
but I'm by no means an expert)
Best regards,
Stefaan.
Wow !
On Sep 8, 7:55 am, DenesL wrote:
> Best kept secret... not anymore.
> Thanks to Massimo and all contributors.
The 'welcome' app is intended to be a scaffolding upon which to build an
app. The app selector you suggest might be more appropriate for inclusion in
the 'admin' app (where the 'welcome' app could be one of the choices).
On Thursday, September 8, 2011 5:18:42 AM UTC-4, Ramos wrote:
>
> I think t
That would be awesome! Looking forward to it.
On Sep 8, 3:05 pm, Kenneth Lundström
wrote:
> Hello Nikolai,
>
> I have created a simple billing application that contains customers,
> products, hour tracker (simple) and receipt handling.
>
> If interested I could during the weekend put up a english
Congratulations!
I'm glad to see CakePHP and web2py receive an award in the same category.
IMHO, these truly are top frameworks for PHP and python.
Yep i agree.
2011/9/8 Anthony
> The 'welcome' app is intended to be a scaffolding upon which to build an
> app. The app selector you suggest might be more appropriate for inclusion in
> the 'admin' app (where the 'welcome' app could be one of the choices).
>
>
> On Thursday, September 8, 2011 5:
But the idea of António is pretty nice...
Only one problem, the speed of development web2py seems to generate obsolete
code in the applications published that force Massimo to launch adopt an App
movement... I don't know if it as work until now... I think this should be
fixed first, I mean make ev
PING
Richard
On Wed, Aug 17, 2011 at 4:43 PM, Richard Vézina wrote:
> Ok, forget notice, I think, I just should use something like this :
>
> db.table2.linked_self.requires=\
> IS_EMPTY_OR(IS_IN_DB(db,'table2.id','%(field1t2)s',\
> orderby=('field1t2'),multiple=True))
>
> But, still
SQLite is a file DB so it the file is locked when there is operation in
process... I think it become pretty slow when multiple users are on at the
same time... I am not sure if it only allow concurrent access management
correctly...
Richard
On Wed, Sep 7, 2011 at 3:18 AM, Web2Py Freak wrote:
> w
Freak,
which one?
a) you want to run CGI inside web2py?
b) you want to run web2py as CGI?
mic
2011/9/8 stefaan :
>> web2py provides a file cgihandler.py to interface to CGI.
>
> If still in doubt, use google:
>
> http://web2py.com/AlterEgo/default/show/93
>
> (As far as I understand, a cgi progr
Congratulation Massimo and core developpement team...
Richard
On Thu, Sep 8, 2011 at 9:37 AM, LightDot wrote:
> Congratulations!
>
> I'm glad to see CakePHP and web2py receive an award in the same category.
> IMHO, these truly are top frameworks for PHP and python.
>
Hello,
I am using web2py 1.98.2.
The problem is that below instruction fails with error message:
"TypeError: insert() keywords must be strings"
db.table.insert(**dictionary)
While db(query).update(**dictionary) works find.
For now, I have to use as a workaround as below.
bulk_insert( [diction
Congratulation!!
This is something members of this group knew already anyway :) Although,
it's great to have recognition on black and white... or in html, for
everybody to see it. ;)
On 8 September 2011 14:37, LightDot wrote:
> Congratulations!
>
> I'm glad to see CakePHP and web2py receive an
How your dict looks like?
http://zerp.ly/rochacbruno
Em 08/09/2011 11:10, "seongjoo" escreveu:
> Hello,
>
> I am using web2py 1.98.2.
>
> The problem is that below instruction fails with error message:
> "TypeError: insert() keywords must be strings"
>
> db.table.insert(**dictionary)
>
> While db
Fixed - Thanks Massimo, that was fast!
-Jim
http://code.google.com/p/web2py/issues/detail?id=412
On 9/7/2011 4:30 PM, Jim Steil wrote:
Submitted - http://code.google.com/p/web2py/issues/detail?id=412
-Jim
On 9/7/2011 4:25 PM, Martín Mulone wrote:
I think is a bug, please report it:
I'm as eager to know as you are.
So i tried a few things and found the following to work, though
not as they way you'd like it to work:
- [start service snippet]
@service.soap('GetQuote1', returns={'result':{'c':[{'c':float}],'b':
{'name':str,'value':str}}}, args={'symbol':str})
def stock_quo
>From the sqlite site:
SQLite uses POSIX advisory locks to implement locking on Unix. On
Windows it uses the LockFile(), LockFileEx(), and UnlockFile()
system calls. SQLite assumes that these system calls all work as
advertised. If that is not the case, then database corruption can
result. One sh
Another good news!
http://www.infoworld.com/d/open-source-software/bossie-awards-2011-the-best-open-source-application-development-software-171759-0¤t=10&last=1#slideshowTop
On Sep 8, 2:01 am, Mike Veltman wrote:
> I dont know if someone else already mentioned it. But web2py is in the Bossie
> a
And congratulations again to all users and contributors!
On Sep 8, 2:01 am, Mike Veltman wrote:
> I dont know if someone else already mentioned it. But web2py is in the Bossie
> awards. ;-)
>
> Congrats
>
> http://www.infoworld.com/d/open-source-software/bossie-awards-2011-th...
> open-source-sof
No.
On Sep 8, 2:07 am, Noel Villamor wrote:
> I am aware about:
> tblAlias = db.mytbl.with_alias('tblAlias')
>
> Is there a similar thing that we can use for fields in select()?
> As in:
> ... .select( db.mytbl.id, db.mytbl.id*2 as fld2)
Thank you, all. Web2Py books has been really helpful in understanding
this generics feature.
On Aug 30, 3:36 pm, pbreit wrote:
> If you only use generics during development (good practice), put this in
> db.py or another model file:
>
> response.generic_patterns = ['*'] if request.is_local else [
This is a problem indeed.
Anyway, I think it would be a good idea to have a convention about
icons representing apps. Listing all the apps publicly does not belong
in welcome and it is a security hazard. there could be a public page
in admin that does that and admin can be disabled anyway.
On Sep
Please open a ticket.
On Sep 8, 8:57 am, Richard Vézina wrote:
> PING
>
> Richard
>
> On Wed, Aug 17, 2011 at 4:43 PM, Richard Vézina
>
>
>
>
>
>
> > wrote:
> > Ok, forget notice, I think, I just should use something like this :
>
> > db.table2.linked_self.requires=\
> > IS_EMPTY_OR(IS_IN_DB
Running web2py under CGI will result in more headaches then running is
in proxy mode.
On Sep 8, 9:07 am, Michele Comitini
wrote:
> Freak,
>
> which one?
> a) you want to run CGI inside web2py?
> b) you want to run web2py as CGI?
>
> mic
>
> 2011/9/8 stefaan :
>
>
>
>
>
>
>
> >> web2py provides a
What takes time is not fixing the bugs, it is reading emails and
reproducing the errors.
If your email is short and to the point and contains enough code that
runs out of the box and reproduces the bug, it is easy to fix.
This was the case.
massimo
On Sep 8, 9:41 am, Jim Steil wrote:
> Fixed - T
does the web2py-adm...@googlegroups.com still exists?
What do they have about the new admin they talked about months ago?
2011/9/8 Massimo Di Pierro
> This is a problem indeed.
>
> Anyway, I think it would be a good idea to have a convention about
> icons representing apps. Listing all the ap
I came a cross this file and wonder what it does.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
path = os.path.dirname(os.path.abspath(__file__))
except NameError:
path=os.getcwd() # Seems necessary for py2exe
if not path in sys.path:
sys.path.append(path)
Remco,
I'm another guy struggling with IIS.
Following the Receipt 2 for ISAPI and I'm lost at 2.3.2. If possible,
can you explain what I should do from here.
So far, virtual directory "ochibaapp" (Renamed it from appname) is
created under "Default Web Site". I have setup junction for C:\w2p
\appl
I have posted the code in 'View' file at
http://stackoverflow.com/questions/7343374/web2py-view-height-size-of-a-select-box-in
So avoiding the reposting of code here.
---Vineet
On Sep 8, 4:01 pm, Vineet wrote:
> @Kenneth Lundström, @Martín Mulone,
> I agree that this is an issue related to css s
perhaps you want something like this?:
form#yourid select {height: 50px;}
2011/9/8 Vineet
> I have posted the code in 'View' file at
>
> http://stackoverflow.com/questions/7343374/web2py-view-height-size-of-a-select-box-in
> So avoiding the reposting of code here.
>
> ---Vineet
>
> On Sep 8, 4
I'm running web2py on PostGreSQL. I accidentally created a model that
specified a table with column type "double" when I needed "decimal".
Now I'm trying to change it from double to decimal, with no luck. I
deleted all the records, and have used
'migrate=True,fake_migrate=True', and all the varia
hello i´m testing ajax auto completion example as said in the book
it works fine
Now i want to return not the months for the user to select but an image
because i´m testing graphviz dot language!
the user writes for example
a->b
an image is created . It see it in the image in the static folder
t
Drop the table... and recreate it... Use pgAdmin or erase your db model
reload your app... paste your model reload...
Don't need fake migrate just migrate true...
Richard
On Thu, Sep 8, 2011 at 1:36 PM, Eric wrote:
> I'm running web2py on PostGreSQL. I accidentally created a model that
> spe
I forgot that I had create it [?], here it is :
http://code.google.com/p/web2py/issues/detail?id=382&q=list
Thanks to taking care...
Richard
On Thu, Sep 8, 2011 at 11:51 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Please open a ticket.
>
> On Sep 8, 8:57 am, Richard Vézina wr
For myself I made a kind of gate login page like ubuntu... So as long as you
are not loged on you don't access the page and see noting except the login
page...
But, for sure it's not applicable to all situation...
The only problem with my design is that I can't byte compile cause I return
from th
+1
I am new to web2py (I've been using Django), and I am confused about a
couple of things.
First, the presence of multiple controllers.
I am trying to build a main app, called (say) www.example.com.
So I would like to have something like www.example.com/index.html
But if I use the default.py con
This is web2py.py (starts web2py) except you have an extra line
On Sep 8, 11:43 am, annet wrote:
> I came a cross this file and wonder what it does.
>
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> import os
> import sys
>
> try:
> path = os.path.dirname(os.path.abspath(__file__))
> ex
Wow .This is very big!
Congrats Massimo and all the web2py developers!
On Thu, Sep 8, 2011 at 8:45 PM, Ivica Kralj wrote:
> Congratulation!!
> This is something members of this group knew already anyway :) Although,
> it's great to have recognition on black and white... or in html, for
> everyb
Never heard of it before.
On Sep 8, 11:01 am, António Ramos wrote:
> does the web2py-adm...@googlegroups.com still exists?
>
> What do they have about the new admin they talked about months ago?
>
> 2011/9/8 Massimo Di Pierro
>
>
>
>
>
>
>
> > This is a problem indeed.
>
> > Anyway, I think it w
I'm Happy Congrat!
On Sep 7, 10:59 pm, wwwgong wrote:
> Congratulations!
>
> more details from
> here:http://www.infoworld.com/d/open-source-software/bossie-awards-2011-th...
Beunick App sitting on top of Web2py has a new version.
Thanks to Massimo for this great Web2py Tool.
Check it out on: http://www.beunick.com
Drop us some feedback if you can.
Cheers,
Yannick P.
Hello everyone,
1)
I know web2py provides the DAL, however I have already Python code
(let's call it "third party") that connects to a MySql database, has
some classes that hold the data, and returns objects that contain data
that I need to display in the website and not just display but of
course
Luca,
multiple controllers allow you to break your code into logical chunks, so
big projects are more manageable. there are a few different options for URL
routing to make the URLs your user sees something different from the
underlying structure. Take a look in the web2py book for info on the
> I am new to web2py (I've been using Django), and I am confused about
a couple of things.
Welcome to web2py.
> First, the presence of multiple controllers.
Every time a function in the controller is called the whole file is
compiled. By having smaller controller you get an faster application
+1
On Sep 8, 5:59 am, wwwgong wrote:
> Congratulations!
>
> more details from
> here:http://www.infoworld.com/d/open-source-software/bossie-awards-2011-th...
congratulations everyone and thank you Massimo for creating, leading and
keeping the Web2py project so awesome. This is well deserved recognition for
a project that rocks in so very many ways.
*Great framework mean great peoples with great ideas, great technical
knowlwdge and passion !*
Thank to Massimo, to Web2Py developers and all web2py-users group supports
and users peoples.
- Valter
The mp1.png file is in the static directory of my application
The following views/default/index only gives an empty page with
"None" in the top left corner.
{{left_sidebar_enabled=right_sidebar_enabled=False}}
{{extend 'layout.html'}}
{{if 'message' in globals():}}
{{=message}}
#Events
Not sure but I think there is a mistake in your view that should be ok
without it
The # not work to comment a line in the view so try remove your line
completly or you may try with html commenting caracter... But those
don't prevent web2py to interpret the {{=}}, so what I usually do si to
remove
Thanks for the links. I'm still trying to figure out how much to look
for the framework to do and how much to look for client-side
solutions. This helps.
Ian
On Sep 7, 5:48 pm, Anthony wrote:
> Since developers will have different preferences for multiselect widgets and
> it is so easy to plug s
You can select db.mytbl.id*2, but I don't think you can reference the result
with an alias -- you'd have to reference it with something like
rows[0]['(mytbl.id
* 2)']. Of course, for convenience, you could define fld2='(mytbl.id * 2)' and
then do rows[0][fld2].
What do you want to do with the
Have you shown us your entire index() function? If so, your view file isn't
getting called at all because your index function is not returning a
dictionary. Instead, web2py is simply returning whatever your function
returns, which is probably None if the last line is a call to plt.savefig().
Ad
Richard,
To be sure about the comment I made the following view, which had the
same None result
{{extend 'layout.html'}}
Outfile from Matplotlib
regards,
Richard
Op 8-9-2011 22:11, Richard Vézina schreef:
Not sure but I think there is a mistake in your view that should be ok
without
Hi,
I used this css as is (although I did change the background colour to
match my site. however... I'm using the dat picker on a field
displayed in a jquerydialog. the datepicket pops up - behind the
dialog box. I think the z-indexvalue needs bumping up (or is it
down?)
Looks good tho :O)
On Se
The view is not executed. Adding return dict() doesn't have effect. Even
this dict() does not lead to an error.
{{extend 'layout.html'}}
{{if 'message' in globals():}}
Outfile from Matplotlib
return dict()
Op 8-9-2011 22:24, Anthony schreef:
Have you shown us your entire index()
The view need a controller to return a dict variable at least one to be
executed I think...
So maybe your controller has noting to do so you just have created a view
with the code that you want to be executed (the code that you showed us)...
Try returning a empty var from your controller if you h
I have the same problem is you find a solution...
I will try with z-index, but I am not sure if it will work, should pick one
upper the dialog plugin use if it's the source of the problem.
Richard
On Thu, Sep 8, 2011 at 4:34 PM, Paul Gerrard wrote:
> Hi,
>
> I used this css as is (although I di
.calendar{
z-index: 1000;
position: relative;
display: none;
border-right: 1px solid #808080;
border-left: 1px solid #808080;
border-bottom: 1px solid #808080;
font-size: 11px;
color: #9A9A9A;
cursor: default;
background: #fafaed;
font-family: Ari
Wich version of web2py version do you use... The problem you describe hab
been a issue in the past that have been fixed now...
Maybe you have a old version of web2py?
Richard
On Thu, Sep 8, 2011 at 4:16 PM, monotasker wrote:
> Thanks for the links. I'm still trying to figure out how much to lo
It seems that you can initialise dialog with a given zIndex
And the default zIndex that I have in the js is zIndex: 1000
I just read the js and it seems to change between 1000 and 1001... I try
with 1002 in the .calendar css class of "web2py datepicker" and it works
find.
Don't know maybe adding
God... The fix seems to work only for the first trigger of the popup...
Richard
On Thu, Sep 8, 2011 at 5:25 PM, Richard Vézina
wrote:
> It seems that you can initialise dialog with a given zIndex
>
> And the default zIndex that I have in the js is zIndex: 1000
>
> I just read the js and it seems
No, you need to add return dict() to the end of you index() function in your
controller -- not to the view file.
Anthony
On Thursday, September 8, 2011 4:45:51 PM UTC-4, Richard wrote:
>
> The view is not executed. Adding return dict() doesn't have effect. Even
> this dict() does not lead
Ok, putting much more then the basic z-index init of dialog works find at
least...
I don't see when you want a datepicker to be behind an other element?!
Richard
On Thu, Sep 8, 2011 at 5:27 PM, Richard Vézina
wrote:
> God... The fix seems to work only for the first trigger of the popup...
>
> R
haha
I wasn't understand why he was putting that there and I didn't realise it
was a mistake ;-)
Richard
On Thu, Sep 8, 2011 at 5:30 PM, Anthony wrote:
> No, you need to add return dict() to the end of you index() function in
> your controller -- not to the view file.
>
> Anthony
>
>
> On Thur
Components with buttons that are meant for client side scripting are
being reloaded via ajax post request (I think), shouldn't this
behavior be limited to the submit button?.
On Thursday, September 8, 2011 12:52:42 PM UTC-4, Vineet wrote:
>
> I have posted the code in 'View' file at
>
> http://stackoverflow.com/questions/7343374/web2py-view-height-size-of-a-select-box-in
>
> So avoiding the reposting of code here.
>
I left a comment on SO -- still can't replicate
Having multiple controller files gives you the ability to organize your code
and URLs and it works nicely. To hide the app name and/or controller name,
look at the router.example.py file.
All the code in all the files in the "models" directory is executed on each
page request so you can put you
It should be fine using your other database access library. I think you'll
probably want to import the libraries from each controller file. And won't
need to put any of that stuff in model files.
I think reading chapters 00-07 in the Book are a good start (08 if you are
using registration/login
After some thought, I'm really liking this design for virtual
fields... what if lazy/virtual fields were declared directly in
db.define_table()? Like so:
db.define_table('item',
Field('unit_price','double'),
Field('quantity','integer'),
VirtualField
Looks nice. "beunick" is a bit of a strange name. The first thing I think of
is "eunuch" which is not the most pleasant thought.
1 - 100 of 139 matches
Mail list logo