it's best if you pack an app to reproduce the issue, or at least some
complete piece of code that explains it.
>From what I understand, you're expecting that a (re)LOAD()ed component
would change its behaviour due to some variable.
*A controller called performance_matrix.py has a method index(); that
method receives request.vars and depending on received variable x it
displays a different type of data.*
means that hitting /app/performance_matrix/index?*x=1* produces a different
output than /app/performance_matrix/index?
*x=2*
*performance_matrix/index.html is quite simple...{{extend
'layout.html'}}{{block center}}{{=LOAD('performance_matrix','*
*index.load',ajax=True, times = "infinity", timeout=1000*60)}}{{end}}*
this is quite convoluted (or a typo in your explanation...) you're loading
a component INSIDE performance_matrix/index.html WITHOUT any reference to
the *x *variable, and in addition you are LOAD()ing the same controller,
albeit with .load, every 60 seconds for eternity.........how can you expect
the LOAD()ed piece to produce different outputs ? it has no knowledge of *x*
--
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.