code: public static String addParamToState(String state, String paramName, String value) {
  
          return state + PARAM_SEPARATOR + paramName + PARAM_ASSIGN + CmsEncoder.encode(value, CmsEncoder.ENCODING_UTF_8);
      }
docs: Adds a parameter value to the given state.<p>
  
  @param state the state
  @param paramName the parameter name
  @param value the parameter value
  
  @return the state