Tapestry
  1. Tapestry
  2. TAPESTRY-1588

Validation error images are included in the markup for fields without errors, even when the form has client validation disabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.5
    • Fix Version/s: 5.0.14
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      If you set clientValidation="false" on a form, T5 renders the validation error image for all input components (for validation errors that might occur):

      <img alt="[Error]" class="t-error-icon t-invisible" id="cancel:icon" src="/app/assets/tapestry/field-error-marker.png">

      With clientValidation="false" this should not be needed and markup could be improved + page load time reduced.

        Issue Links

          Activity

          Hide
          Finn Kennedy added a comment -

          The ability to turn off css/images for forms is especially useful when developing for mobile devices where support of css etc is very limited. Currently on for ex a blackberry browser the alt image text is displayed next to each form element.

          Show
          Finn Kennedy added a comment - The ability to turn off css/images for forms is especially useful when developing for mobile devices where support of css etc is very limited. Currently on for ex a blackberry browser the alt image text is displayed next to each form element.

            People

            • Assignee:
              Howard M. Lewis Ship
              Reporter:
              Martin Grotzke
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development