I asked this question and although the answer directly satisfied my needs I am left with a feeling that there has to a simpler solution for this specific problem.
I would like to have a composite component that accepts a list of items (The type of the items agreed upon so the members can be used freely within the composite component)
The CC (composite component) display the list of items and allows for addition and subtraction of items.
I would like to do this in the most simple and efficient manner.
To illustrate the problem, an example:
The definition should be rather simple (unless of course, its not :-) ):
<special:dynamicFieldList value="#{bean.fieldList} />
The most abstract form of a Field
object would be:
public class Field{
String uuid;
String value;
}
I guess that's it.
How would you implement this in a simple manner?
Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…