Struts 2
  1. Struts 2
  2. WW-3598

FieldErrorHandler in javatemplates plugin does not respond to escape attribute

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1.1
    • Fix Version/s: 2.2.3
    • Labels:
      None
    • Flags:
      Patch

      Description

      The Field Error tag contains an escape attribute to allow you to switch off escaping, it's set to true by default. The javatemplates FieldErrorHandler does not respond to this attribute.
      It also adds the markup <ul></ul>, even if there are no errors, when specifying error field names.

      I'll attach a patch to fix both these issues.

      1. fielderror.patch
        2 kB
        Gareth Faires

        Activity

          People

          • Assignee:
            Maurizio Cucchiara
            Reporter:
            Gareth Faires
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development