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

Ability to override the default NullFieldStrategy

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 5.3
    • None
    • tapestry-core

    Description

      My use-case is that I want empty textfields to post an empty String instead of null.
      I have implemented a nullfieldstrategy and it can be set on the textfield, but components that create textfields on the fly (eg. Grid) use the default NullFieldStrategy defined in AbstractTextField.
      I can't contribute a new "defaults" as that conflicts.

      It would be nice to be able to override the strategy defined in AbstractTextField.

      Attachments

        Activity

          People

            Unassigned Unassigned
            davidsundsskard David Sundsskard
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: