Hi *,
i would like to know how i should get this to work:
class MyPanel extends BasePanel<MySerializableClass> {
public MyPanel(String id) {
super(id, new Model<List<MySerializableClass>>(new
ArrayList<MySerializableClass>()));
}
}
Compiler says: The constructor BasePanel<MySerializableClass>(String,
Model<List<MySerializableClass>>) is undefined.
This is working but not generic
class MyPanel extends BasePanel<MySerializableClass> {
@SuppressWarnings({ "serial", "unchecked" })
public MyPanel(String id) {
super(id, new Model(new ArrayList<MySerializableClass>()));
}
}
Thanks 4 helping me out here
Per
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]