Changed to use HttpServletRequest constants instead of plain numbers
formDisplayOnly parameter (or context value) to make the form render as
  display-only (read-only)