To get a url you should use URL as explained in
http://web2py.com/book/default/chapter/04#URL

and it should look something like
URL('reports','export_array_records',vars={'EndTime': '2010-11-08
22:00:00', 'String': ['S1', 'S2'], 'StartTime': '2010-11-08
21:00:00'}, extension='csv')

but that will create the String part as ['S1','S2'] literally
String=%5B%27S1%27%2C+%27S2%27%5D

which I think it is neither what you want nor correct,
but to get it right would require a patch to web2py:
String='S1'&String='S2'

Denes

On Nov 22, 4:18 pm, Lorin Rivers <lriv...@mosasaur.com> wrote:
> I've got the starttime and endtime portions figured out, how do I represent 
> the Strings portion in a url?
>
> <Storage {'EndTime': '2010-11-08 22:00:00', 'String': ['S1', 'S2'], 
> 'StartTime': '2010-11-08 21:00:00', '_formname': 'no_table_create'}>
>
> Without the string bits, the url looks something like this:
>
> <http://localhost:8000/Debug/reports/export_array_records.csv/?startti...>
>
> How should I construct a URL that includes the String bits?
> --
> Lorin Rivers
> Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
> <mailto:lriv...@mosasaur.com>
> 512/203.3198 (m)

Reply via email to