[web2py:25940] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
On Wed, Jul 8, 2009 at 1:55 AM, Yarko Tymciurak wrote: > On Wed, Jul 8, 2009 at 1:45 AM, Hans Donner wrote: > >> >> Hi All, >> >> yarko, are you carrying an ID? So if I want to know who you are you >> show me your ID aren't you? > > > I present those to log in; I don't use those to say "I decid

[web2py:25939] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
On Wed, Jul 8, 2009 at 1:45 AM, Hans Donner wrote: > > Hi All, > > yarko, are you carrying an ID? So if I want to know who you are you > show me your ID aren't you? I present those to log in; I don't use those to say "I decide I am authorized!" > > > So @user.is_loggedin is quite valid, but

[web2py:25938] Re: Web2py vs the world

2009-07-07 Thread SergeyPo
Yarko, imagine a web shop. You have Products class (SQL table) and Users class (SQL table). In RoR you would write a method in Product class: def price_for_user(user_id=nil) if user_id user = User.find(user_id) return self.list_price * (1 - user.discount) else return self.list_pr

[web2py:25937] Re: Web2py vs the world

2009-07-07 Thread Hans Donner
Hi All, yarko, are you carrying an ID? So if I want to know who you are you show me your ID aren't you? So @user.is_loggedin is quite valid, but it depends on your implementation and philosophy. The same goes with DAL and ORM. It depends on what you want. I like both, and it depends on the situ

[web2py:25936] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
Good points, Segey - thanks for the thoughtful exchange. What you say about migrations and maintenance really makes sense. I can't think of any reason this would be incompatible w/ automatic migrations. - Yarko On Wed, Jul 8, 2009 at 1:27 AM, SergeyPo wrote: > > I gave bad example with User.i

[web2py:25935] Re: Web2py vs the world

2009-07-07 Thread SergeyPo
I gave bad example with User.is_logged but obviously having center place where to put model logic is good thing. In web2py I write functions (not methods in OOP sense) into db.py to get reusable code that has to be called from various controllers. In RoR I write methods to DAL classes that are ca

[web2py:25934] rev 1106 complaint

2009-07-07 Thread Jonathan Lundell
Changed Paths: Modify/trunk/VERSION Modify/trunk/gluon/contrib/spreadsheet.py Modify/trunk/welcome.w2p impoved spreadsheet web2py-read-only $ ./web2py.py /Users/jlundell/Projects/web2py/web2py-read-only/gluon/contrib/ spreadsheet.py:222: SyntaxWarning: import * only al

[web2py:25933] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
,,, just to be clear, I am talking about structural ('design') choices in a system, and what makes "natural" sense... choices have implications (and sometimes don't matter too much). In the case of DAL, there is good sense (there is reason for others to make other structural design, and they'

[web2py:25932] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
Sergey, Massimo - Both of you are talking about what is more than "merely syntax", but responsibility. Stepping away from software for a minute, ask yourself: Does a user ask if he is admin? (user.is_admin) Or is it more naturally appropriate that this responsibility lies with some authority,

[web2py:25931] Re: Web2py vs the world

2009-07-07 Thread mdipierro
That's a lot of programming. In web2py you would add the columns by just adding them to the model and you can set a default. The default is used to populate the newly inserted columns. If you need to manipulate the data, since this is done only once, you can write a script to do it and run it fr

[web2py:25930] Re: Web2py vs the world

2009-07-07 Thread SergeyPo
Here is example of migration from my RoR application. It is intranet application that is deployed in many locations (many clients) so needs to be repeated at every server. class WatchdogTimerField < ActiveRecord::Migration def self.up #add columns to various tables add_column :alarm_de

[web2py:25929] Re: checkbox group and request.vars type

2009-07-07 Thread mr.freeze
That makes sense. Thanks for indulging me. On Jul 7, 11:59 pm, mdipierro wrote: > More precisely, this is how the Pyhton cgi module parses multiple > submissions of the same variable (as a list). The reason it does not > return a list if you select only one is because of html specs: the cgi > m

[web2py:25928] Re: Web2py vs the world

2009-07-07 Thread mdipierro
1. I agree that RoR migrations are more powerful but web2py can update the data too. Can you provide an example of something you can do in RoR migrations that you believe cannot be done in web2py? 2. That is a major philosophical difference. Most people including me believe that a proper mapping

[web2py:25927] Re: Web2py vs the world

2009-07-07 Thread SergeyPo
I like web2py and prefer it over RoR but two things I am missing: 1. migrations (RoR migrations are really more powerful, you write the script that not only changes database scheme but also can update data, you have full control etc.) 2. models (web2py model layer is purely database layer which yo

[web2py:25926] Re: checkbox group and request.vars type

2009-07-07 Thread mdipierro
More precisely, this is how the Pyhton cgi module parses multiple submissions of the same variable (as a list). The reason it does not return a list if you select only one is because of html specs: the cgi module has no way of knowing it is possible to select more than one. On Jul 7, 11:56 pm, md

[web2py:25925] Re: checkbox group and request.vars type

2009-07-07 Thread mdipierro
This has nothing to do with web2py. This is how HTML was designed and one of the reasons it sucks. web2py FORM.accepts and validators have to just hoops to deal with things like this. Massimo On Jul 7, 11:43 pm, "mr.freeze" wrote: > Red > Yellow > Blue > Orange > Green > Purple > > If I check

[web2py:25924] checkbox group and request.vars type

2009-07-07 Thread mr.freeze
Red Yellow Blue Orange Green Purple If I check more than one item request.vars.color is a list If I check only one item request.vars.color is a string It's easy enough to type check it but was just curious if it is by design. It threw me off because my loop that was returning single letters when

[web2py:25923] ajax + jquery

2009-07-07 Thread kozo
hi all, i need a basic understanding of ajax^^ i have a dynamic table filled with an ajax call.i want to paginate the table with an jquery plugin. my problem is when i put the script into the ajax page, it paginates well but doesnt get transportet into target div of mainpage. there i get full l

[web2py:25922] ajax and plugins

2009-07-07 Thread kozo
hi all, i need a basic understanding of ajax^^ i have a dynamic table filled with an ajax call.i want to paginate the table with an jquery plugin. my problem is when i put the script into the ajax page, it paginates well but doesnt get transportet into target div of mainpage. there i get full l

[web2py:25921] Re: new chapters for the book CRUD and AUTH

2009-07-07 Thread Yarko Tymciurak
Yes - count me in also... On Tue, Jul 7, 2009 at 9:25 PM, DenesL wrote: > > Count me in, as always. > Denes. > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this gro

[web2py:25920] Re: new chapters for the book CRUD and AUTH

2009-07-07 Thread DenesL
Count me in, as always. Denes. --~--~-~--~~~---~--~~ 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 group, send email to

[web2py:25919] Re: file in table

2009-07-07 Thread mdipierro
do you have a function def download(): return response.download(request,db) in default.py? On Jul 7, 7:30 pm, pk wrote: > the browser shows me invalid function > > On 8 Jul., 02:26, mdipierro wrote: > > > /appname/default/download/ > > project.plogo.b61441d00860d943.4c6f676f2e706e67.png >

[web2py:25918] Re: file in table

2009-07-07 Thread pk
the browser shows me invalid function On 8 Jul., 02:26, mdipierro wrote: > /appname/default/download/ > project.plogo.b61441d00860d943.4c6f676f2e706e67.png > > On Jul 7, 6:38 pm, pk wrote: > > > for example i can read the child in the xml from flex and get this: > > > > project.plogo.b61441d00

[web2py:25917] Re: file in table

2009-07-07 Thread mdipierro
/appname/default/download/ project.plogo.b61441d00860d943.4c6f676f2e706e67.png On Jul 7, 6:38 pm, pk wrote: > for example i can read the child in the xml from flex and get this: > > project.plogo.b61441d00860d943.4c6f676f2e706e67.png > > > as String = project.plogo.b61441d00860d943.4c6f676f2e7

[web2py:25916] Re: GAE Recommendation for web2py app - Tutorial Site (wiki/blog) - Google Application Engine

2009-07-07 Thread mdipierro
looks nice. there is an unmacthed tag at the end On Jul 7, 6:38 pm, Victor wrote: > On Jul 7, 5:12 pm, Rob McC wrote: > > > > > First, web2py looks like an exciting framework, one that I wish to > > learn. > > > I admire the efforts of Massimo for moving  web2py  forward. It must > > require a

[web2py:25915] Re: file in table

2009-07-07 Thread pk
for example i can read the child in the xml from flex and get this: project.plogo.b61441d00860d943.4c6f676f2e706e67.png as String = project.plogo.b61441d00860d943.4c6f676f2e706e67.png but how can i now load this picture ?? (over the url) On 8 Jul., 01:18, mdipierro wrote: > I get that part.

[web2py:25914] Re: GAE Recommendation for web2py app - Tutorial Site (wiki/blog) - Google Application Engine

2009-07-07 Thread Victor
On Jul 7, 5:12 pm, Rob McC wrote: > First, web2py looks like an exciting framework, one that I wish to > learn. > > I admire the efforts of Massimo for moving  web2py  forward. It must > require a ton of time. > > I have it working on my Mac, and I am comfortable with getting apps to > GAE. > -

[web2py:25913] Re: file in table

2009-07-07 Thread mdipierro
I get that part. I still do not understand the problem without an example. On Jul 7, 6:10 pm, Yarko Tymciurak wrote: > I think pk may be doing xml databinding with flex, which Oracle and Postgres > and IBM's DB2 support; > > I was first made aware of it when starting Bruce Eckel's "First Steps I

[web2py:25912] Re: file in table

2009-07-07 Thread Yarko Tymciurak
I think pk may be doing xml databinding with flex, which Oracle and Postgres and IBM's DB2 support; I was first made aware of it when starting Bruce Eckel's "First Steps In Flex" book... and wondered how to connect this with web2py - xml to the controller? xml all the way back to the db? I just

[web2py:25911] Re: Web2py vs the world

2009-07-07 Thread mdipierro
My experience is that the database is the bottleneck, in particular if the database is not local. Massimo On Jul 7, 6:03 pm, Yarko Tymciurak wrote: > On Tue, Jul 7, 2009 at 5:56 PM, mr.freeze wrote: > > > >>I am not an expert, but since I found out about your web2py, I am > > speechless. > >

[web2py:25910] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
On Tue, Jul 7, 2009 at 5:56 PM, mr.freeze wrote: > > >>I am not an expert, but since I found out about your web2py, I am > speechless. > > That was my reaction too. web2py was the only framework I found that > let me focus on actual web development and not get bogged down by > idiosyncratic temp

[web2py:25909] Re: file in table

2009-07-07 Thread mdipierro
I do not understand the problem. On Jul 7, 5:45 pm, pk wrote: > thanks, > but if i need the filename from the xml > because i reed the xml from flex > and i will show the file in a datagrid > > On 8 Jul., 00:36, mdipierro wrote: > > > assuming > > >   db.define_table('mytable',Field('myimage','

[web2py:25908] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
that is to say, in RoR you create a migration class - and you run a migration. web2py, you just update your table definition. If "migrations" are not "False" for that table, the web2py automatically does an "up" migration (in ROR terminology); There is no automatic "down" migration in web2py (t

[web2py:25907] Re: Web2py vs the world

2009-07-07 Thread mr.freeze
>>I am not an expert, but since I found out about your web2py, I am speechless. That was my reaction too. web2py was the only framework I found that let me focus on actual web development and not get bogged down by idiosyncratic templating languages and quirks of other people's imaginations. It

[web2py:25906] Re: Web2py vs the world

2009-07-07 Thread mdipierro
It is different. As far as I understand, in rails you create migration file and you specify how tables have to change to go from A to B, from B to C, etc. Each step is a migration. In web2py you do not need to write those migration files. web2py just compares the previous table definitions with

[web2py:25905] Re: file in table

2009-07-07 Thread Yarko Tymciurak
so... you are doing xml databining in flex? saving all your data in xml in the database? On Tue, Jul 7, 2009 at 5:45 PM, pk wrote: > > thanks, > but if i need the filename from the xml > because i reed the xml from flex > and i will show the file in a datagrid > > > On 8 Jul., 00:36, mdipierro

[web2py:25903] Re: Web2py vs the world

2009-07-07 Thread eric cs
Hey Yarko, about migrations with big apps. How things are done with Rails apps, then? Is Rails make possible to work with migration with big apps and upgrade, how is this diferent from we2py? Thanks. On Jul 7, 6:30 pm, Yarko Tymciurak wrote: > On Tue, Jul 7, 2009 at 4:53 PM, Fran wrote: >

[web2py:25904] Re: file in table

2009-07-07 Thread pk
thanks, but if i need the filename from the xml because i reed the xml from flex and i will show the file in a datagrid On 8 Jul., 00:36, mdipierro wrote: > assuming > >   db.define_table('mytable',Field('myimage','upload')) > > and a controller > >   def download(): return response.download(re

[web2py:25902] Re: file in table

2009-07-07 Thread mdipierro
assuming db.define_table('mytable',Field('myimage','upload')) and a controller def download(): return response.download(request,db) than the URL is http://hostname:port/[app]/[controller]/download/[filename] and filename is the one stored in db.mytable.myimage, not the original filenam

[web2py:25901] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
On Tue, Jul 7, 2009 at 4:53 PM, Fran wrote: > > On Jul 7, 10:36 pm, eric cs wrote: > > I'm just wondering to do big e-commerce sites like > > www.taget.com or www.bestbuy.com isn't web2py enough, or does it need > more maturity? > > I imagine that a serious site like this would have a team behin

[web2py:25898] file in table

2009-07-07 Thread pk
hi, how can i access to the url of a image which i load up in the table. because i have another application (not web2py) and read the table with xml. now i need to access to the file. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed

[web2py:25900] Re: Web2py vs the world

2009-07-07 Thread eric cs
Wow Massimo him self, that alone is awesome. I am not an expert, but since I found out about your web2py, I am speechless. Looks like so good that must hava a flaw,,,hehehe, you know what I am saying. I bet more people know about it they will quit other frameworks. How does it compare to java's sp

[web2py:25899] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
On Tue, Jul 7, 2009 at 4:36 PM, eric cs wrote: > Awesome guys, I still can't believe..hheheh > I just mention that to a django guys and he called web2py a mini-framework > and django is more feature for big apps. > Do you agree with that? I don't know - Massimo has had more direct experience w

[web2py:25897] Re: Web2py vs the world

2009-07-07 Thread eric cs
Fran thanks for the reply, but about those problems how rails,zend,django would be diferent. I understand orm for big sites can be slow, but just that right? Thanks. On Jul 7, 5:53 pm, Fran wrote: > On Jul 7, 10:36 pm, eric cs wrote: > > > I'm just wondering to do big e-commerce sites like > >w

[web2py:25896] Re: Web2py vs the world

2009-07-07 Thread mdipierro
Sure... ask him which feature does Django have that we do not have, than check in with us. Just some examples of features for dealing with BIG apps. 1) web2py can connect with multiple databases (even different types) at the same time. If those databases are postgresql web2py can do distributed t

[web2py:25895] Re: Web2py vs the world

2009-07-07 Thread Fran
On Jul 7, 10:36 pm, eric cs wrote: > I'm just wondering to do big e-commerce sites like > www.taget.com or www.bestbuy.com isn't web2py enough, or does it need more > maturity? I imagine that a serious site like this would have a team behind it which may mean you wouldn't get all the benefits o

[web2py:25894] Re: Web2py vs the world

2009-07-07 Thread eric cs
Awesome guys, I still can't believe..hheheh I just mention that to a django guys and he called web2py a mini-framework and django is more feature for big apps. Do you agree with that? I am not a Django guy so I don't know but native orm,scalfolding,migrations,admin, this community...just amazing, I

[web2py:25893] Re: Web2py vs the world

2009-07-07 Thread Yarko Tymciurak
well, and there is so much more than that - it's hard to describe sometimes... Have a running site in web2py? User request means adding something to that user table they / you forgot to think about? No problem - first live update (which is scary) goes without a hitch (adding a new field to an

[web2py:25892] Re: List of web hosting for Web2py

2009-07-07 Thread Yannick
Thank You... Interesting... On Jul 7, 3:22 pm, Yarko Tymciurak wrote: > http://forum.webfaction.com/viewtopic.php?id=2373 > > I need to update my site to current web2py (which I have not done yet - > still running 1.56). > > On Tue, Jul 7, 2009 at 2:08 PM, Yannick wrote: > > > Oh thx Yarko for

[web2py:25891] Re: Web2py vs the world

2009-07-07 Thread mdipierro
John is making an excellent point here. web2py is the only framework committed to be backward compatible despite the fact that we add new features every day. For the last two years we have maintained the promise without the need to jump any hoops and without problems. Also we never had any securi

[web2py:25890] Re: List of web hosting for Web2py

2009-07-07 Thread Yarko Tymciurak
No shame - just priorities / time No immediate need to update the 1.56 (it runs well; I personally know the guy that wrote it ;-) On Tue, Jul 7, 2009 at 3:22 PM, mdipierro wrote: > > > I need to update my site to current web2py (which I have not done yet - > > still running 1.56). > > Sham

[web2py:25889] Re: MySQLdb stored procedure oddness

2009-07-07 Thread Yarko Tymciurak
Are you calling these stored procedures directly with executesql(), or are they called by triggers or db views? Immediately, I can imagine an issue occuring if the SP changes a value which is in an open web2py table connection (cache), so I'd be interested to know more about context, if you are co

[web2py:25888] Re: Web2py vs the world

2009-07-07 Thread JohnMc
eric, Web2Py's saving grace -- you won't have to do it twice unless you want to. I have some code that is about a year old and that code still works on the current web2py releases today. I have had no complaints on speed. The ORM is as expressive as any other out there. Massimo is working on a n

[web2py:25887] Re: List of web hosting for Web2py

2009-07-07 Thread mdipierro
> I need to update my site to current web2py (which I have not done yet - > still running 1.56). Shame on you, Yarko! LOL --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this

[web2py:25886] Re: Web2py vs the world

2009-07-07 Thread mdipierro
Mind that that document is old and does not reflect recent changes in web2py and in the other frameworks. Nevertheless it is a good place to learn about differences in syntax. On Jul 7, 1:49 pm, "mr.freeze" wrote: > Have you seen > this?:http://mdp.cti.depaul.edu/examples/static/web2py_vs_other

[web2py:25885] Re: GAE Recommendation for web2py app - Tutorial Site (wiki/blog) - Google Application Engine

2009-07-07 Thread mdipierro
Hi Rob, I do not have a good sense of which apps posted on applicances/ work on GAE and which ones do not because I have not written them all myself. Reddish works with a minor bug but I would not reccomend it because if not based on the new Auth therefore I consider it obsolete and to be rewritt

[web2py:25884] Re: IS_NOT_IN_DB() and no automatic drop box

2009-07-07 Thread mdipierro
You are getting an error at this line: File "/Library/Python/2.5/site-packages/web2py/applications/cms/ models/db.py", line 281, in db.bedrijfactiviteit.activiteit['requires'] =db.bedrijfactiviteit.activiteit.requires TypeError: 'SQLField' object does not support item assignment but that

[web2py:25883] MySQLdb stored procedure oddness

2009-07-07 Thread ae
I use stored procedures for everything in my web2py application. All of a sudden, I'm having a strange issue with certain stored procedures. It seems to be stored procedures that call other stored procedures. I've worked around the issue to some degree. I am not able to replicate this through

[web2py:25882] Re: speaking of IDEs...

2009-07-07 Thread Yarko Tymciurak
On Tue, Jul 7, 2009 at 2:26 PM, Jonathan Lundell wrote: > > On Jul 7, 2009, at 12:12 PM, Yarko Tymciurak wrote: > > > stepping thru selectively with something like WingIDE > > > I haven't been using an IDE, and I'm interested in starting. > > I've been looking at Komodo, partly because it support

[web2py:25881] speaking of IDEs...

2009-07-07 Thread Jonathan Lundell
On Jul 7, 2009, at 12:12 PM, Yarko Tymciurak wrote: > stepping thru selectively with something like WingIDE I haven't been using an IDE, and I'm interested in starting. I've been looking at Komodo, partly because it supports some other languages that I use. I've tried Eclipse+Pydev, but give

[web2py:25880] Re: List of web hosting for Web2py

2009-07-07 Thread Yarko Tymciurak
http://forum.webfaction.com/viewtopic.php?id=2373 I need to update my site to current web2py (which I have not done yet - still running 1.56). On Tue, Jul 7, 2009 at 2:08 PM, Yannick wrote: > > Oh thx Yarko for the note... Do you have the link of Webfaction that > describe how to set up web2py

[web2py:25879] Re: _action='.'

2009-07-07 Thread Yarko Tymciurak
stepping thru selectively with something like WingIDE can help you see how requests get parsed, and how applications and controllers get invoked per request. It may seem a little tedious first time to figure out what calls are "too much detail" and which are "essential" but I would argue that the

[web2py:25878] Re: List of web hosting for Web2py

2009-07-07 Thread Yannick
Oh thx Yarko for the note... Do you have the link of Webfaction that describe how to set up web2py ? because from the site I see other framework like Django, cherrypy etc... but not Web2py... Thanks On Jul 6, 3:25 pm, Yarko Tymciurak wrote: > I think your request is a good one: > > -  A blog-li

[web2py:25877] Re: _action='.'

2009-07-07 Thread Fran
On Jul 7, 7:30 pm, Jonathan Lundell wrote: > Massimo, a chapter in the manual on web2py plumbing would be helpful.   > Not every detail, but enough to give a newcomer the lay of the land, a   > guide to browsing the source. What's the startup sequence, what   > happens when a request is received,

[web2py:25876] Re: Web2py vs the world

2009-07-07 Thread mr.freeze
Have you seen this?: http://mdp.cti.depaul.edu/examples/static/web2py_vs_others.pdf On Jul 7, 12:58 pm, eric cs wrote: > Guys I just knew this framework and really I can't believe it > Several people say good things about Django but web2py looks like way > better. > So I would ask you to co

[web2py:25875] Re: _action='.'

2009-07-07 Thread Jonathan Lundell
On Jul 7, 2009, at 11:08 AM, Yarko Tymciurak wrote: > to be visible throughout your application, you can put it in any > file in your models folder (if you want it to be visible in your > db.py or other files in models, remember that files are read in > alphabetical order in that file - so

[web2py:25874] Re: Check to delete doesn't delete record.

2009-07-07 Thread Yarko Tymciurak
On Tue, Jul 7, 2009 at 10:21 AM, Jason Brower wrote: > > http://web2py.com/examples/default/download > but it's only the code that is being used... not the launchpad site, > web2py doesn't use all the launchpad featureset. ...not sure what you mean... > > > > On Tue, 2009-07-07 at 08:15 -0700

[web2py:25873] Re: Web2py vs the world

2009-07-07 Thread Jason Brower
The code is and stays very organized. I work on a powerful system built on Java. But when I make changes to the web application built on java... I program in python(with jython) Python is a more organized language. Really easy to learn, and actively being developed. If you like java run web2py in

[web2py:25872] Re: _action='.'

2009-07-07 Thread Yarko Tymciurak
to be visible throughout your application, you can put it in any file in your models folder (if you want it to be visible in your db.py or other files in models, remember that files are read in alphabetical order in that file - so for example db.py would not see utils.py if both were in the models

[web2py:25871] Web2py vs the world

2009-07-07 Thread eric cs
Guys I just knew this framework and really I can't believe it Several people say good things about Django but web2py looks like way better. So I would ask you to compare web2py to Rails,Django,Zend,Spring and tell me the cons and pros and tell me some stuff that 2py doesn't do? Any limitations

[web2py:25870] GAE Recommendation for web2py app - Tutorial Site (wiki/blog) - Google Application Engine

2009-07-07 Thread Rob McC
First, web2py looks like an exciting framework, one that I wish to learn. I admire the efforts of Massimo for moving web2py forward. It must require a ton of time. I have it working on my Mac, and I am comfortable with getting apps to GAE. -

[web2py:25869] GIMP CSS tool

2009-07-07 Thread JohnMc
For anyone that uses GIMP for graphics work there is a plug in to create a CSS/XHTML of a given image. http://my.opera.com/area42/blog/cssdev-for-gimp A work in progress but shows promise. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[web2py:25868] Re: IS_NOT_IN_DB() and no automatic drop box

2009-07-07 Thread annet
Massimo, I will try and give you a translated example which is probable easier to understand. I have two tables: db.define_table('company', db.Field('company_name',length=54,default='',notnull=True), db.Field(...), migrate=False) db.define_table('activity', db.Field ('activity_

[web2py:25867] Re: BUG: updating profile requires logout...

2009-07-07 Thread mdipierro
sorry. I must have missed your message about this. It is fixed now and I am uploading to trunk. Massimo On Jul 7, 10:19 am, Jason Brower wrote: > I am getting complaints about a bug I reported a while ago. > When people update their profile, people have to logout and back in to > see the change

[web2py:25866] Re: Check to delete doesn't delete record.

2009-07-07 Thread Jason Brower
http://web2py.com/examples/default/download but it's only the code that is being used... not the launchpad site, web2py doesn't use all the launchpad featureset. On Tue, 2009-07-07 at 08:15 -0700, annet wrote: > Massimo, > > Problem solved. Thanks. > > By the way: I couldn't find a link on the

[web2py:25865] Re: Check to delete doesn't delete record.

2009-07-07 Thread mdipierro
It is under downloads On Jul 7, 10:15 am, annet wrote: > Massimo, > > Problem solved. Thanks. > > By the way: I couldn't find a link on the web2py site to > bazaar.launchpad.net, did I overlook it or is it just not there? > > Kind regards, > > Annet. --~--~-~--~~~---~

[web2py:25864] BUG: updating profile requires logout...

2009-07-07 Thread Jason Brower
I am getting complaints about a bug I reported a while ago. When people update their profile, people have to logout and back in to see the change. Is there a setting I haven't set for this? Regards, Jason --~--~-~--~~~---~--~~ You received this message because yo

[web2py:25863] Re: Check to delete doesn't delete record.

2009-07-07 Thread annet
Massimo, Problem solved. Thanks. By the way: I couldn't find a link on the web2py site to bazaar.launchpad.net, did I overlook it or is it just not there? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[web2py:25862] Re: IS_NOT_IN_DB() and no automatic drop box

2009-07-07 Thread mdipierro
I have a hard time figuring out what you are trying to do because your field names do not mean anything to me. I may have given and I may be giving wrong suggestions as a result. It would help if you could translate the field names. Anyway, try adding the last line: db.adres.adressoort.requires=[

[web2py:25861] Re: Check to delete doesn't delete record.

2009-07-07 Thread mdipierro
You are using an experimental feature that is (was) under development. For now replace this line record=db.nfa[request.args[0]] with this line record=request.args(0) and it will work. The problem is that crud(table,record), record should be a record id, not an actual record. I was wor

[web2py:25860] Re: Static files listing in appadmin

2009-07-07 Thread mdipierro
Two possibilities are: 1) place the files you generate in 'private' not 'static' and build a controller to serve them 2) modify your copy of admin Massimo On Jul 7, 4:02 am, SergeyPo wrote: > I place several large js libraries into 'static' directory, also my > application generates MANY graphi

[web2py:25859] Re: _action='.'

2009-07-07 Thread Jonathan Lundell
On Jul 6, 2009, at 8:55 PM, mdipierro wrote: > You can already define something like: > > def url(f,args=request.args): return URL(r=request,f=f,args=args) > > I always do it together with some of my other favorite shortcuts. Where does one put something like that, in order to be visible throu

[web2py:25858] Re: Check to delete doesn't delete record.

2009-07-07 Thread mdipierro
Which version exactly are you using? I need the date. Massimo On Jul 7, 12:55 am, annet wrote: > It is not just the check to delete that doesn't work, when I update > the record and click submit the update isn't being executed either. > > Kind regards, > > Annet. --~--~-~--~~---

[web2py:25857] Re: web2py on apache with fastcgi

2009-07-07 Thread giohappy
Sorry Alexei for my delay, but (I don't know why) I don't receive email updates about this thread... The page that doesn't work for me is http://www.web2py.com/AlterEgo/default/show/66 The other is ok... Bye On 2 Lug, 05:47, Alexei Vinidiktov wrote: > Did the method work on Windows? > > I've j

[web2py:25856] Static files listing in appadmin

2009-07-07 Thread SergeyPo
I place several large js libraries into 'static' directory, also my application generates MANY graphical files into this dir. Is it possible to display only "standard" directories in static? Otherwise loading app admin page takes too much time/memory as it loads thusands of file names that are sto