Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2586

Some abstract base class methods should be overridable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.14
    • Fix Version/s: 5.0.15
    • Component/s: tapestry-core
    • Labels:
      None
    • Environment:
      All

      Description

      In TAPESTRY-2484 TextField, PasswordField, TextArea classes were made extensible. However the abstract classes with all the really interesting stuff are still marked final. In AbstractTextField methods final void begin(MarkupWriter writer) and protected final void processSubmission(String elementName) are still final.

      Could these be made extensible also?

      Now if I want to have my own validator and translator logic / sources I have to copy the abstract field code to my codebase and make changes.

        Attachments

          Activity

            People

            • Assignee:
              igor.drobiazko Igor Drobiazko
              Reporter:
              9902468 Ville Virtanen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: