try {
Entry entry = (Entry) modelContext.getEntity();
Blog blog = entry.getBlog();
String blogName = blog.getName();
Label blogNameLabel = new Label("blogName", blogName);
add(blogNameLabel);
String entryTitle = entry.getTitle();
Label entryTitleLabel = new Label("entryTitle", entryTitle);
add(entryTitleLabel);
DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, blog
.getLocale());
Label entryCreationDateLabel = new Label("entryCreationDate", df
.format(entry.getCreationDate()));
add(entryCreationDateLabel);
String entryBody;
boolean completeText;