fun HTMLForm(htmlC: HTMLComponent, action: String?, method: String?, encType: String) { htmlC = htmlC action = htmlC.convertURL(action) encType = encType if (htmlC.getHTMLCallback() != null) { val linkProps: Int = htmlC.getHTMLCallback().getLinkProperties(htmlC, action) if (linkProps and HTMLCallback.LINK_FORBIDDEN !== 0) { action = null } } this.isPostMethod = method != null && method.equals("post", ignoreCase = true) }
Constructs the HTMLForm