11-16-2006 05:22 AM
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();
}
}
11-16-2006 06:05 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.