Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-200

The Submit component doesn't need validation decoration

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.0.16
    • Component/s: None
    • Labels:
      None

      Description

      Currently, each form field, including submits, is wrapped with validation decoration. Eg:
      <input id="itemEdit" name="itemEdit" type="submit" value="Edit">
      <img alt="[Error]" class="t-error-icon t-invisible" id="itemEdit:icon" src="/myapp/assets/tapestry/field-error-marker.png">

      Submit should suppress it by eg:
      @Override
      public void beforeDecorator(MarkupWriter writer)
      {
      }

      @Override
      public void afterDecorator(MarkupWriter writer)
      {
      }

      Cheers,
      Nick.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              sicklittlemonkey Nick Westgate
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: