Tapestry
  1. Tapestry
  2. TAPESTRY-2586

Some abstract base class methods should be overridable

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development