Uploaded image for project: 'DDMSence'
  1. DDMSENCE-74

Implement lazy list instatiation on all Builder lists.

    Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.9.0
    • Labels:
      None

      Description

      (Imported from Google Code)
      Currently, the Component Builder framework automatically creates empty child Builders if null, or an empty List of Builders, but callers must still add initial Builders into the Lists before working with them in a form UI.

      It would be more flexible if all the Lists in the Builders used a lazy list instantiation approach so listed components could be added/removed from a web page. For example,

      resource.getIdentifiers().get(1);

      This code should automatically create an Identifier.Builder in slot 0 and 1 if slot 1 is currently null.

      Consider use of the commons-collections framework. Or, if that is too much overkill, do a custom implementation.

        Attachments

          Activity

            People

            • Assignee:
              buri Brian Uri
              Reporter:
              buri Brian Uri
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: