in DAo class Im write
List<XYZ> list;
list = null;
try {
SessionFactory sf=new AnnotationConfiguration().configure().buildSessionFactory();
System.out.println("SF");
Session ss= sf.openSession();
System.out.println("SS");
list = ss.createQuery("from RegisteredDept").list();
System.out.println("List");
System.out.println(registeredDeptlist);
} catch (Exception e) {
e.printStackTrace();
}
in JSON action class
List<XYZ> gridModel;
gridModel= list; // is not Working
list in number of size is 20(no records in database) mode count is '1' is
perfectly work in struts2 CRUD
but Struts2-Jquery-Grid working when size is equal to mode-count
to show detail debug program using eclipse and see variable detail
Original issue reported on code.google.com by prashant.gawali20@gmail.com on 28 Jul 2014 at 7:45
Original issue reported on code.google.com by
prashant.gawali20@gmail.com
on 28 Jul 2014 at 7:45