Neokernel API

HTMLFormWriter.writeButton Method

Writes a standalone button as a form. Use this method to create a form with no other elements except the button, which submits the form when pressed. This form submits a POST request to the specified submitURL with the "opcode" parameter set to the specified opcode value. It also passes a "login_user" and "login_hash" based on the "name" and "password" Props of the specified userProps.

public virtual void writeButton(
   string submitURL,
   string title,
   string opcode,
   Props userProps
);

See Also

HTMLFormWriter Class | com.neokernel.httpd Namespace