/src/main/java/org/htmlunit/html/HtmlForm.java
final SgmlPage htmlPage = getPage( ) ;final HtmlPage htmlPage = ( HtmlPage) getPage( ) ;
final HtmlPage htmlPage = ( HtmlPage ) getPage ( ) ;
private boolean isPreventDefault_; HtmlForm(final String qualifiedName, final SgmlPage htmlPage, final Map<String, DomAttr> attributes) { super(qualifiedName, htmlPage, attributes); } public void submit(final SubmittableElement submitElement) { <extra_id_0> final WebClient webClient = htmlPage.getWebClient(); if (webClient.isJavaScriptEnabled()) { if (submitElement != null) { isPreventDefault_ = false; boolean validate = true; if (submitElement instanceof HtmlSubmitInput