nice :)

...
you should add this also in the warning section:
the list must never be empty so that element type can be discovered...
or this will fail:

 this.idFieldAdapter =
access.getAdapter(list.get(0).getClass()).getPropertyAdapter(idField);


or you could do some nasty reflection to get generic info from the field...
some code for that can be found here:
https://issues.apache.org/jira/browse/TAPESTRY-2053
...
or just skip resolving idFieldAdapter because you don't actualy need
it when list is empty



Davor Hrg

On Feb 19, 2008 8:16 PM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> Hi all,
> I posted on the wiki another example on how to make a select with objects,
> now i used an annotation to do this is a simpler way.
>
> http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects
>
> Cheers,
> Marcelo Lotif
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to