PDA

View Full Version : BeanModelMarker POJO inheritance



calicoder
25 May 2009, 3:08 PM
I have a base class called Identifiable. The Identifiable class has two private fields (Long id, Integer version). Each of my POJOs extends the Identifiable base class to adhere to Hibernate.

My problem is that when I write a BeanModelMarker like this where MyPojo extends Identifiable:


@BEAN(MyPojo.class)
public interface MyPojoBeanModel extends BeanModelMarker {

}

the grid will not display the 'id' and the 'version' fields. Any clues?

666ragez666
25 May 2009, 11:09 PM
I think you posted in the wrong forum this GXT related ...

calicoder
25 May 2009, 11:46 PM
yep, my bad. I'll report my post and change over to the other forum.