protected void chooseEntity(EntityPanel panel, AddPersonForm form, ActionMessages errors, HttpServletRequest request, HttpServletResponse response)
{
if (log.isDebugEnabled())
log.debug("add person with ID: " + form.getId());
PersonVO person = new PersonDAO().getById(form.getId());
if (person == null)
{
errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("default.error.invalidEntity", new Integer(form.getId())));