Hi,
Can you post your error stack trace?
Thanks
Benjamin a écrit :
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
--
Anahide Tchertchian, Nuxeo
Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm