indListPorlet = (IndividualsListPortlet) getPortletByClassName(IndividualsListPortlet.class.getName());
setControllingPortlet(indListPorlet);
if (clsTreePortlet != null && indListPorlet != null) {
clsTreePortlet.addSelectionListener(new SelectionListener() {
public void selectionChanged(SelectionEvent event) {
List<EntityData> clsSel = clsTreePortlet.getSelection();
if (!clsSel.isEmpty()) {
EntityData selection = clsSel.get(0);
clsTreePortlet.setEntity(selection); //might cause later infinite cycles, if anything will happen in setEntity