View Full Version : BeanModelGrid limits

10 Aug 2009, 4:49 AM

I want to create a BeanModelGrid.
my problem is that my bean have an attribute which is an other bean and i wish to visualize the name of this attribute in my grid.
Is it possible??

here is my bean :

public class IndicateurBean extends LightEntity implements Serializable, BeanModelTag {

private static final long serialVersionUID = 1L;
private String code;
private DomaineIndicateurBean domaineIndicateur = null;
private boolean forceLoadDomaineIndicateur;

public IndicateurBean() {

public DomaineIndicateurBean getDomaineIndicateur() {
return domaineIndicateur;

public void setDomaineIndicateur(DomaineIndicateurBean domaineIndicateur) {
this.domaineIndicateur = (DomaineIndicateurBean) domaineIndicateur;

public void setForceLoadDomaineIndicateur(boolean force) {
this.forceLoadDomaineIndicateur = force;

public boolean getForceLoadDomaineIndicateur() {
return this.forceLoadDomaineIndicateur;

public String getCode() {
return this.code;

public void setCode(String code) {
this.code = code;

10 Aug 2009, 5:52 AM
maybe this is a similar question?
Rendering nested models on a grid

10 Aug 2009, 7:22 AM
Thank you!