aspose file tools
The moose likes Java in General and the fly likes java.lang.ClassCastException when sort with displaytag Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "java.lang.ClassCastException when sort with displaytag" Watch "java.lang.ClassCastException when sort with displaytag" New topic
Author

java.lang.ClassCastException when sort with displaytag

Jose Coqueiro
Greenhorn

Joined: Nov 15, 2008
Posts: 27
hi all,

im getting a java.lang.ClassCastException when sorting a column with displaytag, do you know what could be happening?

thanks
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You´re trying to cast an object to something it´s not. Without code we can´t really help you.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Brij Garg
Ranch Hand

Joined: Apr 29, 2008
Posts: 234

displaytag

what is displaytag in java?

Can you post the source code?
Jose Coqueiro
Greenhorn

Joined: Nov 15, 2008
Posts: 27
im trying to sort the following column



this property is an Enum type.

it helps fix the problem?

thanks!
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Can you show us the complete stack trace?


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: java.lang.ClassCastException when sort with displaytag
 
Similar Threads
display tag export problem
Display tag/alternare row colors/ maintain alternate rows colors after column sorting
Pagination Framework/libraries
Showing long list
Pagination?