Neokernel API

HTMLFormWriter Methods

The methods of the HTMLFormWriter class are listed below. For a complete list of HTMLFormWriter class members, see the HTMLFormWriter Members topic.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
printOverloaded. Converts the integer to a String and writes it to the output.
printlnOverloaded. Converts the integer to a String and writes it to the output followed by a carriage return.
ToString (inherited from Object) 
writeButton 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.
writeCaption Adds a centered caption to the form output.
writeCheckboxOverloaded. Writes a checkbox to the form output.
writeFieldOverloaded. Writes a standard input field to the form output.
writeFooter Writes the form footer to the output. Call this method last to properly terminate the form HTML.
writeHeaderOverloaded. Writes the form header to the output. Call this method first to properly begin the form HTML. This creates a POST type request to the specified submitURL.
writeHiddenFieldOverloaded. Writes a hidden input parameter to the form output.
writeLoginFieldsOverloaded. Hidden "login_name" and "login_hash" parameters are added to the form output using the specified name and password.
writeMultilineFieldOverloaded. Writes a multiline field (TEXTAREA) to the form output.
writePasswordOverloaded. Writes a password input field to the form output.
writeProps Writes a table containing the Props keys and associated values to the output. This is useful for debugging the contents of AgentRequest Props.
writeResetButton Writes a reset button and description to the form output that resets changes to the form when pressed.
writeSelectFooter Writes the footer HTML for a SELECT to the form output.
writeSelectHeader Writes the header HTML for a SELECT to the form output to display a popup menu or selection list. The multiple parameter should be set to false for a popup; set it to true to create a selection list. A call to this method is typically followed by multiple calls to writeSelectItem followed by a call to writeSelectFooter to terminate the SELECT.
writeSelectItemOverloaded. Writes a SELECT OPTION to the form output. Calls to this method must be surrounded by calls to writeSelectHeader and writeSelectFooter.
writeSpace Writes appropriate HTML to the output to add vertical space between form items.
writeStaticField Writes a static text field to the form output.
writeSubmitButton Writes a submit button and description to the form output.

Protected Instance Methods

encode
Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

HTMLFormWriter Class | com.neokernel.httpd Namespace