checkMaxLines(phoneId);
    public void addExternalLine(IRequestCycle cycle) {        Object[] params = cycle.getServiceParameters();        Integer phoneId = (Integer) TapestryUtils.assertParameter(Integer.class, params, 0);        AddExternalLine page = (AddExternalLine) cycle.getPage(AddExternalLine.PAGE);        page.setPhoneId(phoneId);        page.setCallback(new PageCallback(this));        cycle.activate(page);            }