String display = params.get("display");
String results = params.get("results"); // URLDecoder.decode(params.get("results"), "UTF-16");
String orderBy = params.get("order_by");
String[] resultColumns = results.split(",");
context.put("StringFormat", new StringFormat()); // needed in the template to format the display
context.put("field_name", fieldName);
context.put("field_list", resultColumns);
context.put("display", display);
context.put("prompt_data", URLEncoder.encode(encodedString, "UTF-8"));