[web2py] Special select widget returning form errors when submitted ("no data")

2011-12-12 Thread Dominique
rk correctly without returning errors, please. I would greatly appreciate your kind help. Thanks a lot in advance. Dominique in the model: db.define_table('region', Field('r_name', 'string', length=250, required=True) ) db.define_table('departement&#x

[web2py] Re: Special select widget returning form errors when submitted ("no data")

2011-12-14 Thread Dominique
Anthony gave me the answer: I had to change the name of the widget to _name='r_name', which is the field name in the db... I hope it will help some others ... Now the widget works great ;) Dominique

[web2py] Re: Happy new year

2012-01-01 Thread Dominique
Bonne et heureuse année à tous ! Dominique On Jan 1, 6:20 pm, Manuele Pesenti wrote: > Un  felice anno a tutti! :) > >      Manuele > > Il 01/01/2012 08:26, Massimo Di Pierro ha scritto: > > > > > > > > > Happy new year everybody!

[web2py] SELECT / OPTGROUP

2011-10-06 Thread Dominique
e another form to generate a query (and its result) with a sort order. Is there a way to programmatically trigger the submit button when the sort order is changed ? (ie: I want the user to avoid having to click on submit after he changed the sort order) Thanks in advance for any help Dominique In mod

[web2py] Re: SELECT / OPTGROUP

2011-10-06 Thread Dominique
ead of > > (_name="region_to_search", > selected="bla bla bla  SubRegion 3") > > On 6 oct, 18:27, Dominique wrote: > > > > > > > > > Hello All, > > > First things first:  congratulations to Massimo and all those who > >

[web2py] Re: SELECT / OPTGROUP

2011-10-07 Thread Dominique
Hello, I answer to myself, since it was not so complex ;) ... Oops! Hum hum ... Dominique In Controller: def search_form(): q = db(db.region.id==db.subregion.region).select(orderby=db.region.name | db.subregion.name) def prepare_select(rows): """ Creates a

[web2py] How to use this specific widget with a simple FORM ?

2011-11-02 Thread Dominique
to do. Can anyone give me a hint ? Thanks in advance for your help Dominique

[web2py] How to change the position of submit button in a SQLFORM

2011-11-14 Thread Dominique
quot; div3 id="submit_record_row" iv class="w2p_fl" div class="w2p_fw" input type="submit" div class="w2p_fc" I'd like to move the submit button (which is in the div3) to the div2, just after the select id="bla2" Thanks in advance for any help Dominique

[web2py] Re: How to change the position of submit button in a SQLFORM

2011-11-14 Thread Dominique
Hi, Thanks DenesL, Anthony and Massimo for your help. I appreciate. That works fine ! Thanks a lot Dominique

[web2py] Manual upload for a specific row

2011-11-17 Thread Dominique
ble is empty. But how to upload an image file in order to update a specific row (ie. when the other fields of the row are already filled in the db) ? Any help greatly appreciated Thanks in advance Dominique

[web2py] Re: Manual upload for a specific row

2011-11-17 Thread Dominique
Yep Too simple !! Thanks a lot Anthony. I appreciate. Dominique On Nov 17, 5:13 pm, Anthony wrote: > On Thursday, November 17, 2011 11:01:34 AM UTC-5, Dominique wrote: > > > Hello, > > > Chapter 6 explains manual upoloads. > > > >>> db.defi

[web2py] jQuery Noob question: usage of this

2014-02-06 Thread Dominique
s).val(); console.log(currentval); }; }); Thanks a lot for any help Dominique -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message

[web2py] jQuery Noob question: usage of this

2014-02-07 Thread Dominique
Answer: I should have put: onclick="jQuery(this).dosomething()"/> In the input. Dom -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this mes

[web2py] CSS table width not limited as wished

2014-02-23 Thread Dominique
Hello, The form I designed is not shown as I'd like it to be. I am using the web2py design (web2py.css, web2py_bootstrap.css, bootstrap_min.css,...). I'd like the elements of a row to be entirely seen on screen, without adding scrollbars which are automatically added by the web2py css design.

[web2py] Re: CSS table width not limited as wished

2014-02-25 Thread Dominique
Hello, Any idea to help me. I am not a professional, did you notice ? ;) Thank you in advance Dom -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] Re: CSS table width not limited as wished

2014-02-25 Thread Dominique
Unfortunately, no ... Le mardi 25 février 2014 18:29:38 UTC+1, Massimo Di Pierro a écrit : > > I think the problem may be the size of the INPUT. Try add this in style > > input { width: 50px; } > > > > On Tuesday, 25 February 2014 10:49:07 UTC-6, Dominique wr

[web2py] Re: CSS table width not limited as wished

2014-02-26 Thread Dominique
Thank you Paolo. It works perfectly on the test model. But not on my app, for whatever reason... I'll investigate that later... Anyway thank you very much Dominique Le mardi 25 février 2014 20:01:56 UTC+1, Paolo Caruccio a écrit : > > Please try with: > > table#t1 input{widt

[web2py] Re: CSS table width not limited as wished

2014-02-26 Thread Dominique
Fantastic ! Now that works fine ! I changed the line 33 of web2py.css as you advised. Thank you very much Paolo ! Dominique Le mercredi 26 février 2014 20:09:36 UTC+1, Paolo Caruccio a écrit : > > Generally speaking the issue is due to a rule in web2py.css ( > https://github.com/web2

[web2py] Re: CSS table width not limited as wished

2014-02-27 Thread Dominique
Thank you very much Paolo for your time spent for my small problem. I would never have found this alone, stick behind my screen... I applied your advices that I appreciate Thanks again Dominique Le mercredi 26 février 2014 21:49:45 UTC+1, Paolo Caruccio a écrit : > > I'm glad to he

[web2py] x-webkit-speech

2014-02-27 Thread Dominique
Hello, A simple and non essential question: is there a way to have x-webkit-speech work with web2py ? Thank you Dominique -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] SQLite query with random not working anymore

2014-11-21 Thread Dominique
ible for the problem. Does anybody have an idea what's going on, why the query doesn't work on PythonAnywhere and works locally ? Thanks for any hint Dominique -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod

[web2py] Re: SQLite query with random not working anymore

2014-11-21 Thread Dominique
Hi Anthony, Thanks for replying. I already withdrew all references to cache to make sure it is not the cause of the problem. But... it's the same. Dominique Le vendredi 21 novembre 2014 16:50:04 UTC+1, Anthony a écrit : > > The .sort() method is done in Python and has nothing to do

[web2py] Re: SQLite query with random not working anymore

2014-11-24 Thread Dominique
hine, everything is fine. Since I don't want to lose your time and mine, I'm going to "clean up" my code (I am not a professional developer !!), the database and install the application again. I'll come back later if the problem remains. Thanks a lot for your help and y