[web2py] Re: SQLFORM.grid edit only selects the first record and updates all records.

2014-11-19 Thread Stephen McCamy
- The update_record function is not available for Rows of keyed tables. That is why i believe. On Tuesday, November 18, 2014 11:02:05 PM UTC-5, Stephen McCamy wrote: Hello, I am having an issue with SQLFORM.grid where when there are more than one records returned the edit button

[web2py] Passing request.arg variables to .load components on the same page

2014-11-18 Thread Stephen McCamy
Hello, We have a web2py application that loads results from a database and navigates/displays the results by passing the primary key in the URL and reading the number using request.args. For example, below would display record number 1500 in the DB. If you clink the navigation tab below it

[web2py] Re: Passing request.arg variables to .load components on the same page

2014-11-18 Thread Stephen McCamy
That was it. Thanks! On Tuesday, November 18, 2014 10:17:45 AM UTC-5, Leonel Câmara wrote: You can pass args to LOAD the same way you pass them to URL. You probably want something like LOAD('controllerfile', 'function', args=request.args) -- Resources: - http://web2py.com -

[web2py] SQLFORM.grid edit only selects the first record and updates all records.

2014-11-18 Thread Stephen McCamy
Hello, I am having an issue with SQLFORM.grid where when there are more than one records returned the edit button only shows data for the first record. If I do update it then updates all the records with the new values. I can't seem to figure out why. Here is my db definition:

[web2py] Re: adding jQuery effects to A helper

2013-04-15 Thread Stephen McCamy
' http://localhost/app/function1.html/?s=, 'myid'); return false; % URL('default', 'function1', vars=dict(s= parameter))) Anthony On Wednesday, April 10, 2013 9:27:56 AM UTC-4, Stephen McCamy wrote: That works perfect! Yes, I didn't include the actual URL and I was unclear

[web2py] Re: adding jQuery effects to A helper

2013-04-15 Thread Stephen McCamy
function1(): ... return dict(timestamp=timestamp, url=url) /views/default/function1.load: {{=timestamp}} a href={{=url}}click me/a The HTML generated by the function1.load view will be inserted into the 'myid' div. Anthony On Monday, April 15, 2013 10:32:18 AM UTC-4, Stephen McCamy

[web2py] Re: adding jQuery effects to A helper

2013-04-15 Thread Stephen McCamy
the generic view if enabled, and if not, you will get an error. The generic view creates a table showing all the items in the dict using the BEAUTIFY() helper. Can you show the content of your function1.load view? Anthony On Monday, April 15, 2013 11:08:50 AM UTC-4, Stephen McCamy wrote

[web2py] Re: adding jQuery effects to A helper

2013-04-10 Thread Stephen McCamy
information thank you! On Tuesday, April 9, 2013 11:11:13 PM UTC-4, Stephen McCamy wrote: Hello, I am trying to add a jQuery effect to my A helper below. I am not stuck on using the A helper but it works well so that is what I am doing. Below passes a parameter to a function and the results

[web2py] Re: adding jQuery effects to A helper

2013-04-10 Thread Stephen McCamy
on the page. Anthony On Wednesday, April 10, 2013 8:56:03 AM UTC-4, Stephen McCamy wrote: Ok, that makes sense. So how can you write it so the web2py component will not only fade out but will load into a specified id in the DIV as as well? The example you provided forces the link to fadeout

[web2py] adding jQuery effects to A helper

2013-04-09 Thread Stephen McCamy
Hello, I am trying to add a jQuery effect to my A helper below. I am not stuck on using the A helper but it works well so that is what I am doing. Below passes a parameter to a function and the results are loaded into the div when the function finishes. I want to indicate to the user that