Hi to all, right now i'm working with Struts 2 application and Hibernate JPA. Hibernate let developers to run native queries, but the results are returned in form of List<Object[]>. So, i'm getting one of these lists in my action and i want to use it to populate <s:select> , but i don't know how it works when i use a list of object array. I know that, when i have a list of object that contains properties with their respective getters and setters you only specify the name of property that will be the listKey and the property that will be the listValue, but in this case aren't objects with properties, is an array of object, so i think that i have to specify the index that will be listKey and listValue, but i don't know if that's possible.
Regards. -- Oscar Calderón SCJP 6 <http://javahowto.net>