Fran, thanks. Yeah, I had seen the .element(...) mod. That should allow me to locate and rip the download URL from the HTML tree and put it in an IMG tag. Not the prettiest way, and I would like to have something that works in production 1.54. So I will maintain my question on how to retrieve the download URL from a SQLFORM.
Re T2 -- my work process over the past weeks (on and off) with web2py has been to try T2, to get stuck, then to try SQLFORM, to get stuck again, and to finally hack my way to a solution using a mix of SQLFORM, regular FORM and/or form_factory -- with some superfast support from this forum, where needed. More than anything else, it's the lack of a single ONE way to do it that is frustrating and time consuming: having to try X different ways to get (IMO) basic functionality to work. Given my own experiences, I am surprised you found that T2 does most of what you need. Maybe I should give it another shot. Care to share some T2 secrets? ;-) Cheers, -Peter On Dec 29, 12:14 am, Fran <francisb...@googlemail.com> wrote: > On Dec 28, 9:42 pm, Peter <peter.kleyn...@gmail.com> wrote: > > > BTW, I would really appreciate a more formal API for SQLFORM that is > > more geared towards using it piecemeal rather than the single > > {{=form}}, which is suitable less than half of my current > > application's forms. > > I think the new form.element() functionality just added to trunk > should be helpful to > you:http://groups.google.com/group/web2py/browse_thread/thread/2d8cc57352... > > > I thought I would be able > > to get going quickly with SQLFORM and T2 CRUD, but so far, it's been a > > bit of an uphill battle, I'm afraid... All the more frustrating > > because I think it's very very close to what I need. > > I've found that with a little work, T2 does indeed do all that I want, > other than for when I need to build a form out of multiple tables :) > > I use a mixture of these: > db.table.exposes > db.table.displays > db.table.represent > db.table.contact.label > db.table.field.comment > > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---