[web2py] Re: Hooking up Validation to Client-Created Form Elements

2013-09-15 Thread Shawn Wheatley
? -Shawn On Saturday, September 14, 2013 9:33:44 PM UTC-4, Shawn Wheatley wrote: I'm working on an app with a master/detail-style view with a number of detail lines that can be increased on the client. Right now, I'm using jQuery to clone the table row of controls above and renaming the form

[web2py] Hooking up Validation to Client-Created Form Elements

2013-09-14 Thread Shawn Wheatley
I'm working on an app with a master/detail-style view with a number of detail lines that can be increased on the client. Right now, I'm using jQuery to clone the table row of controls above and renaming the form elements (named following a pattern of item___001, item___002, etc.) This works

[web2py] PyCharm to Support web2py in the 3.0 release

2013-03-29 Thread Shawn Wheatley
According to their roadmap for 3.0: http://confluence.jetbrains.com/display/PYH/PyCharm+3.0+Roadmap web2py support is the 2nd bullet on the list. The feature is not marked as having been started or completed, but they are targeting a fall 2013 release. Shawn -- --- You received this

[web2py] SQLFORM.grid/smartgrid: passing different fields to editargs for parent and child

2013-03-26 Thread Shawn Wheatley
I'm trying to edit a different subset of fields when editing records for a parent table and a child table. Looking at the source for SQLFORM, it looks like the dictionary passed to editargs is merged on-demand with the formargs dictionary. This is causing errors for me when editing the child

[web2py] Re: Query Not Supported: (1054, Unknown column 'daily_counts.add_date' in 'order clause') No records f

2013-03-24 Thread Shawn Wheatley
I am seeing a similar issue using smartgrid for a master-detail invoice view. When clicking on the link for my detail child records, I get an error saying the column I'm ordering by in the master doesn't exist. Has this been resolved yet? Dan, did you open a ticket for this? Shawn On Monday,

[web2py] Re: Query Not Supported: (1054, Unknown column 'daily_counts.add_date' in 'order clause') No records f

2013-03-24 Thread Shawn Wheatley
Hmmm... I also just discovered that specifying fields on the smartgrid causes issues with the child tables. Is there a way to pass another list of fields for the child table? On Sunday, March 24, 2013 11:17:24 PM UTC-4, Shawn Wheatley wrote: I am seeing a similar issue using smartgrid

[web2py] Re: Query Not Supported: (1054, Unknown column 'daily_counts.add_date' in 'order clause') No records f

2013-03-24 Thread Shawn Wheatley
I figured it out. I didn't read the section of the docs on smartgrid well enough. I now see you *can* pass multiple values to orderby and fields as a dictionary, with the table names as the keys. Shawn On Sunday, March 24, 2013 11:21:29 PM UTC-4, Shawn Wheatley wrote: Hmmm... I also just

[web2py] CSV Import Error: ValueError: invalid literal for int() with base 10: ''

2013-03-07 Thread Shawn Wheatley
Hi All, I've been trying to track down an issue importing data from a legacy application I'm converting over to web2py. I have exported the data as described in the documentation (Table Foo, header line, data, 2 rows in-between, END at the end) but I'm getting this traceback when trying to

[web2py] Re: CSV Import Error: ValueError: invalid literal for int() with base 10: ''

2013-03-07 Thread Shawn Wheatley
. On Wednesday, 6 March 2013 22:58:47 UTC-6, Shawn Wheatley wrote: Hi All, I've been trying to track down an issue importing data from a legacy application I'm converting over to web2py. I have exported the data as described in the documentation (Table Foo, header line, data, 2 rows in-between, END