@Name(value="csFormValidator") @Scope(value=SESSION) @Install(precedence=31) public class CollaborativeSpaceFormValidatorBean extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.webapp.contentbrowser.DocumentActions |
documentActions |
protected org.nuxeo.ecm.core.api.CoreSession |
documentManager |
protected org.nuxeo.ecm.platform.ui.web.api.NavigationContext |
navigationContext |
| Constructor and Description |
|---|
CollaborativeSpaceFormValidatorBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTileUnique(String title)
Checks title unicity in current Folder.
|
void |
validateTitle(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value)
Validate title unicity in current Folder.
|
@In(create=true,
required=true)
protected transient org.nuxeo.ecm.core.api.CoreSession documentManager
@In(create=true,
required=true)
protected transient org.nuxeo.ecm.platform.ui.web.api.NavigationContext navigationContext
@In(create=true,
required=true)
protected transient org.nuxeo.ecm.webapp.contentbrowser.DocumentActions documentActions
public void validateTitle(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value)
throws javax.faces.validator.ValidatorException
context - component - value - javax.faces.validator.ValidatorExceptionpublic boolean isTileUnique(String title)
value - Copyright © 2021. All rights reserved.