RE: Default Selection of PropertySelectionModel

2006-05-15 Thread Ben Wong
Hi, If I understand you question correctly, all you need to do is define the value of the PropertySelection component to your Class's teacher's property. Since you didn't show any code, here is an example I made up: That's all you really have to do. Hope this will help,

Re: Default Selection of PropertySelectionModel

2006-05-14 Thread Shing Hing Man
Suppse your PropertySelection component looks something like and you would like to set the drop down list to have an initial selected value of 'myTeacher', say. One way is use the translateValue method in TeacherSelectionModel to return 'myTeacher' and then set