In The Grid How we can show Check Boxes with Spring Form

1) For Example If we develop spring application with command create

public class EmployeeCommand {
  private List employees;
  //Setters and Getters
}


public class Employee {
   private boolean checked;
  //Setters and Getters
}



in JSP


      test="${not empty employeeCommand.employees}">
          items="${employeeCommand.employees}"
varStatus="loopStatus">
       
          path="employees[${loopStatus.index}].checked"
value="true">
         
 
       

   

Comments