/** * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. * <p> * Responds to a request. */ public final void request() { checkReuse(); // set start step currentStep = PREPARE_REQUEST; // loop through steps steps(); }
/** * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. * <p> * Responds to a request. */ public final void request() { checkReuse(); // set start step currentStep = PREPARE_REQUEST; // loop through steps steps(); }
/** * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. * <p> * Responds to a request with the request target. * * @param target * request target */ public final void request(IRequestTarget target) { checkReuse(); // set it as the current target, on the top of the stack requestTargets.push(target); // set start step currentStep = PROCESS_EVENTS; // loop through steps steps(); }
/** * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. * <p> * Responds to a request with the request target. * * @param target * request target */ public final void request(IRequestTarget target) { checkReuse(); // set it as the current target, on the top of the stack if (target != null) { requestTargets.push(target); } // set start step currentStep = PROCESS_EVENTS; // loop through steps steps(); }
/** * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. * <p> * Responds to a request to re-render a single component. * </p> * <p> * NOTE: This method is typically only used for testing purposes. * </p> * * @param component * to be re-rendered */ public final void request(final Component component) { checkReuse(); if (component.isAuto()) { throw new WicketRuntimeException("Auto-added components can not be re-rendered"); } request(new ComponentRequestTarget(component)); }
/** * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. * <p> * Responds to a request to re-render a single component. * </p> * <p> * NOTE: This method is typically only used for testing purposes. * </p> * * @param component * to be re-rendered */ public final void request(final Component component) { checkReuse(); if (component.isAuto()) { throw new WicketRuntimeException("Auto-added components can not be re-rendered"); } request(new ComponentRequestTarget(component)); }