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

The Submit component doesn't need validation decoration

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.15
    • 5.0.16
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hlship Howard Lewis Ship
            sicklittlemonkey Nick Westgate
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment