users@woodstock.java.net

Re: Sortable table with JPA

From: Stefan Bley <stefan.bley_at_saxsys.de>
Date: Wed, 23 Apr 2008 23:15:22 -0700 (PDT)

Hi Felipe,

I tried to create an ObjectListDataProvider by hand (extend this class)
which works fine as long as I'm *not* in a Maven project.

Using NetBeans 6.1RC2 a List<Pojo> property does not appear as bindable data
in the table layout option. Only arrays Pojo[] are provided there.

Regards, Stefan



Felipe Jaekel (FkJ) wrote:
>
> I'm working with Lists of the entity I want to show in the table and its
> working fine. It seems that an ObjectListDataProvider is created
> automatically for each of them at runtime.
>
> Create a List<YourPOJO> and its getter and setter. It should appear in the
> data provider list from the table layout option.
>

-- 
View this message in context: http://www.nabble.com/Sortable-table-with-JPA-tp16824947p16844407.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.