String groupsString = getGroupsString(); if (groupsString != null) { List groups = getSettingDao().getGroupsByString(Phone.GROUP_RESOURCE_ID, groupsString); intercom.setGroupsAsList(groups); }
    public void commit() {        // Proceed only if Tapestry validation succeeded        if (!TapestryUtils.isValid(this)) {            return;        }                // If there is an Intercom, then save/update it        Intercom intercom = getIntercom();        if (intercom != null) {            getIntercomManager().saveIntercom(intercom);        }    }