Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1423

Make FormMap methods and FormField constructor simpler / clearer

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.20.00RC1
    • 2.20.00RC2, 2.20.00, 2.21.00
    • None
    • None

    Description

      Discussed:

      public void addFormField(String fieldName, FormField field) {

      should be replaced by:

      public void addFormField(FormField field) {

      Also the empty FormField constructor can be deleted.

      The FormField(String name) constructor will throw IllegalArgumentException (runtime e) when name = null

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: