Question about ItemTree

Hi Java Developers,

Allow me a small question

I have seen some example archetypes with an ITEM_TREE in it, they all had the
attribute "items"

I wonder, is this correct?

Because, in the code, I look at the annotated constructor, I don't see a
attribute "items"
I see one that is called "representation", and it is required, but I cannot
find this attribute in the archetype.

Maybe the code for ItemTree.java is a bit outdated? It is from end 2005, also
the latest version is.

Please tell me how to understand this, thank you very much.

cheers,
Bert

Hi Bert,

That attribute “representation” should probably be renamed to “items”. This change will likely effect some testcases. I will look into this.

Cheers,
Rong