with 'session.content = query_search' i save the query in session?

and request this on argument of function?

2016-12-07 12:33 GMT-02:00 Marlysson Silva <[email protected]>:

> You can use sessions..
>
> session.content = query_search
>
> and in your view responsible by generate pdf use:
>
> generate_pdf(session.content)
>
> Em quarta-feira, 7 de dezembro de 2016 10:08:45 UTC-3, Áureo Dias Neto
> escreveu:
>>
>> I have a search form, which filter the fields, I filter my query .. so
>> far so good ..
>>
>> The search works perfectly, from the results I generate a PDF, but, how
>> to pass this query from the search form to my PDF ..
>>
>> Note that PDF is generated in another function.
>>
>> Thank you!
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> 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/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to