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

Some abstract base class methods should be overridable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.14
    • 5.0.15
    • tapestry-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: