[web2py] Helping Pakistan with Web2Py

2010-08-22 Thread Michael Howden
ers, which means that new features can quickly developed in response to changing requirements on-the-ground. For more information on how you can either use Sahana or help contribute to the effort, please visit: http://eden.sahanafoundation.org/wiki/Pakistan Or join: sahana-pakistan-2...@goog

[web2py] Invalid Data causes all Check Boxes to be selected

2010-05-23 Thread Michael Howden
Hello, I have a field: opt_severity = {1:T("Minor"), 2:T("Significant"), 3:T("Major"), 4:T("Catastrophic") } table.severity.requires = IS_IN_SET(opt_severity) table.severity.widget = CheckboxesWidget.widget If there is invalid d

Re: [web2py] Re: Multiple Select Widget

2010-03-05 Thread Michael Howden
; > On Feb 22, 5:19 am, Tiago Almeida wrote: >> > Is there a better way to do this type of functionality rather than >> > using a hidden multiple widget? >> >> Why not make a simple table/list of checkboxes next to each country? >> --- >> Tiago >>

RE: [web2py] Multiple Select Widget

2010-02-25 Thread Michael Howden
Is there a better way to do this type of functionality rather than using a hidden multiple widget? Why not make a simple table/list of checkboxes next to each country? --- Tiago On Mon, Feb 22, 2010 at 10:46 AM, Michael Howden wrote: Hey, I have a need to allow the user to select multiple cou

[web2py] Multiple Select Widget

2010-02-22 Thread Michael Howden
Hey, I have a need to allow the user to select multiple countries for a single record (in this case the record is a project - which could be occurring in a number of different countries). I've developed a widget which allows the user to select a country from a drop down, then click a button which

[web2py] Re: crud.select headers attribute

2010-01-17 Thread Michael Howden
>From my use of the crud.select, I found it needed to be: headers={'name':'Name'} (Field name only, not table name) On Nov 23 2009, 9:33 pm, annet wrote: > Massimo, > > On page 218 of the web2py manual it says: > > headers={'person.name', 'Name'} > > That should read like: > > headers={'person.na

[web2py] Application with hyphen in name not working

2010-01-14 Thread Michael Howden
Hi, I just installed a new application into Web2Py (haiti-py), but I got "Invalid Request" when I tried to run the application. It also didn't appear on the list of applications on http://127.0.0.1:8000/admin/default/site. However when I took out the hyphen it worked fine. I'm using Windows XP, f