org.nuxeo.ecm.webapp.action
Class SiteActionsBean
java.lang.Object
org.nuxeo.ecm.webapp.action.SiteActionsBean
@Name(value="siteActions")
@Scope(value=STATELESS)
public class SiteActionsBean
- extends Object
Performs re-rendering of webcontainer layout widgets.
- Author:
- Anahide Tchertchian, rux added the site name validation
SiteActionsBean
public SiteActionsBean()
validateName
public void validateName(FacesContext context,
UIComponent component,
Object value)
- Validates the web container fields. If the workspace is web container, it
also needs to have name. The usual required JSF component can't be used,
because it will block the validation no matter if the checkbox is set or
not. As result, the widget validation is used. The both values need to be
available in layout to be used.
validateSiteTitle
public void validateSiteTitle(FacesContext context,
UIComponent component,
Object value)
validateBlogTitle
public void validateBlogTitle(FacesContext context,
UIComponent component,
Object value)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.