public class CmsSiteSelectorNewValueHandler extends java.lang.Object implements CmsAutoItemCreatingComboBox.I_NewValueHandler
| Constructor and Description |
|---|
CmsSiteSelectorNewValueHandler(java.lang.String captionPropertyId)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
ensureItem(com.vaadin.v7.data.Container cnt,
java.lang.Object id)
Ensure that an item with the given id or a suitable replacement id exists.
|
public CmsSiteSelectorNewValueHandler(java.lang.String captionPropertyId)
captionPropertyId - the item property containing the captionpublic java.lang.Object ensureItem(com.vaadin.v7.data.Container cnt, java.lang.Object id)
CmsAutoItemCreatingComboBox.I_NewValueHandlerensureItem in interface CmsAutoItemCreatingComboBox.I_NewValueHandlercnt - the containerid - the idCmsAutoItemCreatingComboBox.I_NewValueHandler.ensureItem(com.vaadin.v7.data.Container, java.lang.Object)