Thank you very much for your tips, I discovered effectively that my object
type was not the one I expected. By the way I needed to indicat the
complete path of the class...

Thank you.

Rick Herrick wrote:

> With a quick glance, are you trying to cast a CollectionModel object to a
> NewsModel object?  Or does the CollectionModel object contain NewsModel
> objects?
> 
> You could put in some trace messages before you get the error.  Go ahead
> and get the object as an Object, then call getClass().getName() on it to
> see what class it is that you've got before doing the cast.
> 
> Rick Herrick




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to