page.setNextPage(cycle.getPage().getPageName());
page.setCallback(new PageCallback(getPage()));
    public void edit(IRequestCycle cycle) {        String editPageName = getEditPageName();        EditGateway page = (EditGateway) cycle.getPage(editPageName);        Integer id = (Integer) cycle.getServiceParameters()[0];        page.setGatewayId(id);        page.setRuleId(getRuleId());        page.setNextPage(cycle.getPage().getPageName());                cycle.activate(page);    }