public void init() throws Exception { loadImage(); loadCollection(); loadProfile(); removeDeadMetadata(); sortMetadataAccordingtoProfile(); initBrowsing(); if (sessionBean.getSelected().contains(image.getId())) { setSelected(true); } labels.init(profile); edit = new SingleEditBean(image, profile, getPageUrl()); cleanImageMetadata(); }
public String getInitPopup() throws Exception { labels.init(profile); return ""; }