PhoneModel model = getGatewayModel(); if (model != null) { EditGateway page = (EditGateway) cycle.getPage(EditGateway.PAGE); page.setGatewayModel(model); page.setGatewayId(null); page.setRuleId(null); page.setReturnPage(this); cycle.activate(page); }
    public void formSubmit() {        Collection selectedRows = getGatewaysToDelete();        if (selectedRows != null) {            getGatewayContext().deleteGateways(selectedRows);        }        selectedRows = getGatewaysToPropagate();        if (selectedRows != null) {            propagateGateways(selectedRows);        }    }