OK, looks like there is at least one solution that uses Flash: https://github.com/dcneiner/Downloadify. Not sure if there are any other client-side possibilities.
Anthony On Friday, May 17, 2013 7:49:07 AM UTC-4, Anthony wrote: > > Are you saying you want the user to download a file containing the data? > As far as I know, that requires an HTTP request that returns a file (and if > the file is of a type the browser knows how to display, then the response > also needs a Content-Disposition header indicating the file is an > attachment). > > Anthony > > On Friday, May 17, 2013 6:41:46 AM UTC-4, Daniel Gonzalez wrote: >> >> Hi, >> >> In one of my views I am creating a table. During table creation time I >> have some dictionaries that I want to return as json objects. So in column >> "data" I want to provide a link to download this json objects. These >> objects are not stored anywhere (they are dinamically created), and are >> thus only known during the table instantiation time. >> >> Is it possible to do something like this: >> >> my_link = A(URL(data)) >> >> So that clicking the link will not perform an access to the web2py (no >> controller needs to be accessed, the data is already in the URL), but just >> show the json data? >> >> Thanks, >> Daniel >> > -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

