As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
package org.alfresco.web.bean.dashboard; import org.alfresco.web.bean.NavigationBean; /** * Backing bean for the Announcements Dashlet page. * * @author BretZel */ public class AnnouncementsBean { private NavigationBean navigationBean; /** * @param navigationBean The navigationBean to set. */ public void setNavigationBean(NavigationBean navigationBean) { this.navigationBean = navigationBean; } public String browsePendingAnnouncements() { this.navigationBean.setCurrentNodeId(getSpaceId()); return "browse"; } public String createAnnouncement() { this.navigationBean.setCurrentNodeId(getSpaceId()); return "wizard:createContent"; } private String getSpaceId() { //return "a608b5a2-6b17-11db-9dfa-d14aa8ccb797"; return this.navigationBean.getCompanyHomeNode().????????????????.getId(); } }