claudio
Jan 3rd, 2005, 07:59 AM
Hi All,
about 3 or 4 month ago i had written a little Testclass for binding properies in Lists.
A little example:
class Product {
List descriptions;
...
}
class ProductsDescription {
int languageId
String description;
....
}
Now in my Testclass i bound the property description in a Form like this:
class MyForm extends AbstractForm {
public JComponent createFormControl() {
TableFormBuilder formBuilder = new TableFormBuilder(getFormModel());
formBuilder.add("descriptions[0].description");
}
}
Now, i have tried this code with the newest spring rich version and it don't works anymore!?
I there another way to bind such scenario?
Thanks!
Claudio
about 3 or 4 month ago i had written a little Testclass for binding properies in Lists.
A little example:
class Product {
List descriptions;
...
}
class ProductsDescription {
int languageId
String description;
....
}
Now in my Testclass i bound the property description in a Form like this:
class MyForm extends AbstractForm {
public JComponent createFormControl() {
TableFormBuilder formBuilder = new TableFormBuilder(getFormModel());
formBuilder.add("descriptions[0].description");
}
}
Now, i have tried this code with the newest spring rich version and it don't works anymore!?
I there another way to bind such scenario?
Thanks!
Claudio