Hi all!
It seems that there are some incoherences between how <tiles:putList>
works and the <putList> element inside tiles-defs.xml.
In particular:
- <tiles:putList>, with <tiles:putAttribute>, creates a list of
ComponentAttribute;
- <putList>, with element <add>, creates a list of values.
Now I wish to "refactor" all this stuff, but I would like your opinion on it:
- Rename the <put> element to <putAttribute>, just as the tag name.
- Rename the <add> element to <putAttribute>, and it adds attributes
and not values. Values are still stored by <item> and <bean> (this
erases the solution for a previous issue that I corrected, gulp!).
- Rename <tiles:putList> and <putList> to <tiles:putAttributeList> and
<putAttributeList>, for coherence.
- Remove the "required" clause to the name attribute of
<tiles:insertAttribute>, and add a "value" attribute (with
"rtexprvalue" set) to insert an attribute contained inside an iterated
list attribute value.

Thoughts?

Antonio

Reply via email to