[web2py] Re: get hidden input value in controller

2014-09-10 Thread trr
Thanks Niphlod. I changed from _type='hidden' to _class='hidden. But still it is not in request.vars. In controller I do INPUT(_id='txtNoOfRows',_class='hidden',_value=len(l)), On Tuesday, September 9, 2014 4:20:48 PM UTC+5:30, trr wrote: > > > I h

[web2py] get hidden input value in controller

2014-09-09 Thread trr
I have a hidden input in form. I set the hidden value in client by java script. But I am not able to get the value in request.vars or request.post_vars in controller. It returns None. How to get the hidden input values in controller.? I generate the form in controller and is post method. --

[web2py] Re: dynamically add rows to html table

2014-09-09 Thread trr
ows-in-html-table-using-javascript/>. Thank you once again. On Saturday, September 6, 2014 12:51:00 PM UTC+5:30, trr wrote: > > I have a html table generated in controller. This table gets rendered. Now > if the user wants more number of rows added to the table, I give a AddRows &

[web2py] dynamically add rows to html table

2014-09-06 Thread trr
I have a html table generated in controller. This table gets rendered. Now if the user wants more number of rows added to the table, I give a AddRows button. On the click of AddRows I would like to add rows to the existing table in the controller with empty cells and render it with the additiona

[web2py] Re: web2py list of dictionaries

2014-09-04 Thread trr
Thanks for the solution, Joe, Leonel, Stefaan. To continue, why should I create a new dictionary. My idea was to use one dictionary and populate it with all data. Will that not be more efficient? Thank you once again. On Wednesday, September 3, 2014 5:15:40 PM UTC+5:30, trr wrote: > &

[web2py] web2py list of dictionaries

2014-09-03 Thread trr
In controller I create a list of dictionaries from an uploaded excel file. Then I populate the list to a html table. I use xlrd lib for reading excel file. The problem is the dictionary gets correctly populated from excel but when I append the dictionary to the list and enumerate the list it sho

[web2py] Re: Multiple tables: update/insert/delete: in one form

2014-02-24 Thread trr
Have you switched over from VFP to web2py? If so I would like to take your guidance for a similar data intensive app. On Monday, May 30, 2011 9:25:01 PM UTC+5:30, Vineet wrote: > > Can anybody toss his/her ideas on my code given in the previous post? > ---Vineet -- Resources: - http://web2py.c