throw new IllegalArgumentException("Content only supported on dynamic pages.");
}
DynamicPage dynamicPage = (DynamicPage)pageOrTemplate;
// check for edit permission
dynamicPage.checkAccess(JetspeedActions.EDIT);
// update default decorator and page in page manager
boolean update = false;
if (!Utils.isNull(contentType) && !contentType.equals(dynamicPage.getContentType()))
{