[web2py] Re: new book now available in HTML (english, japanese, italian)

2011-12-19 Thread Plumo
seems to be a problem with the link parser: transparently for SQLite[sqlite ], MySQL[mysql ]

[web2py] Re: 'web2py.js' and 'web2py_ajax.js': Which one to use?

2011-12-19 Thread danny
Gotcha. Thanks! b On Dec 20, 4:24 am, Anthony wrote: > We just renamed web2py_ajax.js to web2py.js (since it includes some JS code > not related to Ajax). The old file is no longer included, but if you just > unzipped the new folders over the old, it wouldn't remove the old file. You > can delete

[web2py] production site hosting

2011-12-19 Thread chandrakant kumar
what are the good options(web hosts) for hosting the production sites? I'm located in India.

[web2py] Re: SQLForm.grid - How do I use it properly?

2011-12-19 Thread Rahul
Hi Johnann, Thanks for getting back on my queries. I just want to remove the query button from the search section ( I had tried searchable=False earlier and it hid the entire search section). Is there a way to hide just the query button as for a public site, I would not like everyone know

[web2py] Re: Can't modify SQL table schema with db.define_table?

2011-12-19 Thread Massimo Di Pierro
Indeed 2 does not help. If you delete or rename a sqlite table and if you are not doing it using web2py (db.table.drop()) then you should tell web2py the table no loger exists. You do this by deleting the databases/ *_tablename.table files On Dec 19, 4:50 pm, Yarin wrote: > OK I understand the S

[web2py] Re: DecimalWidget _class = double

2011-12-19 Thread Massimo Di Pierro
was a bug. fixed in trunk. On Dec 19, 4:01 pm, Anthony wrote: > I was wondering the same thing. Massimo? > > For now, I'm not sure it matters, as I think the only effect of the widget > is to apply client-side input validation (which is the same for double and > decimal fields). Perhaps there cou

[web2py] Re: clarification needed: response.files.append()

2011-12-19 Thread lyn2py
Thanks for the clarification, Anthony. On Dec 20, 12:17 pm, Anthony wrote: > Adding to response.files should happen before web2py_ajax.html is included > (e.g., in the head of layout.html, or even in the controller or a model > file). The reason is that the code that actually includes the files l

[web2py] Re: 'web2py.js' and 'web2py_ajax.js': Which one to use?

2011-12-19 Thread Anthony
We just renamed web2py_ajax.js to web2py.js (since it includes some JS code not related to Ajax). The old file is no longer included, but if you just unzipped the new folders over the old, it wouldn't remove the old file. You can delete it. Note, we didn't change the name of web2py_ajax.html in

[web2py] 'web2py.js' and 'web2py_ajax.js': Which one to use?

2011-12-19 Thread danny
Hi, in the lastest version of web2py (can't remember if this is the case for older versions), there are two files that are nearly identical in the default applications (admin, examples, welcome) js folder: 'web2py.js' and 'web2py_ajax.js'. It looks like 'web2py.js' is the newer of the two, should

[web2py] Re: clarification needed: response.files.append()

2011-12-19 Thread Anthony
Adding to response.files should happen before web2py_ajax.html is included (e.g., in the head of layout.html, or even in the controller or a model file). The reason is that the code that actually includes the files listed in response.files is in web2py_ajax.html. Anthony On Monday, December 19

[web2py] clarification needed: response.files.append()

2011-12-19 Thread lyn2py
I am on 1.99.4 stable I tried include some files with response.files.append() 1. outside of layout.html and 2. after {{include 'web2py_ajax.html'}} in layout.html, but they didn't seem to appear in the html, for example: {{response.files.append(URL('static','js/jquery.example.js'))}} Is this

Re: [web2py] Re: Has this been Fixed?

2011-12-19 Thread Bruce Wade
Honestly I didn't read the comments, I just seen that video shortly before heading home. I have been using web2py for a while, just had to make sure you never know right? Anyway's thanks for clearing things up. -- Regards, Bruce On Mon, Dec 19, 2011 at 5:46 PM, Anthony wrote: > Did you read t

[web2py] Re: haml and sass

2011-12-19 Thread Matthew
I've used HamlPy before: https://github.com/jessemiller/HamlPy. It works really well for those familiar with Python syntax. All you have to do is "listen" on a directory, or set up an Eclipse job that executes a script every time you save a file. If anyone is interested, I could dig back and find

[web2py] Re: Has this been Fixed?

2011-12-19 Thread Anthony
Did you read the comments below the video? The comments make it clear that the video is not demonstrating a web2py vulnerability. The creator of the video simply used web2py to create a deliberately vulnerable application. He explicitly avoided using web2py's built-in authentication mechanism,

[web2py] Has this been Fixed?

2011-12-19 Thread Bruce Wade
http://www.youtube.com/watch?v=5ZLmRMLo6HI We are thinking about moving our site from pyramid to Web2py. Are there still security holes in Web2py as found in the video? -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http

[web2py] Re: computed field or is_in_db(query...

2011-12-19 Thread Jose Carlos Junior
Good idea... I gonna try thisas soon as possible Thanks alot... On 19 dez, 17:44, Richard Vézina wrote: > Carlos, > > If you really not getting it... Here what I am doing to work around the > kind of problem you seem to have... > > I would make a view at backend level with id and reprense

[web2py] Re: Can't modify SQL table schema with db.define_table?

2011-12-19 Thread Yarin
OK I understand the SQLite issue, but not the options I have. 1) SQLite does support renaming tables. I renamed the table in question in SQLiteManager, hoping that web2py would then create a new table under the old name. But now web2py simply complains that the old table doesn't exist. Why wouldn'

[web2py] Re: Can't modify SQL table schema with db.define_table?

2011-12-19 Thread Yarin
OK I understand the SQLite issue, but not the options I have. 1) SQLite does support renaming tables. I renamed the table in question in SQLiteManager, hoping that web2py would then create a new table under the old name. But now web2py simply complains that the old question doesn't exist. Why woul

[web2py] Re: haml and sass

2011-12-19 Thread Chris May
Curious. I've surprisingly not heard of haml. What would you say are the benefits over web2py's built-in HTML helpers? SASS could be quite helpful for us front-end guys, and I notice there are a couple of python modules out there. My opinion is that I don't know if it would need to be included

[web2py] Re: deployment problem with mod_wsgi

2011-12-19 Thread LightDot
Installing mod_wsgi on Fedora would be simply (in shell, executed as root): yum install mod_wsgi

[web2py] computed field or is_in_db(query...

2011-12-19 Thread Nik Go
commas at the beginning of a line is not a common practice, but not necessarily a bad one. I use it myself, having been bitten by too many missing commas too often. ;) On Tuesday, December 20, 2011, Richard Vézina wrote: > I have difficulty to understand your models because they are not in > eng

[web2py] Re: DecimalWidget _class = double

2011-12-19 Thread Anthony
I was wondering the same thing. Massimo? For now, I'm not sure it matters, as I think the only effect of the widget is to apply client-side input validation (which is the same for double and decimal fields). Perhaps there could be a future need to differentiate the two, in which case, maybe we

[web2py] DecimalWidget _class = double

2011-12-19 Thread Carlos
Hi, Just wondering if it's correct that DecimalWidget _class = double (instead of decimal)?. Thanks, Carlos

[web2py] Re: WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking still showing up

2011-12-19 Thread Chris
(The first one is from Python started independently, the second from Eclipse and the running instance of my app.)

[web2py] Re: WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking still showing up

2011-12-19 Thread Chris
Here's what I've got: Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information. >>> import win32con >>> win32con The mystery gets weirder! I opened up an Eclipse PDB session in my web2py app: (Pdb)

[web2py] Re: assigning class name to SQLform element parent gives error

2011-12-19 Thread Paolo Caruccio
ticket http://code.google.com/p/web2py/issues/detail?id=574 submitted

[web2py] Re: assigning class name to SQLform element parent gives error

2011-12-19 Thread Anthony
This is strange -- when you submit the form but fail to include the rating, for some reason, the 'parent' attribute of the SELECT element is set to None rather than referring to it's parent TD. Can you submit a ticket about that (you can link to this thread): http://code.google.com/p/web2py/iss

[web2py] Re: Can't modify SQL table schema with db.define_table?

2011-12-19 Thread Massimo Di Pierro
correct. Because SQLite does not support ALTER TABLE DROP therefore it cannot drop a column from an existing table not even to replace it. It works with the other databases. There is special logic in dal.py to skip this type of migrations in sqlite. Massimo On Dec 19, 2:03 pm, Yarin wrote: > Wh

[web2py] Re: assigning class name to SQLform element parent gives error

2011-12-19 Thread Paolo Caruccio
no one else has encountered same problem?

[web2py] Re: Can't modify SQL table schema with db.define_table?

2011-12-19 Thread Anthony
See http://web2py.com/books/default/chapter/29/6#Fixing-broken-migrations for specific issues with SQLite. Anthony

[web2py] Can't modify SQL table schema with db.define_table?

2011-12-19 Thread Yarin
When I change a table definition in db.define_table, either by dropping a field or changing a field type, the change never seems to take effect in SQL. Old columns and old field types are always retained, even though web2py seems to 'think' they've changed. I'm using SQLite, and run into this issu

Re: [web2py] email/password login only: How to change email to lower case at the register page and store as a lower case to the database.

2011-12-19 Thread Anthony
On Monday, December 19, 2011 2:03:36 AM UTC-5, thstart wrote: > > Thank you - for login it works but for register it does not. > > In the case of register the validator executes after register and register > is telling the email is invalid. > Can you show your code?

Re: [web2py] Re: computed field or is_in_db(query...

2011-12-19 Thread Richard Vézina
Carlos, If you really not getting it... Here what I am doing to work around the kind of problem you seem to have... I would make a view at backend level with id and reprensent I want for this particular id, then I write db model for the view like if it was a web2py table and then use this table i

Re: [web2py] compute=lambda r: don't return all the fields

2011-12-19 Thread Richard Vézina
I don't get all my db.table fields form define_table fields defined... A other guy report that... But didn't find exactly why his compute functions as stop working properly... To me it's related to the fact tha if I do : Field('mycomputefield', compute=lambda r: r) I am not getting all the fiel

[web2py] Re: migrate passwords from phpBB

2011-12-19 Thread Anthony
I suppose the salt may be attached to the hashed password, so you may have to pull off the salt, use it to hash the password, then add it to the hash. The .check_password() method probably does that automatically. Maybe you can just use that method directly. Anthony On Monday, December 19, 201

Re: [web2py] compute=lambda r: don't return all the fields

2011-12-19 Thread Anthony
What do you mean it doesn't return all the fields? On Monday, December 19, 2011 10:47:42 AM UTC-5, Richard wrote: > > Hello, > > I try to use compute to generate a record md5_hash on insert and > update, but I discover that compute=lambda r: don't return all the > db.table fields why? > > Thanks >

[web2py] Re: Is there any "mainstream" wysiwyg html editor in web2py world?

2011-12-19 Thread Anthony
It shouldn't be too difficult to use any JS editor with web2py, but here are some web2py specific plugins: https://bitbucket.org/PhreeStyle/web2py_ckeditor/src http://dev.s-cubism.com/plugin_elrte_widget http://dev.s-cubism.com/plugin_managed_html/page1/_managed_html_preview Anthony On Monday,

[web2py] Re: SQLFORM.grid short strings

2011-12-19 Thread Anthony
It takes a maxtextlength argument -- just set it to a large number. In that case, you might want to change the td CSS so there's a max-width (and maybe a min-width) with white-space set to normal (instead of nowrap, which could lead to very wide columns)/ Anthony On Monday, December 19, 2011 1

[web2py] SQLFORM.grid short strings

2011-12-19 Thread Nicolas Palumbo
When doing this the assignee, summary and dependencies columns are trunc [shortened]. How can I prevent this to happen? This is the code: db.buglist.insert(bug_id=bugid,dependencies=deps,sev=severity, prio=priority, assignee=assigned_to, status=bug_status, summary=short_desc) gri

[web2py] json with https?

2011-12-19 Thread António Ramos
is it possible to load json data in javascript from a https url? thank you António

[web2py] How to clear cached modules?

2011-12-19 Thread Yarin
I was importing a module from the modules folder, and then ended up deleting it. I've since cleaned the application, but noticed that, while the import statement and module-referencing code was still in my controller, no error was getting thrown. (If I copied the web2py folder and fired up a new in

[web2py] Is there any "mainstream" wysiwyg html editor in web2py world?

2011-12-19 Thread Ray (a.k.a. Iceberg)
Hi folks, I used web2py for years but never have a need to use wysiwyg html editor in my projects. Until recently. Then I surprisingly find no "mainstream" editor mentioned in web2py world. Of course I can go with any editor I will run into, but before that I just want to hear some suggestion from

[web2py] typo in book

2011-12-19 Thread Jim Steil
First sentence of the last paragraph in the preface. 'raked' should be 'ranked'. -Jim

[web2py] Re: deployment problem with mod_wsgi

2011-12-19 Thread Paolo Caruccio
Maybe this helps http://jdoe.asidev.com/2009/02/26/configure-web2py-to-run-behind-apache-with-wsgi-mod_wsgi/

Re: [web2py] Re: computed field or is_in_db(query...

2011-12-19 Thread Richard Vézina
What about that : db.tab2(db.tab1(id).id).field ?? Richard On Mon, Dec 19, 2011 at 11:42 AM, Jose Carlos Junior wrote: > OK > but i need to call from gtils_representante table the nm_cidadao from > cidadao tablethis is my doubt > gtils_representante is a n:n relationship between GTI

[web2py] Re: computed field or is_in_db(query...

2011-12-19 Thread Jose Carlos Junior
OK but i need to call from gtils_representante table the nm_cidadao from cidadao tablethis is my doubt gtils_representante is a n:n relationship between GTIL(not posted) and representante. I believe I have not explained it right the first time...

[web2py] haml and sass

2011-12-19 Thread António Ramos
when will we have haml and sass inside web2py? Thank you

[web2py] Re: deployment problem with mod_wsgi

2011-12-19 Thread Web2Py Freak
i think there is somthing wrong with the way i installed mod_wsgi ,, can you please tell me how to install it ??

Re: [web2py] Re: Computed Fields broken by 1.99.2

2011-12-19 Thread Richard Vézina
To me it makes no sens that readable and/or writable = False prevent compute to get all the field present in the table definition... I may completely not understand what writable and readable are for... I know that depend of how they are used (both false) the field will not be present at all into

[web2py] automatic logout does not work

2011-12-19 Thread thodoris
I set the auth.settings.expiration time but the user is not automatically logged out after the specified time I have tried setting auth.settings.expiration = 1 in db.py after & before calling auth.define_tables()

Re: [web2py] computed field or is_in_db(query...

2011-12-19 Thread Richard Vézina
I have difficulty to understand your models because they are not in english (sorry about that)... I will try to help anyway... By the way you should put "," at the end of your lines like this : Field('CD_CIDADAO',type='**string',notnull=True,label='**Matrícula')*,* instead of : *,*Field('CD_CID

[web2py] linux/unix control panel application - would be better if built with web2py

2011-12-19 Thread whowhywhat
http://ajenti.org .. looks interesting. However, would be much more elegant and simpler to extend if built with web2py :D .. another interesting python library/framework for remote sysadmin/ remote execution manager which i just came across is http://saltstack.org/ Looks very useful and more power

[web2py] IS_UPPER - Thanks it's a great validator

2011-12-19 Thread Omi Chiba
I just want to express my feeling. We use DB2 for our business critical system and people in Japan asked me to input all the value with upper case because they have some printing issue if there is any small letters.. Oh my god, the validator is there ! and the best part is that it doesn't show any

[web2py] Re: Remove app name from the urls

2011-12-19 Thread lyn2py
routers = dict(  BASE  = dict(default_application='myapp'),) On Dec 19, 10:47 pm, Abhishek Gupta wrote: > Hello > > I am in process of deploying my web2py app. I need to do remove app name > from the urls. So that server.com/controller/function should mean > server.com/appname/controller/function

[web2py] compute=lambda r: don't return all the fields

2011-12-19 Thread Richard
Hello, I try to use compute to generate a record md5_hash on insert and update, but I discover that compute=lambda r: don't return all the db.table fields why? Thanks Richard

[web2py] Re: migrate passwords from phpBB

2011-12-19 Thread greenguerilla
Hi Anthony, I'm using this python module which claims to mimic the encyption used in phpBB: https://github.com/exavolt/python-phpass It seems to be working fine so far. Here are some examples: In [11]: import phpass In [12]: from phpass import PasswordHash In [13]: p = PasswordHash() In [14]:

Re: [web2py] Re: height of selects is narrower than inputs in the new layout

2011-12-19 Thread Martín Mulone
I have a different style but is something like this: After this https://github.com/dhgamache/Skeleton/blob/master/stylesheets/base.css#L327 add: form select, form input[type="file"] { height: 30px; } Also think, you have to make a fix for multiple select: select[multiple="multiple"] { heig

[web2py] computed field or is_in_db(query...

2011-12-19 Thread Jose Carlos Junior
Please...I have some dificult in do this in web2py...as follow db.define_table("cidadao" ,Field('CD_CIDADAO',type='id', label='Cidadão(PK)') ,Field('CD_MATRICULA',type='integer',notnull=True,label='Matrícula') ,Field('NM_CIDADAO',type='string',notnull=True,label='Nome') ,format =

[web2py] Help

2011-12-19 Thread Jose Carlos Junior
Please...I have some dificult in do this in web2py...as follow db.define_table("cidadao" ,Field('CD_CIDADAO',type='id',label='Cidadão(PK)') ,Field('CD_MATRICULA',type='integer',notnull=True,label='Matrícula') ,Field('NM_CIDADAO',type='string',notnull=True,label='Nome') ,format = '

[web2py] Re: Combine SQLFORM and SQLFORM.grid?

2011-12-19 Thread Cliff
Martin, There has been discussion about manipulating grid. Search for threads containing form.create() Also perhaps Anthony will chime in. He knows this stuff pretty well. apple, > Surely the grid is just a grid and does not have a submit button? SQLFORM.grid is much more than that. http://we

[web2py] Re: Combine SQLFORM and SQLFORM.grid?

2011-12-19 Thread apple
Surely the grid is just a grid and does not have a submit button? Do you mean that you have a grid linked to a form and you want to refresh it when the form is submitted? On Dec 18, 9:10 pm, Martin Weissenboeck wrote: > Hi, > I have one form created with SQLFORM and another form created with > S

[web2py] Remove app name from the urls

2011-12-19 Thread Abhishek Gupta
Hello I am in process of deploying my web2py app. I need to do remove app name from the urls. So that server.com/controller/function should mean server.com/appname/controller/function . Any clues so how I can edit my routes.py file to achieve the above? Regards Abhishek

Re: [web2py] Re: book 4th edition in PDF

2011-12-19 Thread António Ramos
I have the pdf from Lulu for the 3rd edition, can i get a free pdf for the 4th edition? Thank you 2011/12/19 Massimo Di Pierro > it is the same. Will try make an epub version. > > On Dec 19, 6:43 am, carlo wrote: > > Is the pdf the same as the printed Lulu version? > > Interested with the epub

Re: [web2py] Re: Solidform: key-error

2011-12-19 Thread Johann Spies
Thanks. I will try it out and let you know. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)

[web2py] grid search_menu method usability improvement

2011-12-19 Thread Cliff
Change the definition of selectfields (~line 1322 of sqlhtml.py) to selectfields = {T('Choose a field.'):''} As it is now, the first line of the select field dropdown is blank, which does not help the user figure out what to do. The proposed change helps the user figure out what to do.

[web2py] Re: book 4th edition in PDF

2011-12-19 Thread Massimo Di Pierro
it is the same. Will try make an epub version. On Dec 19, 6:43 am, carlo wrote: > Is the pdf the same as the printed Lulu version? > Interested with the epub version for my ereader though, thank you Massimo

[web2py] Re: book 4th edition in PDF

2011-12-19 Thread Massimo Di Pierro
fascinating... will fix it. On Dec 19, 5:15 am, Khalil KHAMLICHI wrote: > javascript title :) > >  w2p_pagetitle.png > 113KViewDownload

[web2py] Re: book 4th edition in PDF

2011-12-19 Thread Massimo Di Pierro
I emailed it to you. On Dec 19, 5:04 am, Tito Garrido wrote: > Worked AMEX :) > > Quick question... how can download it if I lost my link after the payment? > > Regards, > > Tito > > On Mon, Dec 19, 2011 at 6:00 AM, Martin Weissenboeck > wrote: > > > It worked for me. > > > 2011/12/19 Martin Wei

Re: [web2py] Re: SQLForm.grid - How do I use it properly?

2011-12-19 Thread Johann Spies
On 19 December 2011 12:06, Rahul wrote: > Hi All, > I was just wondering if I can use the row.id or any information > with sqlform.grid - > Below is the link I have defined to show a button called Send Request. > I have re-directed it to use a custom function "regstatus" that passes > a row.

[web2py] Re: URLs with non english characters causing error in GAE

2011-12-19 Thread Massimo Di Pierro
this is fixed in trunk. On Dec 19, 3:15 am, Arbie Samong wrote: > My app is getting errors when routing custom profile URLs with non- > english characters. Here's a sample URL: > > 2011-12-18 23:07:14.292 /profile/carlos_alvarez%20el > %C3%B3segui_9w5Z1HdEW 500 53ms 0kb Mozilla/5.0 (compatible; G

[web2py] Re: height of selects is narrower than inputs in the new layout

2011-12-19 Thread Massimo Di Pierro
Me too. Can you send a web2py.css patch? On Dec 19, 3:12 am, puercoespin wrote: > Hi, I like very much the new layout of the 1.99.4 version. But in > forms, the selects are narrower than inputs. I think there would be > equal.

Re: [web2py] Re: SQLForm.grid - How do I use it properly?

2011-12-19 Thread Johann Spies
On 19 December 2011 13:41, Rahul wrote: > Also, to add to above questions - How can we hide the query > button on the search area in sqlform.grid. And if its possible to hide > clear button as well!! > > Use the argument 'searchable=False' in your grid definition. See http://www.web2py.com/

[web2py] Re: Log tickets

2011-12-19 Thread Anders Roos
I think this would be a great addition. The major pro is that you can redirect the information about new tickets to a place where you already have other logging. For instance, we run web2py in apache2 via wsgi, and we already have several apache mods for other things. The sysadmins already know

[web2py] Re: new book now available in HTML (english, japanese, italian)

2011-12-19 Thread Omi Chiba
Japanese version looks awsome !! On Dec 19, 12:12 am, Massimo Di Pierro wrote: > The latest book edition (4th) is now available for free here: > >    http://web2py.com/book > > This is not the final version of the new book application but it is a > major improvement over the old one. > It works o

[web2py] Re: Solidform: key-error

2011-12-19 Thread kenji4569
Thanks for your details. I found a bug in the plugin, which occurs when using fields with hide properties such as readonly. Then I fixed the bug. Could you test the new version of the plugin?: http://dev.s-cubism.com/plugin_solidform Regards, Kenji On 12月19日, 午後5:51, Johann Spies wrote: > Dear

[web2py] Re: book 4th edition in PDF

2011-12-19 Thread carlo
Is the pdf the same as the printed Lulu version? Interested with the epub version for my ereader though, thank you Massimo

[web2py] Re: SQLForm.grid - How do I use it properly?

2011-12-19 Thread Rahul
Hi All, Also, to add to above questions - How can we hide the query button on the search area in sqlform.grid. And if its possible to hide clear button as well!! Thanks, Rahul D (www.flockbird.com - web2py powered) - On Dec 19, 3:06 pm, Rahul wrote: > Hi All, >

Re: [web2py] book 4th edition in PDF

2011-12-19 Thread Tito Garrido
Worked AMEX :) Quick question... how can download it if I lost my link after the payment? Regards, Tito On Mon, Dec 19, 2011 at 6:00 AM, Martin Weissenboeck wrote: > It worked for me. > > > 2011/12/19 Martin Weissenboeck > >> I am trying. >> >> Regards, Martin >> >> > > -- Linux User #387

Re: [web2py] Re: Logout if browser is closed

2011-12-19 Thread Khalil KHAMLICHI
Hi, This code works fine on Firefox (on refresh, on changing url in address bar AND on closing browser) http://www.w3.org/1999/xhtml";> Test LogOut function OutPopup(){ window.open('page2.html', 'My LogOut Popoup'); // the folowing alert will prove that the function executed alert(

[web2py] Re: SQLForm.grid - How do I use it properly?

2011-12-19 Thread Rahul
Hi All, I was just wondering if I can use the row.id or any information with sqlform.grid - Below is the link I have defined to show a button called Send Request. I have re-directed it to use a custom function "regstatus" that passes a row.id argument. ---code--- links = [lambda row: A(SPAN(_

[web2py] URLs with non english characters causing error in GAE

2011-12-19 Thread Arbie Samong
My app is getting errors when routing custom profile URLs with non- english characters. Here's a sample URL: 2011-12-18 23:07:14.292 /profile/carlos_alvarez%20el %C3%B3segui_9w5Z1HdEW 500 53ms 0kb Mozilla/5.0 (compatible; Googlebot/ 2.1; +http://www.google.com/bot.html) 173.245.56.25 - - [18/Dec/2

[web2py] height of selects is narrower than inputs in the new layout

2011-12-19 Thread puercoespin
Hi, I like very much the new layout of the 1.99.4 version. But in forms, the selects are narrower than inputs. I think there would be equal.

Re: [web2py] Re: Solidform: key-error

2011-12-19 Thread Johann Spies
Dear Kenji, Apologies for the late reply. I was away for a few days. Do you use virtual fields for computing the article_eq and ltitle? > > No. Here is my model: akb_signature_uuid = db.Table(db, 'akb_signature_uuid', Field('uuid', length = 64, default = lambda:str(uuid.u

Re: [web2py] book 4th edition in PDF

2011-12-19 Thread Martin Weissenboeck
It worked for me. 2011/12/19 Martin Weissenboeck > I am trying. > > Regards, Martin > >