[web2py] Re: Missing request.vars. when is being passed back by Ajax

2013-05-20 Thread Yuval
Even better! Thank you Anthony. On Monday, May 20, 2013 9:17:05 AM UTC-7, Anthony wrote: > > I hope that the document was better, it is somewhat lacking on this area. > > > The book does indicate that the second argument to the ajax() function > takes a list of names of input fields (not arbitrar

[web2py] Re: Missing request.vars. when is being passed back by Ajax

2013-05-20 Thread Yuval
Life saver, it works, I hope that the document was better, it is somewhat lacking on this area. Thanks, Yuval On Sunday, May 19, 2013 11:35:23 PM UTC-7, Lio wrote: > > Hi Yuval, > > I was trying to do the same as you passing vars to controller via DIV. The > fact is (as far as

[web2py] Missing request.vars. when is being passed back by Ajax

2013-05-19 Thread Yuval
called but *request.vars* is empty from any element An advice will be greatly appreciated. Yuval -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

Re: [web2py] Problem with the search when using two SQLFORM.grid on the same web page

2013-04-19 Thread Yuval
x27;grid1') for one and > SQLFORM.grid(, formname='grid2') for the other > > > On Friday, April 19, 2013 5:19:09 AM UTC+2, Yuval wrote: >> >> I am using two different SQLFORM.grid on the same page. >> >> Each is based on a different query an

[web2py] Problem with the search when using two SQLFORM.grid on the same web page

2013-04-18 Thread Yuval
I am using two different SQLFORM.grid on the same page. Each is based on a different query and tables. When I enter text and select search on one SQLFORM.grid, the same text is populated and search is executed on the other SQLFORM.grid. Is there any way to prevent it? -- --- You received t

Re: [web2py] override smartgrid 'add' button

2013-03-10 Thread Yuval
Hi, Your post is a year old by now but I wonder if you find the "right" solution other than hide the "add" link and provide your own? Regards, Yuval On Thursday, May 10, 2012 6:05:53 AM UTC-7, Jim S wrote: > > I would really like to see an option to override the defa

[web2py] Re: web2py ajax function returns only non readonly fields

2012-07-09 Thread Yuval
To duplicate the fields once as a label and once as a hidden field? Its doable, but not too classy, Tx. On Monday, July 9, 2012 8:21:00 AM UTC-7, Anthony wrote: > > You might put the value in a hidden field as well. > > Anthony > > On Monday, July 9, 2012 11:09:50 AM UTC-4, Yuva

[web2py] web2py ajax function returns only non readonly fields

2012-07-09 Thread Yuval
The ajax function is defined as: ajax(url, [name1, name2, ...], target) where the 'name1' 'name2' are defined as ids of an input fields. *This is working fine for fields that are defined as:* * Field('first_name', label=T('First Name')) When the field is set to be read only, it is rendered as a l

[web2py] Re: get user id on mobile app after login to web2py

2012-01-17 Thread Yuval
The cookies was an easy and strait forward implementation. Adding response.cookies['myCookie'] = 'myData' in the web2py default controller (that the user will visit once logged in) and using the CookieManager Class on the app side provided a simple solution. Thanks, Yuval

[web2py] Re: get user id on mobile app after login to web2py

2012-01-16 Thread Yuval
This is on the server side, I looked for the better way to get it over from the server to the mobile application/ client side. I will just set the user id in a cookie and I will pick up from the cookie on the mobile application side. Thanks Yuval On Jan 16, 4:50 pm, Yuval wrote: > I need

[web2py] get user id on mobile app after login to web2py

2012-01-16 Thread Yuval
I need the web2py user id on an android mobile application. The user will use a web page (WebView) to perform the login (or to register). Once logged in, what is the best suggested way to pass back the user id to the container application (browser)? Thanks, Yuval