visit(context.getForm().getSubmitButton()); visit(context.getForm().getCancelButton());
collect(context.getForm().getSubmitButton()); collect(context.getForm().getCancelButton());
        public ComponentCollector(IViewState viewState, HtmlComponent component) {            this.formComponents = new ArrayList<HtmlFormComponent>();            this.controllers = new ArrayList<HtmlController>();                        visit(component);                        InputContext context = (InputContext) viewState.getContext();            visit(context.getForm().getSubmitButton());            visit(context.getForm().getCancelButton());                        addHiddenComponents(viewState);        }