Below is sample on how to set page dynamically in tapestry 4.1 using ipage
public IPage doCallMethodSave(IRequestCycle cycle) {
IPage ipage = null;
ipage = cycle.getPage("pageName");
return ipage;
}
Employee Master
id bigint
name text
department_id bigint
Department Master
id bigint
name text
Query
select userid,string_agg(gr.roledescription,',') from employee_master employee
INNER JOIN department_master dept ONemployee.department_id=dept.id