Brilliant! Looking forward to it, hope it will be included in 5.2 final :)
On Thu, Aug 26, 2010 at 8:50 AM, Josh Canfield <[email protected]>wrote:
> I went back over the generics code and added better support for
> wildcard and parameterized types.
>
> One of my favorite parts of this change is the new improved Loop:
>
> @Property
> @Component(parameters = {"source=personSource"})
> private Loop<Person> personLoop;
>
> @Property
> private List<Person> personSource;
>
>
> <h2>Person Loop</h2>
> <t:loop t:id="personLoop">
> <div id="person_${personLoop.index}">${personLoop.value.name}</div>
> </t:loop>
>
> I was able to make the value and index properties of loop public and
> access them from the template.
>
> Jira is down right now or I'd file a defect and attach it... I guess
> I'll do that later if needed.
>
>
> Josh
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>