We're updating the issue view to help you get more done. 

Implement lazy list instatiation on all Builder lists.

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.

Status

Assignee

Brian Uri

Reporter

Brian Uri

Fix versions

Priority

Medium