Hi all,
I am using an ActionForm with a collection of Rows which should be
editable.
My ActionForm contains a property getRow(int i) which returns a bean
with the row's properties.
Everything work perfectly, when the class returned from getRow(int) is
a standalone class. But as soon as I make this class a nested class
of my ActionForm, struts complains, if cannot find property setters:
This works:
public class MyForm ... {
public MyRow getRow(int i) {
...;
}
}
public class MyRow {
public setProperty(String value) {
...;
}
}
This does not: (cannot find property setter for row[0].property)
public class MyForm ... {
public MyRow getRow(int i) {
...;
}
public static class MyRow {
public setProperty(String value) {
...;
}
}
I'd really like to use nested classes. Is there a way?
--
gR