That was what I was trying to do.
The problem is that the queries that were going to be executed in the 
destination (shared function) vary according to the requesting controller. 
The query string passed through the session would solve this, but because 
the only way to execute it in the destination would be to use eval, I 
dismissed the idea.


sexta-feira, 3 de Maio de 2019 às 12:42:05 UTC+1, Anthony escreveu:
>
> It might help to show some code. Why don't you just put the shared 
> function in a model or module and call it directly from each controller?

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to