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

          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12568753 ] jira [ 12591773 ]
          Mark Thomas made changes -
          Workflow jira [ 12406547 ] Default workflow, editable Closed status [ 12568753 ]
          Howard M. Lewis Ship made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 5.0.14 [ 12313214 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          Howard M. Lewis Ship made changes -
          Issue Type Improvement [ 4 ] Bug [ 1 ]
          Summary Validation error images included in markup with form.clientValidation="false" Validation error images are included in the markup for fields without errors, even when the form has client validation disabled
          Howard M. Lewis Ship made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Howard M. Lewis Ship made changes -
          Assignee Howard M. Lewis Ship [ hlship ]
          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.
          Christian Köberl made changes -
          Field Original Value New Value
          Link This issue is related to TAPESTRY-1748 [ TAPESTRY-1748 ]
          Martin Grotzke created issue -

            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