planetj.html
Class HTMLParameterInput

java.lang.Object
  extended byplanetj.html.AbstractParameterInputGenerator
      extended byplanetj.html.HTMLParameterInput

public class HTMLParameterInput
extends AbstractParameterInputGenerator

Generates HTML inputs for display parameters.


Method Summary
 java.lang.StringBuffer appendInput(IDisplayParameter param, java.lang.String attributes, boolean includeTableCell, java.lang.StringBuffer html, HttpServletRequest request, HttpServletResponse response)
          Generate and append HTML code to the given StringBuffer for the display parameter's HTML input.
 java.lang.StringBuffer appendInput(IDisplayParameter param, java.lang.StringBuffer html, HttpServletRequest request, HttpServletResponse response)
          Appends generated HTML code for an input form element for the display parameter
 java.lang.StringBuffer appendInput(IDisplayParameter param, java.lang.String attributes, java.lang.StringBuffer html, boolean includeTableCell, HttpServletRequest request, HttpServletResponse response)
          Deprecated. - switched order of StringBuffer and boolean to keep consistent with all other HTML generator methods... where last parameters are in order... buffer, request, response, servlet
 java.lang.StringBuffer appendParameterInput(IDisplayParameter param, java.lang.StringBuffer html, HttpServletRequest request, HttpServletResponse response)
          Appends generated HTML code for a label, operator, and input for a display parameter
 java.lang.StringBuffer appendParameterInputs(java.util.Iterator params, java.lang.StringBuffer html, HttpServletRequest request, HttpServletResponse response)
          Appends generated HTML code for a label, operator, and input for display parameters
 void loadAttributeValues(IContext context, HttpServletRequest request)
          Deprecated. replaced with HTMLExtractor.loadAttributeValues(IContext, HttpServletRequest)
 void loadParameterValues(IContext context, HttpServletRequest request)
          Deprecated. replaced with HTMLExtractor.loadParameterValues(IContext, HttpServletRequest)
static HTMLParameterInput singleton()
          Gets the singleton instance
 
Methods inherited from class planetj.html.AbstractParameterInputGenerator
appendEditFDQuickLink, isDisplayEditFDLink
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

appendInput

public java.lang.StringBuffer appendInput(IDisplayParameter param,
                                          java.lang.StringBuffer html,
                                          HttpServletRequest request,
                                          HttpServletResponse response)
                                   throws CMException
Appends generated HTML code for an input form element for the display parameter

Throws:
CMException

appendInput

public java.lang.StringBuffer appendInput(IDisplayParameter param,
                                          java.lang.String attributes,
                                          java.lang.StringBuffer html,
                                          boolean includeTableCell,
                                          HttpServletRequest request,
                                          HttpServletResponse response)
                                   throws CMException
Deprecated. - switched order of StringBuffer and boolean to keep consistent with all other HTML generator methods... where last parameters are in order... buffer, request, response, servlet

Appends generated HTML code for an input form element for the display parameter\

Throws:
CMException

appendParameterInput

public java.lang.StringBuffer appendParameterInput(IDisplayParameter param,
                                                   java.lang.StringBuffer html,
                                                   HttpServletRequest request,
                                                   HttpServletResponse response)
                                            throws CMException
Appends generated HTML code for a label, operator, and input for a display parameter

Throws:
CMException

appendParameterInputs

public java.lang.StringBuffer appendParameterInputs(java.util.Iterator params,
                                                    java.lang.StringBuffer html,
                                                    HttpServletRequest request,
                                                    HttpServletResponse response)
                                             throws CMException
Appends generated HTML code for a label, operator, and input for display parameters

Throws:
CMException

loadAttributeValues

public void loadAttributeValues(IContext context,
                                HttpServletRequest request)
                         throws CMException
Deprecated. replaced with HTMLExtractor.loadAttributeValues(IContext, HttpServletRequest)

Gets the values of all attributes out of the request and puts them in the context.

Throws:
CMException

loadParameterValues

public void loadParameterValues(IContext context,
                                HttpServletRequest request)
                         throws CMException
Deprecated. replaced with HTMLExtractor.loadParameterValues(IContext, HttpServletRequest)

Gets the values of all parameters out of the request and puts them in the context.

Throws:
CMException

singleton

public static final HTMLParameterInput singleton()
Gets the singleton instance


appendInput

public java.lang.StringBuffer appendInput(IDisplayParameter param,
                                          java.lang.String attributes,
                                          boolean includeTableCell,
                                          java.lang.StringBuffer html,
                                          HttpServletRequest request,
                                          HttpServletResponse response)
                                   throws CMException
Description copied from class: AbstractParameterInputGenerator
Generate and append HTML code to the given StringBuffer for the display parameter's HTML input.

Specified by:
appendInput in class AbstractParameterInputGenerator
Throws:
CMException