Hello,
I got "value not in database" helpers message when I select more then
one entry of the dropbox... The problem is coming from the web2py recent
update 1.80.1, 1.81.4. The same app with 1.79.2 no problem (I package
app from 1.80.1 and install it in 1.79.2).
Here my function code :
db.a
Hello,
I just install 1.81.4 and open the welcome app with Google Chrome and
the layout is pretty weird... With Firefox no problem.
Jonhy
:'(
shameful
Jonhy
On 2010-07-19 14:34, mr.freeze wrote:
ll the updated style sheets.
dipierro wrote:
I do not see any obvious problem anyhow... if you installed
plugin_wiki from cube2py you get all multiselect get automatically the
plugin and this works out of the box.
On Jul 19, 1:27 pm, Jean-Guy wrote:
I attach a app built with 1.81.4 that make the problem...
defau
problems.
Massimo
On Jul 19, 2:15 pm, Jean-Guy wrote:
You don't get the "value not in database" when you select more the one
element??
Here I can't submit here.
I didn't follow to much the last weeks what is cube2py exactly. My
understanding is that it is a demo app tha
Hello,
Can't understand what is the syntax to use the jqgrid plugin available
inside of plugin_wiki in "standard" web2py app (in controller).
Everything works in the cube, I would use the jqgrid of plugin_wiki in
my app since it seam that it will be actualize regularly in the future.
Thanks
Hello,
Can't understand what is the syntax to use the jqgrid plugin available
inside of plugin_wiki in "standard" web2py app (in controller).
Everything works in the cube, I would use the jqgrid of plugin_wiki in
my app since it seam that it will be actualize regularly in the future.
Thanks.
Hello,
I would like to use data dictionnary stored in database to define field
label and comment. The comment is used to provide help to users...
I am wondering what could have the smaller impact on database performance :
1) create a python dictionnary like this :
dictname = {fieldlablename:
This page :
http://web2py.com/book/default/section/6/8?search=export+
Search in the page for :
qoute
Should be quote?!
I can't help you at this stage, but in the book there is a section for
ajax and javascript recipe that could help.
Jonhy
On 2010-07-27 17:00, ilovesss2004 wrote:
How to write it in javascript? e.g.
onclick=URL(request.application,'controllerName','FunctionName.load'),
ajax=True)?
On Jul 27, 1
This will reduce the extra database access to a single query per hour
(3600). so no overhead.
On Jul 27, 2:18 pm, Jean-Guy wrote:
Hello,
I would like to use data dictionnary stored in database to define field
label and comment. The comment is used to provide help to users...
I am wonderin
Compile it :
http://web2py.com/book/default/section/3/10?search=compilation
Search in page for : compilation
Jonhy
PS.: Compiled code can be decompiled
On 2010-07-29 09:56, ilovesss2004 wrote:
web2py. Can someone tell me how to prevent
others from viewing source
Of course yes! It is the HTML nature and the Web paradigm is based on
this state of affairs...
Maybe the python code embeded could be compiled too, but really not sure
about that... Massimo could be a better help on that.
Jonhy
On 2010-07-29 10:12, ilovesss2004 wrote:
source code of html
Hello,
I define the way to show the id field in crud.read like this :
db.atable.othertablefield_id.represent=\
lambda value: "%(num)s" %db.v_othertable_num[value]
Placed in model.
v_othertable_num is a database view of the related table because the
number are formed of many fields so I c
\
lambda value: "%(num)s" % (db.v_othertable_num[value] or
{'num','unkown'}
(this will fix if the problem is that record is None)
and/or
db.atable.othertablefield_id.represent=\
lambda value: str(db.v_othertable_num[value].num)
(this will fix it if it is a ty
I am not exactly sure of what you are looking for... Better if you send
specific code of your model, controler and views...
You can Change the ID representation that way :
db.auth_membership.user_id.requires=IS_IN_DB(db,'auth_user.id','%(first_name)s
%(last_name)s (%(id)s)')
That generate a
Nice post!
J
On 2010-08-25 16:34, mdipierro wrote:
http://designingwebinterfaces.com/designing-web-interfaces-12-screen-patterns
Hello,
I would like to know how may I revoked a user logged in "server side"?
Can I just edit app/sessions/file... And comment appropriate line?
Which lines are the appropriate lines? ;-)
Jonhy
So to summarize I need to add a boolean column in the auth_user table
and flagging it to true will kick out the user?
Is the name "force_logout" a built in name that automated the thing or
do I have to code a proper function and call it in my controllers?
I just want instantaneous method t
Ok!
It clear now.
Yes could be a nice to have...
But Web2py is already a wonderfully nice framework ;-)
Ciao!
Jonhy
On 2010-08-26 16:17, mdipierro wrote:
e the session file. We do not have an utility for it. We should
make one.
On 2010-08-26 15:51, Gary wrote:
I'm trying to put some access control around some of my functions.
When I use the admin interface to define a new auth_permission, the
form allows a tablename from a drop-down list containint *ONLY* the 4
predefined auth_* tables.
It does not list any of my o
101 - 121 of 121 matches
Mail list logo