Request Parameter

Request Parameter:

Request parameters are used to extract values from the HTML Form (input elements) tags coming in the request.

Parameter Details

  1. Attribute Name: It is the attribute name for which the parameter is defined. This is the name of Form element coming in request.
  2. Note: On selecting the ‘Parameter name is same as attribute name’ check box, the parameter name is considered same as the attribute name.

  3. Parameter Name: Name of parameter to be associated with an attribute name.
  4. Occurrence Count: This property is used when the source value of a Request parameter can occur multiple times in a request. It indicates which instance of the value should be extracted. The default index is 1. There are following options:
    • Index: Particular Instance.
    • All: All occurrences.
    • Any: randomly selects one of the occurrence.
  5.  Start offset: This is required if only part of the delimited value needs to be assigned to the parameter. The offset value must be non-negative. Only numbers are allowed and there is no limit. It defines the starting position of the portion, which needs to be extracted means from where value of variable is started.
    If you want to set the offset from the beginning of the occurrence count, then the user has to select the From the Beginning checkbox.
  6. Maximum length: Maximum length of the attribute value to be saved. A default value for the variable is 0. If the value is 0, then save complete attribute value.
    If you want to set the maximum length of the occurrence count, then the user has to select the Till the End checkbox.
  7. Action on not found: This action is taken if parameter is not found. It has following two options:
    • Do not log message: It will not log any message.
    • Log Message: It will log all the message in the error logs.
  8. Default Value: Default value of parameter
  9. Decode Attribute Value: To decode/do not decode the attribute value
    • Decode : To decode when attribute value is extracted from the HTTP request. Decoding is done for URL style encoded value of the attribute. Example: %3D decode into =.
    • Do not Decode : The value is not decoded when it is extracted from the HTTP request.
  10. Encode in response Template: To encode request parameter if used in the response template.
    • Do not encode: No need to encode value in response template.
    • Encode all characters: Encode all character of value in response template.
    • Encode specified characters: Encode only specified characters of value.
  11. Transform: Specifies any built-in transforms which need to be applied to the attribute value before it is assigned to the parameter. This is done after Decode, if decoding is to be done.
    • Reverse: String fetched from request is reversed in the response file.
    • None: No transformation is done.