Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4183

xhtml theme field errors are always centered

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.15.1
    • 2.5
    • None
    • None

    Description

      In xhtml/controlheader-core.ftl, the td that holds the error message is hard coded to align="center". That often looks pretty bad, particularly if labelposition is top, since that is left aligned.

      In a perfect world, I'd like to just remove the align="center", and let people use CSS to decide the position of the error (maybe copying over the "wwerr" style from the css_xhtml theme to be consistent and make it easier to match).

      If that is too big a regression change, an alternative is to enhance errorPosition to also support: "top-left", "top-center", "bottom-left", "bottom-center"

      Attachments

        Activity

          People

            Unassigned Unassigned
            perfnorm Jasper Rosenberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: