} catch (Exception ex) {
if (logger.isInfoEnabled()) logger.info("Could not generate images data (person crud widget): " + ex.getMessage());
}
List<Sex> sex = dao.findByNamedQuery("Sex.findAll", 0, 2, null);
Person m = new Person();
m.setName(new Name());
m.getName().setName("John Smith");
m.setSex(sex.get(0));
m.setPhotos(new MultiDocument().addDocument(photoJohn).addDocument(house).addDocument(car).addDocument(dog));
m.setBlog(new Link());
m.getBlog().setReadableText(new I18nText());
m.getBlog().getReadableText().add(new Locale("en"), "My tech blog");
m.getBlog().getReadableText().add(new Locale("es"), "Mi blog de tecnolog�a");
m.getBlog().setUrl("http://internna.blogspot.com");
m.getBlog().setTooltipText(new I18nText());
m.getBlog().getTooltipText().add(new Locale("en"), "A must read!");
m.getBlog().getTooltipText().add(new Locale("es"), "�De lectura obligada!");
dao.create(m, false);
Person f = new Person();
f.setName(new Name());
f.getName().setName("Mary Poppins");
f.setSex(sex.get(1));
f.setPhotos(new MultiDocument().addDocument(photoMary));
dao.create(f, false);
Calendar calendar = Calendar.getInstance();