Massimo,
The validators now read like:
db.adres.adressoort.requires=[IS_IN_DB(db,db.adressoort.id,'%(soort)
s',orderby=db.adressoort.id),IS_NOT_IN_DB(db
(db.adres.bedrijf==request.vars.bedrijf),db.adres.adressoort)]
tmp=SQLField
('adressoort',db.adressoort,requires=db.adres.adressoort.requires[0
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.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py W
These functions in a controller:
@auth.requires_membership('tier1_manager')
def crud_nfa():
response.functionname='Manage nfa-gegevens'
db.nfa.bedrijf.writable=False
db.nfa.bedrijf.default=auth.user.bedrijf
form=create_form(db.nfa)
records=db((db.nfa.bedrijf==auth.user.bedrijf
Ach - I see why you are so protective of the user base, and all your
efforts, long hours and fine teachings.
Let it not get in the way of stepping back now and then, and looking,
seeing...
there is no shame in reality...
On Tue, Jul 7, 2009 at 12:01 AM, Yarko Tymciurak wrote:
>
> On Mon, Jul 6
On Mon, Jul 6, 2009 at 7:00 PM, mdipierro wrote:
>
> Yarko,
>
> we should not transform a strength into a weakness.
Massimo, Massimo, Massimo -
Facts are neither strength or weakness (these words from you seem strange
indeed).
> As I stressed many
> times web2py is mostly used to develop int
same problem with another field:
it is defined as
db.Field('impressions','integer'),
but impressions=r._extra[db.ans_dashboard_report.impressions.sum()] is
returning decimal instead of integer !!!
the strange thing is than on another machine it gives me integer...
any ideas ?
On Thu, Jul 2, 2
I do not think this needs to be in web2py.
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.
Massimo
On Jul 6, 8:06 pm, Jonathan Lundell wrote:
> On Jul 6, 2009, at 2:10 P
I think I good information to put in 'auth' section, besides the "Renaming
Auth tables" is how translate auth tables fields:
db.auth_user.first_name.label=T("First Name")
etc.
etc.
I take some time to figure how get it.
IDEA: I sugest, to make web2py more friendly to l10n, the labels was default
Thank you. I am going to work on this probably one or two more weeks.
Than I will post here a list if screenshots that are needed and some
guidelines.
I cannot promise much in return other than a mention in the book and a
copy of the final version to all those who help.
Massimo
On Jul 6, 9:47 p
I would be willing to do screen shots if you are looking for a
volunteer.
JohnMc
On Jul 6, 7:49 pm, mdipierro wrote:
> Let me add that most of the the other chapters have already been
> revised, although need some proofreading.
>
> Only one chapter needs to be added the book (a short one, about
I look forward to this new edition.
Mike
On Jul 6, 6:20 pm, net wrote:
> This is just in time! I'm starting to add AUTH functions to the app
> I'm working on
> so I'll read both chapters and provide feedback.
>
> Sterling
>
> On Jul 6, 7:09 pm, Massimo Di Pierro wrote:
>
>
>
> > Here are two v
This is just in time! I'm starting to add AUTH functions to the app
I'm working on
so I'll read both chapters and provide feedback.
Sterling
On Jul 6, 7:09 pm, Massimo Di Pierro wrote:
> Here are two very very draft chapters for the second edition of the
> book.
> Chapter 7 has been amended t
Let me add that most of the the other chapters have already been
revised, although need some proofreading.
Only one chapter needs to be added the book (a short one, about web
services) and two chapters still need some revision. Aside for that
all
new features are stable and described in the book.
On Jul 6, 2009, at 2:10 PM, mdipierro wrote:
>
> _action=URL(r=request))
>
> is probably fine
>
> _action=URL(r=request,args=request.args))
>
> to be user
Because valid html requires a non-empty action, I'd like to make the
effort to specify self-submission as easy as possible. I've been
thi
Let me add that only one chapter needs to be added the book (about web
services) and two chapters need minor revisions. Aside for that all
new features are stable and described in the book. If I get some help
with proofreading and screenshots I can have a web2py book 2nd edition
in by the end of J
Yarko,
we should not transform a strength into a weakness. As I stressed many
times web2py is mostly used to develop intranet apps in corporate
environments (small and medium size businesses).
There are people do not want to say what they are doing with web2py
and do not want to advertise that t
+1
On Jul 6, 3:48 pm, Yarko Tymciurak wrote:
> On Mon, Jul 6, 2009 at 3:13 PM, mdipierro wrote:
>
> > I understand what you are trying to say but when you say "no one is
> > using web2py" gives people the wrong impression and not the correct
> > one. It is not fair to member of this community w
I must say that I grow even more impressed with this framework as time
goes by :)
On Jul 6, 2:53 pm, mdipierro wrote:
> hey... web2py does this automatically if you use an input checkbox
> with class="delete". No JS needed.
>
> Massimo
>
> On Jul 6, 3:57 pm, NetAdmin wrote:
>
> > Hello All,
>
>
On Mon, Jul 6, 2009 at 5:48 PM, Yarko Tymciurak wrote:
>
> On Mon, Jul 6, 2009 at 3:13 PM, mdipierro wrote:
>
>>
>> .
>
>
>
>>
>> http://www.whitepeaksoftware.com/ uses web2py for their web site
>
>
> For purposes of showing web2py look and feel, this is just a website front
> done in web2
On Mon, Jul 6, 2009 at 3:13 PM, mdipierro wrote:
>
> I understand what you are trying to say but when you say "no one is
> using web2py" gives people the wrong impression and not the correct
> one. It is not fair to member of this community who use web2py.
Massimo - "no one is using..." are you
mdipierro :
Some people are interested in features as a way to get the job
> done better and quicker. I am working for this second class of users.
> I am interested in building a community for these people.
I like that statement. Keen to see what follows up.
I mean, you add neice little features
On Jul 5, 2009, at 11:59 PM, mdipierro wrote:
> Why is that? I think there are multiple answers.
>
> One is that the python community still perceives web2py as a one man
> project. You people need to brag more about it and about your
> contribution.
To the extent that the "one-man project" chara
It looks very good mr. freeze. On my system it is "horizontally
challenged" however. Do you really need four columns in the layout or
could you stack the "new" slices and the "favorite" slices?
Sites should be usable without too much scrolling in an 800x600
window. That may not be possible in
hey... web2py does this automatically if you use an input checkbox
with class="delete". No JS needed.
Massimo
On Jul 6, 3:57 pm, NetAdmin wrote:
> Hello All,
>
> I'm trying to display records in a table, that has a button at the end
> of each row, that calls a JavaScript popup to confirm the de
Hello All,
I'm trying to display records in a table, that has a button at the end
of each row, that calls a JavaScript popup to confirm the delete.
I'm stuck and would appreciate any help anyone can offer.
Some of the code is attached.
Thanks!
Sterling