File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes  DataModel is not generic; it cannot be parameterized with arguments <T> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark " DataModel is not generic; it cannot be parameterized with arguments <T> " Watch " DataModel is not generic; it cannot be parameterized with arguments <T> " New topic
Author

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

Nandur Kishore
Greenhorn

Joined: Nov 10, 2011
Posts: 3

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

Joined: Jun 25, 2001
Posts: 16158
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DataModel is not generic; it cannot be parameterized with arguments <T>