Neokernel API

XHTMLFormWriter Methods

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

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
print (inherited from HTMLFormWriter)Overloaded. Converts the integer to a String and writes it to the output.
println (inherited from HTMLFormWriter)Overloaded. 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" properties of the specified userProps.
writeCaption Adds a centered caption to the form output.
writeCheckboxOverloaded. Writes a checkbox to the form output.
writeCheckbox (inherited from HTMLFormWriter)Overloaded. Writes a checkbox to the form output and includes a title attribute.
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 XHTML.
writeHeaderOverloaded. Writes the form header to the output. Call this method first to properly begin the form XHTML. 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 XHTML for a SELECT to the form output.
writeSelectHeader Writes the header XHTML 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 XHTML to the output to add vertical space between form items.
writeStaticFieldOverloaded. Writes a static text field to the form output.
writeSubmitButton Writes a submit button and description to the form output.

Protected Instance Methods

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

See Also

XHTMLFormWriter Class | com.neokernel.httpd Namespace