SelectModel created by Factory using List

2015-10-07 Thread Poggenpohl, Daniel
Hi, I tried to fix some IntelliJ warnings by returning not a List for a select model, but rather a SelectModel created using the SelectModelFactory.create method. The method takes two parameters. If I give a List as the objects, what labelProperty do I have to set then? Regards, Daniel

Re: SelectModel created by Factory using List

2015-10-07 Thread Thiago H de Paula Figueiredo
On Wed, 07 Oct 2015 05:39:03 -0300, Poggenpohl, Daniel wrote: Hi, Hi! I tried to fix some IntelliJ warnings by returning not a List for a select model, Tapestry has a built-in conversion from List to SelectModelFactory so it's a completely valid

AW: SelectModel created by Factory using List

2015-10-07 Thread Poggenpohl, Daniel
Hi, "Can't coerce a List to a SelectModel". Regards, Daniel P. -Ursprüngliche Nachricht- Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Gesendet: Mittwoch, 7. Oktober 2015 16:11 An: Tapestry users Betreff: Re: SelectModel created by Factory using List On W

Re: SelectModel created by Factory using List

2015-10-07 Thread Cezary Biernacki
rsprüngliche Nachricht- > Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Gesendet: Mittwoch, 7. Oktober 2015 16:11 > An: Tapestry users > Betreff: Re: SelectModel created by Factory using List > > On Wed, 07 Oct 2015 05:39:03 -0300, Poggenpohl, Daniel < > danie