code: public static String substitute(String input, Object model)
      throws MdwException {
          return substitute(input, model, null, false);
      }
docs: Substitutes dynamic values for expressions in the input string.
  @param input raw input string
  @param model object containing the values to substitute
  @return string with values substituted