Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DataModel is not generic; it cannot be parameterized with arguments <T>

 
Nandur Kishore
Greenhorn
Posts: 3
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,I developed my application using primefaces-3.0.M3-sources.jar.But now want migrate to primefaces-3.2.jar to use the orderList and dragdrop components.So the only thing I did was change the old jar primefaces-3.0.M3-sources by primefaces-3.2.jar.But now I am getting the - type DataModel is not generic; it cannot be parameterized with arguments <T> error with LazyDataModel since I extended it to my LazyDataModelService class and implemented all the methods.I can't figure out what it is.Even I tried using primefaces-3.0.jar, primefaces-3.1.jar and getting the same error.

public class LazyDataModelService<T> extends LazyDataModel<T>{
....
}


Thanks
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DataModel is part of the core JSF class set. In JSF1, it was not generic, but in JSF2 it is.

Once you throw IceFaces into the mix, I'm out of my depth, however. I don't know what your copy of IceFaces is using as the basis.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic