If I have a query on a Template page, how do I express "this page", or more precisely "attribute x of this page"?
Example: I have tables for "departments" and "employees". For each department I want a page listing all employees of that department - but of course I want to do this within a Template "department". Each department has a department code, and each employee references his/her department by this code. So I need something like
where employee.depcode=<_thisPage.depcode>
How do I achieve this?