* if the given page is not an instance of responsible_table_row
*/
public void linkResponsibleDepartment(Page responsibleTableRowPg) throws RQLException {
String templateName = getParameter("responsibleRowTemplateName");
if (!responsibleTableRowPg.isBasedOnTemplate(templateName)) {
throw new WrongTypeException("You try to link page with wrong template " + responsibleTableRowPg.getTemplateName()
+ ". You can link only pages of content class " + templateName + ".");
}
// remove and connect
List responsibleList = getResponsibleList();