Hi all,
I want to make my Auth's registration table's label support translation.
So I add a fields in Auth
"auth.settings.register_labels"
Also add this in register method in tools.py:
form = SQLFORM(table_user,
I have:
auth=Auth(globals(),db) # authentication/authorization
mail=Mail()# mailer
mail.settings.sender='m...@email.address.com' # your email
mail.settings.server='logging' #calhost:25'# your SMTP server
# mail.setting
distinct users (by ip) per day
14/Sep/2011 2416
15/Sep/2011 2208
16/Sep/2011 2020
17/Sep/2011 1550
18/Sep/2011 1592
19/Sep/2011 2115
20/Sep/2011 2399
21/Sep/2011 2503
Requests per day (total)
14/Sep/2011 86820
15/Sep/2011 78302
16/Sep/2011 68867
17/Sep/2011 52884
18/Sep/2011 59582
19/Sep/2011 7
More likely, perhaps you don't have Mail set up (i.e., auth.settings.mailer)
-- without that, you'll get a flash message saying the function is disabled.
Anthony
On Thursday, September 22, 2011 9:05:53 PM UTC-4, Anthony wrote:
>
> Is your app a CAS provider? I think that will automatically disab
Hi,
I was wondering if SQLFORM.grid can be used to display legacy tables
that don't contain a field called 'id', and if so, how?
I have this table definition:
db2.define_table('statuspoint',
Field('pointnumber','integer'),
Field('pointname','string'),
Field('station','integer'),
Is your app a CAS provider? I think that will automatically disable
request_reset_password.
Anthony
On Thursday, September 22, 2011 8:05:52 PM UTC-4, Kenneth wrote:
>
> Hi list members,
>
> I have disabled the request_reset_password function somehow.
>
> What different ways are there to disable
I wanted to find out if anyone had an opinion on using this toolkit
for authentication?
Hi list members,
I have disabled the request_reset_password function somehow.
What different ways are there to disable this? Everytime I visit the
default/user/request_reset_password I get an Function disabled Flash.
I have this, but should not have anything to do with this.
auth.settings.act
Dirk and I ran some tests. 1.99.1 broke rocket with SSL. Do not
upgrade if you use rocket with SSL. We will have a fix asap.
Massimo
On Sep 22, 4:50 pm, Massimo Di Pierro
wrote:
> Can you show me what triggers it?
>
> On Sep 22, 4:39 pm, Dirk wrote:
>
>
>
>
>
>
>
> > Upgraded a test environment
Bruno:
I am getting an error on the following line from jquery.dataTables.js
while trying to work on a HTML table.
oSettings.aaSorting[i][1] = oColumn.asSorting[0];
saying that oColumn is undefined.
Any quick idea as to the problem?
Thanks,
Mike
On 9/21/2011 9:32 AM,
yes it is useful and should be documented.
On Sep 22, 5:22 pm, nick name wrote:
> The book describes how to use the dal left join syntax.
>
> Where it talks about inner join, it uses equality test (e.g.
> db(table1.field1 == table2.field2).select())
>
> However, inside dal.py there is an implemen
The book describes how to use the dal left join syntax.
Where it talks about inner join, it uses equality test (e.g.
db(table1.field1 == table2.field2).select())
However, inside dal.py there is an implementation for an inner join, used
like db().select(join=table1.field.on(table2.field))
(i.e.
Can you show me what triggers it?
On Sep 22, 4:39 pm, Dirk wrote:
> Upgraded a test environment with the live update, and am seeing the
> following with embedded server and SSL enabled via CLI:
>
> ERROR:Rocket.Errors.Port8000:SSL Error: [Errno 8] _ssl.c:499: EOF
> occurred in violation of protoc
Upgraded a test environment with the live update, and am seeing the
following with embedded server and SSL enabled via CLI:
ERROR:Rocket.Errors.Port8000:SSL Error: [Errno 8] _ssl.c:499: EOF
occurred in violation of protocol
TIA,
Dirk
+1
On Sep 22, 3:35 pm, pbreit wrote:
> I would hate for energy spent on some sort of version 3 to take away from
> energy that could go in to Web2py. And I think Massimo had some more radical
> ideas for a next gen framework beyond just porting Web2py to Python3. Like
> starting out with somethin
I completly out of the inside talk about that, but I read in thread that
Scheduler will replace cron job... Also the new scheduler are still
experimental in the new release...
Richard
On Thu, Sep 22, 2011 at 4:49 PM, Lennon wrote:
> Just bumping to see if anybody can point me in the right direc
I'll give it a go and see if it works. Thanks.Chris-- Sent from my HP TouchPadOn 22 Sep 2011 16:49, Anthony wrote: In /admin/models/0.py, try setting:TEXT_EDITOR = 'amy'That will cause admin to use the Amy editor instead of EditArea -- see if that works.AnthonyOn Thursday, September 22, 2011 11:36
Just bumping to see if anybody can point me in the right direction.
On Sep 21, 9:36 pm, Lennon wrote:
> I'm running web2py locally with Windows 7 and live on a Linux Ubuntu
> server and I haven't been able to get my cron job to run in either.
>
> My crontab looks like this:
>
> */1 * * * * root *
Thank pbreit,
I use Fabric now for deployment, it works great... It's to simple! It also
become a time consumer because you can make a Fab command for almost
anything ;-)
Richard
On Thu, Sep 22, 2011 at 4:30 PM, pbreit wrote:
> Here's my setup script:
>
> def setup_pgsql():
> run('apt-get
I would hate for energy spent on some sort of version 3 to take away from
energy that could go in to Web2py. And I think Massimo had some more radical
ideas for a next gen framework beyond just porting Web2py to Python3. Like
starting out with something like Bottle.
My guess is it's still a bit
Here's my setup script:
def setup_pgsql():
run('apt-get install -y postgresql python-psycopg2 postgresql-contrib')
sudo('psql -c "ALTER USER postgres WITH ENCRYPTED PASSWORD \'%(pw)s\';"'
% env, user='postgres')
sudo('psql -c "CREATE DATABASE %(db)s WITH OWNER postgres"' % env,
user=
Looks nice if pretty basic. I wonder if someone would like to run with this
and polish it up, perhaps using Twitter Bootstrap and making it really nice
and clean?
Tiny regression: missing a space between "password" and "]" in the navbar.
The code:
http://code.google.com/p/web2py/source/browse/gluon/tools.py#1148
bar = SPAN(prefix,self.user.first_name,' [ ', logout,
']',_class='auth_navbar')
Should be:
' [ ', logout, ' ]',
With the new scaffolding welcome if you want to use janrain, just get
an account, register 127.0.0.1 (or other domain) and create a file in
your app
applications//private/janrain.key that contains :
And that is it.
On Sep 22, 2:36 pm, Richard Vézina
wrote:
> Pretty nice!
>
> Richard
>
> On Thu,
Maybe you want to increase the width of "wrapper"?
#wrapper {width: 900px;}
If you use Chrome or Safari (or Firebug on Firefox), right-click to "Inspect
element". Then click on in the code listing. Over on the
right, double-click on "900px" which will let you edit it and see the result
immedi
Pretty nice!
Richard
On Thu, Sep 22, 2011 at 3:30 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> In case you did not try the new SQLFORM.grid and SQLFORM.smartgrid,
> try it here:
>
> http://labs.blouweb.com/web2pygrid/default/index
>
> The search understands english (sort of) like
On Sep 22, 1:29 pm, Anthony wrote:
> Got it. Note, because of the width_content variable, it appears you don't
> actually have to edit #content in base.css -- setting the #content width is
> handled by width_content in layout.html.
To change the sidebar widths (the original question) you still
In case you did not try the new SQLFORM.grid and SQLFORM.smartgrid,
try it here:
http://labs.blouweb.com/web2pygrid/default/index
The search understands english (sort of) like:
"first_name contains B and last_name is Rocha"
Have fun!
I do not see the attachment. The "author" in the issues page is the
author of the last post about the issue. Also the time is the time of
the last post. I find this more useful because tells be if somebody
has updated the issue. Google does not tell me.
On Sep 22, 2:16 pm, Stefaan Himpe wrote
Please help me test it and suggest improvements:
Also not sure if bug or feature:
If I add an issue, owner is fixed to massimo.dipie...@gmail.com
(I had expected to be the owner of the issues I logged)
Also I seem to be unable to add new issues (perhaps that's a matter of
permissions), but I
Please help me test it and suggest improvements:
http://tests.web2py.com/tracker
Hello, I've attached a .jpg image to one of the issues,
but when I tried to download the attachment, I got
Invalid Request
Also, not sure if bug or feature:
after commenting on one of the issues it seems I beca
Thank you very much - all of you who contributed.
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord! His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
h
I will try that latter for now I uninstall everything...
I would like that lazy option to be not depending of the other plugin... I
don't understand for now how I could trigger lazy option without it. I don't
need the other autocomplet widget anyway.
Also... I need something more complex then you
Why does it have to use Auth? What if access control isn't relevant for the
particular app?
Anthony
On Thursday, September 22, 2011 2:52:05 PM UTC-4, Massimo Di Pierro wrote:
>
> I think we should make a list of featured web2py apps. Please post
> links below.
>
> - it does matter if you wrote
I think we should make a list of featured web2py apps. Please post
links below.
- it does matter if you wrote or just saw it, just post below
- the app must be open source
- the app must be under version control and available
- the app must use Auth
- avoid duplicates, but if you saw in a previous
My issuetracker is more of a way to show off new features.
In fact the entire thing is only two small tables and two small
actions.
Feel free to steal pieces and improve yours.
Massimo
On Sep 22, 12:21 pm, Julio Schwarzbeck wrote:
> Argh!, Massimo, as usual you beat me to it :P, but oh well, the
I my laptop I can serve a "hello world" in ~4ms and a typical
authenticated action in ~20ms. When no DB access I can serve ~1800
pages/second. The bottle neck is almost always the db access.
Shall we race against ASP.net?
Does their license agreement allows comparative benchmarks. Some times
comm
I am not sure about the version, but it seems OK.
However I see no other possible reason, so would you try to upgrade
the web2py version?
On 9月23日, 午前2:35, Richard Vézina wrote:
> I have 1.6.1 under web2py 1.98.2
>
>
>
>
>
>
>
> On Thu, Sep 22, 2011 at 1:31 PM, kenji4569 wrote:
> > Sorry I misun
Excellent, thanks for sharing.
Anthony
I would challenge asp.net guys (I have .net background) on:
1) writing (web)services: soap, xml, json
2) pick a small web app (forum, blog or whatever) and compare web2py vs
aps.net development
http://msdn.microsoft.com/en-us/library/dd410120(VS.98).aspx
- routing
- templates
- controllers
- orm ?
I have 1.6.1 under web2py 1.98.2
On Thu, Sep 22, 2011 at 1:31 PM, kenji4569 wrote:
> Sorry I misunderstood.
>
> If you have JS errors in your browser, the jQuery version might be
> suspicious.
>
> >Does suggest_widget is essential to trigger lazy_option plugin?
> No. The suggest_widget triggers
Sorry I misunderstood.
If you have JS errors in your browser, the jQuery version might be
suspicious.
>Does suggest_widget is essential to trigger lazy_option plugin?
No. The suggest_widget triggers two kind of events called
"product_category__selected" and "product_category__unselected" where
"p
Got it. Note, because of the width_content variable, it appears you don't
actually have to edit #content in base.css -- setting the #content width is
handled by width_content in layout.html.
Anthony
On Thursday, September 22, 2011 12:37:11 PM UTC-4, DenesL wrote:
>
>
> Forgive my bad wording, I
oops,
here it is
http://www.youtube.com/watch?v=gpipuQ9TFag
Em 22 de setembro de 2011 18:22, António Ramos escreveu:
> Just to show you all my litle work with web2py +jquery ui mobile
> Behind this work i have Postgresql and db2
> They are real projects in my company.
>
> Without the web2py@go
Just to show you all my litle work with web2py +jquery ui mobile
Behind this work i have Postgresql and db2
They are real projects in my company.
Without the web2py@googlegroups.com it could not be done.
thank you all for your time replying my doubts
António
Argh!, Massimo, as usual you beat me to it :P, but oh well, the more
the merrier, here are a couple of samples from my "skunk works", to be
available soon:
http://static.techfuel.net/track1.png --> (Another) Issue Tracker #1
http://static.techfuel.net/track2.png --> (Another) Issue Tracker #2
http
still the same. I opened an issue, #440
On 22 Sep., 18:16, Massimo Di Pierro
wrote:
> can you try 1.99.1 and if still does not work open an issue? Thanks
>
> On Sep 22, 11:11 am, Alex wrote:
>
>
>
> > Hi,
>
> > this table definition causes an error:
>
> > db.define_table('calendar_item_type',
>
When will we have this done?
All i hear from Asp.net guys is that
*what? web2py? python ? it must be slo *
*its free? so it must not be that good.
*
*
*
Anyone care to dismistify this with real world scenarios *
*
Are there any?
Thank you
Forgive my bad wording, I meant to say it is not a variable that you
would set somewhere (like left_sidebar_enabled) and expect it to have
an effect, i.e. in the layout code there is no:
globals().get('width_content', ...)
On Sep 22, 10:18 am, Anthony wrote:
> On Thursday, September 22, 2011 1
To avoid future misunderstandings
- The new lazy field syntax may stay and may not (I am not promising
backward compatibility)
- The new grid, smartgrid functions will stay but we may change the
behavior a little in order to make them more powerful and
customizable. (so almost backward compatible
can you try 1.99.1 and if still does not work open an issue? Thanks
On Sep 22, 11:11 am, Alex wrote:
> Hi,
>
> this table definition causes an error:
>
> db.define_table('calendar_item_type',
> Field('id', 'integer', notnull=True),
> primarykey=['id'])
>
> db.define_table('calendar_item',
Hi,
this table definition causes an error:
db.define_table('calendar_item_type',
Field('id', 'integer', notnull=True),
primarykey=['id'])
db.define_table('calendar_item',
Field('calendar_item_type', db.calendar_item_type, notnull=True))
I'm using a different solution now so this is
fixed
On Sep 22, 10:45 am, stefaan wrote:
> I still get a ticket when clicking tracker -> "issues" button after
> logging in via google. Without login, the issues button seems to work.
>
> http://tests.web2py.com/admin/default/ticket/tracker/192.146.11.2.201...
I still think the nightly build could have used some more tests but
not many people test it. So here it is...
1.99.1
- experimental gluon/scheduler.py
- scripts/make_min_web2py.py
- crud.search has more options, thanks Denes
- gluon/contrib/simplejsonrpc.py
- gluon/contrib/redis_cache.py
- cleanu
Does suggest_widget is essential to trigger lazy_option plugin?
Richard
On Thu, Sep 22, 2011 at 11:55 AM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
>
>
> On Thu, Sep 22, 2011 at 11:39 AM, kenji4569 wrote:
>
>> >When I put value into category it's not
>> >always update the color field
On Thu, Sep 22, 2011 at 11:39 AM, kenji4569 wrote:
> >When I put value into category it's not
> >always update the color field dropbox or it takes quite some time when it
> >works
> It might be... due to intercontinental communication.
>
What do you mean?
I am not talking about your own website
I have tested again (in trunk) and it's working.
Thanks, Massimo.
In /admin/models/0.py, try setting:
TEXT_EDITOR = 'amy'
That will cause admin to use the Amy editor instead of EditArea -- see if
that works.
Anthony
On Thursday, September 22, 2011 11:36:02 AM UTC-4, leftcase wrote:
>
> Hi all,
>
> I've just noticed that the web2py web-based text editor can'
I still get a ticket when clicking tracker -> "issues" button after
logging in via google. Without login, the issues button seems to work.
http://tests.web2py.com/admin/default/ticket/tracker/192.146.11.2.2011-09-22.16-42-57.2692ee08-77f7-4a72-a1e2-5744c55e58e1
>When I put value into category it's not
>always update the color field dropbox or it takes quite some time when it
>works
It might be... due to intercontinental communication.
One solution could be to add ajax progress bar for the application,
but it's a little bit out of the plugin scope.
Regard
P.S. requires trunk!
On Sep 22, 10:37 am, Massimo Di Pierro
wrote:
> Download it from hg. First of all test it. Check the policies make
> sense. Try with a 2-3 different users.
>
> To integrate into admin tickets, looks at the code in applications/
> admin/controllers/default.py
>
> On Sep 22, 10
Download it from hg. First of all test it. Check the policies make
sense. Try with a 2-3 different users.
To integrate into admin tickets, looks at the code in applications/
admin/controllers/default.py
On Sep 22, 10:26 am, Richard Vézina
wrote:
> I can help!
>
> Where to start?
>
> Richard
>
>
fixed. sorry.
On Sep 22, 10:24 am, Ross Peoples wrote:
> Got a ticket when I clicked the "issue" button on web2py -> "Cannot make it
> work..." issue:
>
> http://tests.web2py.com/admin/default/ticket/tracker/75.150.73.185.20...
>
> I didn't register or login or anything, so I'm getting "not autho
Hi all,
I've just noticed that the web2py web-based text editor can't cope
with this regex
requires=IS_MATCH("^([Gg][Ii][Rr]
0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z]
{0,1}[0-9][A-Za-z]{2})$"
I can help!
Where to start?
Richard
On Thu, Sep 22, 2011 at 11:18 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Please help me test it and suggest improvements:
>
> http://tests.web2py.com/tracker
>
> http://code.google.com/p/web2py-issuetracker/
>
> One idea is to add a button t
Got a ticket when I clicked the "issue" button on web2py -> "Cannot make it
work..." issue:
http://tests.web2py.com/admin/default/ticket/tracker/75.150.73.185.2011-09-22.16-22-55.145aae1c-68ec-461b-914f-3c992e712c99
I didn't register or login or anything, so I'm getting "not authorized"
message
Ok I understand I was needing to install an other of your plugins...
It's working quite anarchically... When I put value into category it's not
always update the color field dropbox or it takes quite some time when it
works...
Richard
On Thu, Sep 22, 2011 at 10:48 AM, Richard wrote:
> Hello Ken
Please help me test it and suggest improvements:
http://tests.web2py.com/tracker
http://code.google.com/p/web2py-issuetracker/
One idea is to add a button that imports all installed apps as new
projects and another button that imports all tickets, grouped by
traceback, as new issues. Want to hel
fixed.
On Sep 22, 6:13 am, Jesús Martínez wrote:
> When you log out from a car consumer application, cas provider application
> do not redirect to cas consumer application's index page.
>
> I have added a new issue:http://code.google.com/p/web2py/issues/detail?id=439
> where I explained a possibl
I play a bit with the CSS to make it fit better with my own CSS so feel free
to ask to make a better integration into web2py default base.css.
Richard
On Thu, Sep 22, 2011 at 10:50 AM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> Yeah it's chosen actually my bad :
>
> http://harvesthq.
Yeah it's chosen actually my bad :
http://harvesthq.github.com/chosen/
Richard
On Thu, Sep 22, 2011 at 10:47 AM, kenji4569 wrote:
> Johann,
>
> I found that the autocomplete widget overridden the suggest widget in
> your attached screenshot.
> So, you might define both autocomplete widget and
Hello Kenji,
I would try your :
http://dev.s-cubism.com/plugin_lazy_options_widget
But I get this error :
No module named plugin_suggest_widget
I am reading the code and don't understand why and where
plugin_suggest_widget import should coming from base on your website
code example.
The insta
Johann,
I found that the autocomplete widget overridden the suggest widget in
your attached screenshot.
So, you might define both autocomplete widget and suggest widget for a
single field.
Since these widgets process callbacks even if they are just
initialized and not used,
the suggest widget is u
On Thursday, September 22, 2011 10:01:29 AM UTC-4, DenesL wrote:
>
>
> Note that width_content is not a real variable, it is just a comment
> on what is going to happen when you change the sidebar settings and a
> reminder to modify the base.css, in particular the #content under
> #left_sidebar.
Hello Johann,
Consider also using Choosen if you have long drop box, it has a pretty nice
design...
Richard
On Thu, Sep 22, 2011 at 9:38 AM, Johann Spies wrote:
> Hallo Kenji,
>
> Then, the problem might due to jQuery or CSS you used.
>>
>
>
>> Did you see any error in JavaScript console of the
The script should had install postgresql and python-psycopg2.
Anyway I think now that you have to change things in pg_hba.conf
/etc/postgres
sudo nano /etc/postgresql/8.4/main/pg_hba.conf
Then you have to set the ident parameter... You should use at least MD5 to
make sure the password are no
In base.css, just change values for left_sidebar to what you need,
e.g. width:10%
and adjust #content values accordingly.
About left_sidebar_enabled you can set it to True in the layout or
just pass it back from your controller in the dict:
return dict(..., left_sidebar_enabled = True)
Note t
I am talking about python 3 more because there will be a pypy version
supporting python 3, and numpy, and greenlets, c extensions :)
Hallo Kenji,
Then, the problem might due to jQuery or CSS you used.
>
> Did you see any error in JavaScript console of the browser?
>
No, some warnings, but no errors.
> If so, you might have to upgrade jQuery (at least >=1.6).
If not, would you please show me your CSS?
>
I have synchronise
Is there still performance issues with Python 3? Last time I checked it ran
about 25% slower than Python 2.
Thank you.
By the way: Ach!
def dumb_oversight():
bang_head_on_desk
On Sep 22, 9:22 am, Massimiliano wrote:
> maybe:
> len(supplier_contact_list)==1
>
>
>
>
>
> On Thu, Sep 22, 2011 at 3:15 PM, Cliff wrote:
> > Is this the way it's supposed to work, or have I created a subtle bug?
>
> > He
>
> the main snag is DB drivers, e.g.pyodbc for python 3 is just in beta
pure python drivers already support python 3 (at least using translation
tool)
sqlite is builtin
postgreesql
http://python.projects.postgresql.org/
mysql
- pymysql
- myconnpy https://launchpad.net/myconnpy
and if pyodb
Then, the problem might due to jQuery or CSS you used.
Did you see any error in JavaScript console of the browser?
If so, you might have to upgrade jQuery (at least >=1.6).
If not, would you please show me your CSS?
In addition, I want to know whether the problem is specific only for
your applicati
maybe:
len(supplier_contact_list)==1
On Thu, Sep 22, 2011 at 3:15 PM, Cliff wrote:
> Is this the way it's supposed to work, or have I created a subtle bug?
>
> Here is the code snippet:
>
> supplier_contact_list = db(db.supplier_contacts.supplier_id==
>supplier_i
Is this the way it's supposed to work, or have I created a subtle bug?
Here is the code snippet:
supplier_contact_list = db(db.supplier_contacts.supplier_id==
supplier_id).select(
db.supplier_contacts.first_name,
db.supplier_contacts.middle_name,
d
On 22 September 2011 14:38, kenji4569 wrote:
> That's strange..
> Which browser do you use?
>
I have tested this on Iceweasel (Firefox) on Debian as well as Chrome.
> Are you sure you did select an element inside the select box by
> clicking or keypress?
>
Both. The cursor keys does not work
At the moment, no.
2011/9/22 Gour-Gadadhara Dasa
> Hello!
>
> Does Instant Press have support for pingback?
>
>
> Sincerely,
> Gour
>
> --
>
> “In the material world, conceptions of good and bad are
> all mental speculations…” (Sri Caitanya Mahaprabhu)
>
> http://atmarama.net | Hlapicina (Croati
That's strange..
Which browser do you use?
Are you sure you did select an element inside the select box by
clicking or keypress?
If you select the element, the input box should change the color from
pink to cyan.
The form vars record indicates you didn't select any element from the
select box.
Ken
Nothing wrong with planning but the main snag is DB drivers, e.g.
pyodbc for python 3 is just in beta.
On Sep 22, 6:35 am, Vasile Ermicioi wrote:
> yes I read different discussion about,
> and my propose is to START it
> - planning
> - steps
>
> so when pypy 3 will be released, also a web3py w
Hm...
I think I am referring to a different thing than what I meant to.
I wish to decrease the width of white columns on the left & right
sides.
Is this called a sidebar or something else?
I fiddled in many ways to adjust it, as mentioned in the OP, but
couldn't fix it.
Secondly, how to put
Kenji,
I do not get error messages now but the autocompletion does not word. I get
a dropdown list and when I select one, what was entered in the form stays as
it was.
Example: If you look at the screenshot: if I select the first item in the
list the following form vars gets recorded:
The cod
On 22 September 2011 13:41, kenji4569 wrote:
> Maybe you should replace
> Field('doc_nr',suggest_widget(db.akb_doccenter.doc_nr
> with
> Field('doc_nr', widget=suggest_widget(db.akb_doccenter.doc_nr
>
Thanjks Kenji,
Apologies for my stupidity. I should have seen that myself.
Regards
Johann
--
Maybe you should replace
Field('doc_nr',suggest_widget(db.akb_doccenter.doc_nr
with
Field('doc_nr', widget=suggest_widget(db.akb_doccenter.doc_nr
as the traceback indicates.
Regards,
Kenji
On 9月22日, 午後7:16, Johann Spies wrote:
> As the standard Web2py autocomplete widget does not play nicely wit
http://www.depesz.com/index.php/2007/09/16/my-thoughts-on-getting-random-row/
explains alternate approaches than using order by random().
"this is very good way to get truly random records. there is no “preference”
for specific rows. the major drawback is speed. or lack of it actually."
When you log out from a car consumer application, cas provider application
do not redirect to cas consumer application's index page.
I have added a new issue:
http://code.google.com/p/web2py/issues/detail?id=439
where I explained a possible solution.
I hope will be usefull.
Regards
any orderby is over-head (small or big). Also limit with order by is not
cost-efficient since limiting is done after ordering rows, resulting in
fetching of all rows.
For time being, I am using executesql to execute my query.
*use this:*
*
*
*db().select(db.person.name, orderby="", limitby=(0,50))*
On Thu, Sep 22, 2011 at 4:43 AM, Tarun Arora wrote:
> *db().select(db.person.name, orderby=db.person.id, limitby(0,50))*
--
--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://Curs
Ah right, cool!
Thanks Bruno,
Chris
On Thu, Sep 22, 2011 at 11:37 AM, Bruno Rocha wrote:
> validators are originally written to work on FORMS, but web2py included an
> option to validate DAL inserts.
> db.validate_and_insert(**values)
> &
> db.validate_and_update(**values)
>
>
> On Thu, Sep 22,
OK! Now I'm using my web app with web2py source code. But I have the
same problem.
This is my es-es.py file when I launch my webApp, when I'm on the
logging page:
# coding: utf8
{
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'Are you sure you want to delete this object?': 'Are
validators are originally written to work on FORMS, but web2py included an
option to validate DAL inserts.
db.validate_and_insert(**values)
&
db.validate_and_update(**values)
On Thu, Sep 22, 2011 at 7:33 AM, Chris Rowson
wrote:
> Quick question,
>
> If I put my validators in the model like t
1 - 100 of 111 matches
Mail list logo