public String buttonEditCommunication_action() {
RowKey rk = tableRowGroup1.getRowKey();
if (rk != null) {
Communication communication = (Communication) actionsNotCompletedList.getObject(rk);
if (! communication.getParticipants().isEmpty()) {
Contact contact = communication.getParticipants().get(0);
if (contact instanceof Partnership) {
getSessionBean1().setPartnership((Partnership) contact);
return "infoPartnership";
} else if (contact instanceof Person) {
getSessionBean1().setPerson((Person) contact);