Hi all,
I'm fighting with these annotation of Seam...
I'm trying have a TaskModelList like that :
public interface TaskModelList extends List<TaskModel>, Serializable {
}
An implémentation very simple like that :
public class TaskModelListImpl extends ArrayList<TaskModel> implements
TaskModelList {
private static final long serialVersionUID = 44L;
public TaskModelListImpl() {
}
public TaskModelListImpl(List<TaskModel> list) {
super(list);
}
}
An my action Bean :
@DataModel("tasks")
public TaskModelList tasks;
@DataModelSelection("tasks")
@Out(required = false)
public TaskModel task;
I have always this error
ClassCastException an my TaskModelListImpl when Seam want to cast it to
DataModel...
I thought that the annotation was sufficient...
Where I'm wrong ?
Thanks for all explanation...
Benjamin JALON
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm