/** * Resets this form. */ public void jsxFunction_reset() { getHtmlForm().reset(); }
/** * Resets this form. */ public void jsxFunction_reset() { getHtmlForm().reset(); }
/** * Reset the current form. See {@link #getForm}for an explanation of how the current form is established. */ @Override public void reset() { getForm().reset(); }
/** * Resets this form. */ public void jsxFunction_reset() { getHtmlForm().reset(); }
/** * Resets this form. */ @JsxFunction public void reset() { getHtmlForm().reset(); }
/** * {@inheritDoc} */ @Override protected boolean doClickStateUpdate(final boolean shiftKey, final boolean ctrlKey) throws IOException { final HtmlForm form = getEnclosingForm(); if (form != null) { form.reset(); return false; } super.doClickStateUpdate(shiftKey, ctrlKey); return false; }
/** * Resets this form. */ @JsxFunction public void reset() { getHtmlForm().reset(); }
/** * {@inheritDoc} */ @Override protected boolean doClickStateUpdate(final boolean shiftKey, final boolean ctrlKey) throws IOException { final HtmlForm form = getEnclosingForm(); if (form != null) { form.reset(); return false; } super.doClickStateUpdate(shiftKey, ctrlKey); return false; }
/** * {@inheritDoc} */ @Override protected Page doClickAction(final Page defaultPage) throws IOException { final String type = getTypeAttribute().toLowerCase(); final HtmlForm form = getEnclosingForm(); if (form != null) { if (type.equals("submit")) { return form.submit(this); } else if (type.equals("reset")) { return form.reset(); } } return defaultPage; }
/** * {@inheritDoc} */ @Override protected Page doClickAction(final Page defaultPage) throws IOException { final String type = getTypeAttribute().toLowerCase(); final HtmlForm form = getEnclosingForm(); if (form != null) { if (type.equals("submit")) { return form.submit(this); } else if (type.equals("reset")) { return form.reset(); } } return defaultPage; }
/** * {@inheritDoc} */ @Override protected Page doClickAction(final Page defaultPage) throws IOException { final String type = getTypeAttribute().toLowerCase(); final HtmlForm form = getEnclosingForm(); if (form != null) { if (type.equals("submit")) { return form.submit(this); } else if (type.equals("reset")) { return form.reset(); } } return defaultPage; }
/** * This method will be called if there either wasn't an onclick handler or there was * but the result of that handler was true. This is the default behavior of clicking * the element. The default implementation returns the current page - subclasses * requiring different behavior (like {@link HtmlSubmitInput}) will override this * method. * * @param defaultPage the default page to return if the action does not * load a new page. * @return the page that is currently loaded after execution of this method * @throws IOException if an IO error occurred */ @Override protected Page doClickAction(final Page defaultPage) throws IOException { final HtmlForm form = getEnclosingForm(); if (form != null) { return form.reset(); } return super.doClickAction(defaultPage); }
/** * This method will be called if there either wasn't an onclick handler or there was * but the result of that handler was true. This is the default behavior of clicking * the element. The default implementation returns the current page - subclasses * requiring different behavior (like {@link HtmlSubmitInput}) will override this * method. * * @param defaultPage the default page to return if the action does not * load a new page. * @return the page that is currently loaded after execution of this method * @throws IOException if an IO error occurred */ @Override protected Page doClickAction(final Page defaultPage) throws IOException { final HtmlForm form = getEnclosingForm(); if (form != null) { return form.reset(); } return super.doClickAction(defaultPage); }
/** * This method will be called if there either wasn't an onclick handler or there was * but the result of that handler was true. This is the default behavior of clicking * the element. The default implementation returns the current page - subclasses * requiring different behavior (like {@link HtmlSubmitInput}) will override this * method. * * @param defaultPage the default page to return if the action does not * load a new page. * @return the page that is currently loaded after execution of this method * @throws IOException if an IO error occurred */ @Override protected Page doClickAction(final Page defaultPage) throws IOException { final HtmlForm form = getEnclosingForm(); if (form != null) { return form.reset(); } return super.doClickAction(defaultPage); }
form.reset(); return false;
form.reset(); return false;