hi everyone

I have a really troubling strange problem.

I have a form with bounded nested properties.
When the nested property is not initialized ( null .. ) the binding process goes through smoothly.
BUT when i assign a value to the nested property i expect to see it in the bounded form field but what happens is that i get a binding exception
saying that the bound property is invalid and cannot be found in the class.
But the class it looks for is wrong, for some reason it searches for the property in the nested property's Type class and not in the class containing the property.

MY CODE :

class BoardModel {
}

class BoardType{
}

class BoardTypeModel {
private BoardType boardType; //nested property
private BoardModel boardModel; //nested property

public BoardType getBoardType(){
return boardType;
}
public void setBoardType( BoardType boardType ){
this.boardType = boardType;
}
public BoardModel getBoardModel(){
return boardModel;
}
public void setBoardModel( BoardModel boardModel ){
this.boardModel = boardModel;
}
}


The Bean Backing Form Object is :

class BeanObject {
private BoardTypeModel board;

{


The Binding code :

createBoundComboBox("board"+".boardModel",valueHol der);
createBoundComboBox("board" + ".boardType", type.getBoardTypes());

this works fine
but when i initiate the nested property boardType = new BoardType();

i get a binding exception

org.springframework.beans.NotReadablePropertyExcep tion: Invalid property 'boardType' of bean class [org.springframework.richclient.samples.petclinic.d omain.model.BoardType]: Bean property 'boardType' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?

I dont understand why it keeps looking in the BoardType Class,
and not in the BoardTypeModel class where this property is located.

hope i made myself clear

would appreciate any help
i'm really stuck with this guys

thnks