[web2py] Edit previous/next record from /edit view in sqlform.grid after update

2014-09-25 Thread D.P.
I have a large table with large amounts of text that is displayed through sqlform.grid. I want to be able to click the 'edit' link for a record from the sqlform.grid, update the record, and then go to the next record in the 'edit' view without returning to the sqlform.grid table after submit.

Re: [web2py] Crowdsourcing platform in Web2Py?

2013-09-09 Thread D.P.
, but if it fit for you, I can send the app to my > repository on github and you get it. > > > > 2013/7/4 D.P. > > >> Hello, >> >> it is my first post in this group, and it is a pleasure to be in, as I >> really think that web2py is a great tool. >> >>

[web2py] Crowdsourcing platform in Web2Py?

2013-07-04 Thread D.P.
Hello, it is my first post in this group, and it is a pleasure to be in, as I really think that web2py is a great tool. I am trying to see if there is any opensource crowdsoucing platform made in web2py? Does any know any of any code example? Regards, D. -- --- You received this message b

Re: [web2py] Re: SQLFORM Next Item in Database

2013-01-11 Thread D.P. Clark
Thanks! I'll give that a shot. On Wed, Jan 9, 2013 at 6:07 PM, Derek wrote: > Well, perhaps you could have a function called 'getNextID' which would > query the database for the next higher ID value. > > > On Wednesday, January 9, 2013 11:15:21 AM UTC-7, D.P. wrot

Re: [web2py] Re: SQLFORM Next Item in Database

2013-01-09 Thread D.P. Clark
wrote: > It seems to me that you could add a 'next' button on that page, which > would take request.args(0)+1 and formulate your HREF that way. > > > On Tuesday, January 8, 2013 2:43:46 PM UTC-7, D.P. wrote: >> >> I'm using solidtable to pull a selection from

[web2py] SQLFORM Next Item in Database

2013-01-08 Thread D.P.
I'm using solidtable to pull a selection from a database and display that selection (with the ability to edit the db entry) to the user. I added an extra column with the code: extracolumns = [{'label': A('Edit', _href='#'), 'content': lambda row, rc: A('Edit', _href= 'displ

[web2py] Changing Form View _onclick Radio Button Widget

2012-04-16 Thread D.P. Clark
o widget? Or can I accomplish this with a custom widget? I prefer to handle everything within the controller if it's possible. Thanks, D.P.

[web2py] Retrieving POST data with web2py as proxy

2012-03-29 Thread D.P. Clark
Hey All, I've been having some heavy jquery cross-domain issues, so I've been trying to get around that through web2py. I'm sending POST data from a local HTML file to my web2py server. Web2py is then making a python POST to a second server (which solves the cross-domain issue) and gets the expe

Re: [web2py] Re: Determining Local Server Filepath for Uploaded Files

2011-11-08 Thread D.P. Clark
form.accepts, you can also access it via form.vars.attachment > (and for backward compatibility, form.vars.attachment_newfilename). > > Anthony > > > On Tuesday, November 8, 2011 10:33:07 AM UTC-5, D.P. wrote: > >> Thanks for the information Andy. >> >> The docu

Re: [web2py] Re: Determining Local Server Filepath for Uploaded Files

2011-11-08 Thread D.P. Clark
lder (or whatever folder you set for uploads). > > Note, if you do any processing of the file, there's no need to "re-insert" > anything in the database, as the database merely stores the filename. > > Anthony > > > On Monday, November 7, 2011 6:07:10 PM UTC-5

[web2py] Determining Local Server Filepath for Uploaded Files

2011-11-07 Thread D.P. Clark
Anyone know how to pull an uploaded file from the database locally on the server? I want to do some server-side processing on the file and then re-insert it to the database. I'm not sure I understand how to get the local path on the server of the uploaded file. The static/upload directory append

[web2py] Opening TB Modal Window in View from Controller Form On_submit

2011-10-06 Thread D.P. Clark
e view, but I'd prefer to keep the form in the controller and call the modal on_accept from the view. D.P.