Hi everybody !!
I'm having a little problem when using the @For component ... while I'm
iterating through the source collection the component prints a string
representation of the object as the value of the @For component, I went
to check the documentation and it says that the value attribute is
optional and if I don't provide one, it won't be used (at least that's
what I think).
Is there a way to avoid the print of the object's string representation?
That's my mapping:
<component id="eachEntry" type="For">
<binding name="source" value="entries"/>
<binding name="element" value="literal:tr"/>
<binding name="index" value="index"/>
<binding name="class" value="beans.evenOdd.next"/>
</component>
I'm trying to use the index to access the objects in the collection this
way I don't need to print the whole object in the html.
I appreciate any help!
Thanks in advance.
Mateus Lucio Santos