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 java.lang.Object
Performs re-rendering of webcontainer layout widgets.
- Author:
- Anahide Tchertchian, rux added the site name validation
Method Summary |
void |
validateBlogTitle(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
|
void |
validateName(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Validates the web container fields. |
void |
validateSiteTitle(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteActionsBean
public SiteActionsBean()
validateName
public void validateName(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.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(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
validateBlogTitle
public void validateBlogTitle(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.