ModelContext infoModelContext = new ModelContext();
infoModelContext.setDomainModel(app.getDomainModel());
Infos infos = (Infos) app.getEntry("Infos");
Infos orderedInfos = infos.getInfosOrderedByCreationDate(false);
Info lastInfo = (Info) orderedInfos.first();
infoModelContext.setEntity(lastInfo);
ViewContext infoViewContext = new ViewContext();
infoViewContext.setApp(app);
infoViewContext.setContextPage(this);
infoViewContext.setPage(this);