09-25-2007 06:13 PM
09-26-2007 12:14 PM
09-26-2007 01:20 PM
10-01-2007 06:39 AM
10-18-2007 07:29 AM
10-25-2007 09:10 PM
10-26-2007 07:30 AM
10-29-2007 07:52 AM
10-29-2007 11:57 AM
public boolean evaluate(Node node) {
FacesContext fc = FacesContext.getCurrentInstance();
ServiceRegistry services = Repository.getServiceRegistry(fc);
NavigationBean navigator = (NavigationBean) FacesHelper.getManagedBean(fc, NavigationBean.BEAN_NAME);
NodeRef space = navigator.getCurrentNode().getNodeRef();
// check the current space name is "Firmado"
return "Firmado".equalsIgnoreCase((String) services.getNodeService().getProperty(space, ContentModel.PROP_NAME));
}
10-29-2007 01:01 PM
public class MySpaceEvaluator implements ActionEvaluator
{
public boolean evaluate(Node node)
{
return (node.getPath().contains("MySpace"));
}
}
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.