Package org.opencms.gwt.client.property
Class CmsSimplePropertyEditor
- java.lang.Object
-
- org.opencms.gwt.client.property.A_CmsPropertyEditor
-
- org.opencms.gwt.client.property.CmsSimplePropertyEditor
-
- All Implemented Interfaces:
I_CmsFormWidgetMultiFactory
- Direct Known Subclasses:
CmsUploadPropertyEditor
public class CmsSimplePropertyEditor extends A_CmsPropertyEditor
The sitemap entry editor class for the VFS mode.- Since:
- 8.0.0
-
-
Field Summary
-
Fields inherited from class org.opencms.gwt.client.property.A_CmsPropertyEditor
FIELD_LINK, FIELD_URLNAME, m_allProps, m_disabledReason, m_form, m_handler, m_nameOnlyDisabled, m_propertyConfig, m_urlNameField, m_urlNameModel
-
-
Constructor Summary
Constructors Constructor Description CmsSimplePropertyEditor(java.util.Map<java.lang.String,org.opencms.xml.content.CmsXmlContentProperty> propConfig, I_CmsPropertyEditorHandler handler)
Creates a new sitemap entry editor instance for the VFS mode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addSpecialFields()
Method to add special, non-property fields.void
buildFields()
Builds and renders the fields for the properties.protected boolean
isAlwaysAllowEmpty(java.lang.String name)
Checks whether an empty string should always be allowed for the property, regardless of validation settings.protected void
setupFieldContainer()
Sets up the widget which will contain the input fields for the properties.-
Methods inherited from class org.opencms.gwt.client.property.A_CmsPropertyEditor
checkWidgetRequirements, createFormWidget, createUrlNameField, disableInput, getForm, getTitle, getUrlNameModel, initializeWidgets, message, setGhostValue, setPropertyNames, setUrlNameField, showUrlNameError
-
-
-
-
Constructor Detail
-
CmsSimplePropertyEditor
public CmsSimplePropertyEditor(java.util.Map<java.lang.String,org.opencms.xml.content.CmsXmlContentProperty> propConfig, I_CmsPropertyEditorHandler handler)
Creates a new sitemap entry editor instance for the VFS mode.- Parameters:
propConfig
- the property configurationhandler
- the sitemap entry editor handler
-
-
Method Detail
-
buildFields
public void buildFields()
Description copied from class:A_CmsPropertyEditor
Builds and renders the fields for the properties.- Specified by:
buildFields
in classA_CmsPropertyEditor
- See Also:
A_CmsPropertyEditor.buildFields()
-
addSpecialFields
protected void addSpecialFields()
Description copied from class:A_CmsPropertyEditor
Method to add special, non-property fields.- Overrides:
addSpecialFields
in classA_CmsPropertyEditor
- See Also:
A_CmsPropertyEditor.addSpecialFields()
-
isAlwaysAllowEmpty
protected boolean isAlwaysAllowEmpty(java.lang.String name)
Checks whether an empty string should always be allowed for the property, regardless of validation settings.- Parameters:
name
- the property name- Returns:
- true if the empty string should always be allowed
-
setupFieldContainer
protected void setupFieldContainer()
Description copied from class:A_CmsPropertyEditor
Sets up the widget which will contain the input fields for the properties.- Specified by:
setupFieldContainer
in classA_CmsPropertyEditor
- See Also:
A_CmsPropertyEditor.setupFieldContainer()
-
-