The specification does not yet state what modifications clients may make to the
component tree produced by JSP tags. The spec should place requirements on a
compliant implementation as to what operations are supported and must work:
- Can a user add components to the tree? (Note: this is partially but not
completely specified in section 9.2.8 in JSF 1.1)
- Can a user remove a component that a JSP tag added?
- Can a user reorder components? For example, can I move a component from
the start to the end:
List children = parent.getChildren();
Object component = children.get(0);
In all cases, must an ID be set on the components that are being
added/removed/reordered, etc.? Must the parent be "rendersChildren"?
Obviously, the most desirable scenario would support all of these options
without requiring IDs or "rendersChildren" parents, and work in JSP/JSF
alignment may enable that scenario, but we need to - at a minimum - specify
what must work in a compliant implementation.