staticPage.setTemplate(spt.getTemplate());
} catch (Exception e) {
log.error(e.getMessage(), e);
e.printStackTrace();
throw new PersistenceException(e.getMessage());
}
// and is the page locked?
staticPage.setLockedBy(getUsernameHoldingLock(staticPage));