Hello,
[size=12]I think I'm in quite a mess here.
I'm using Netbeans
IDE and Glassfish application server.
I have a
JSF CRUD application running with a MySQL database and everything was fine until I was asked to be able to sort a column whose MySQL datatype was Varchar.
Here is my Model for Vehicles:
And my Controller:
And my List View:
So I changed the datatype to Integer and updated my source code to change the column from
String to Integer.
When the list displays every thing seems good and the rows are sorted according to the column whose datatype I changed to Integer.
However when I then tried to edit nothing works and I get HTTP Status 505 from Glassfish with the error message
javax.servlet.ServletException: HV000030: No validator could be found for type: java.lang.Integer
Is there anyway I can possibly fix this?
I would appreciate any help. [/size]
Thanks for reading,
G.