public abstract class AbstractDirectorySelectWidgetTypeHandler extends AbstractSelectWidgetTypeHandler
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractDirectorySelectWidgetTypeHandler.DirectoryPropertyMappings |
AbstractSelectWidgetTypeHandler.SelectPropertyMappings
DEV_TEMPLATE_PROPERTY_NAME, DISABLE_DEV_PROPERTY_NAME, properties, tagConfig, widget, widgetAttr
Constructor and Description |
---|
AbstractDirectorySelectWidgetTypeHandler(javax.faces.view.facelets.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getExcludedProperties()
Returns properties useful for select items, not to be reported on the select component.
|
protected String |
getOptionComponentType(WidgetSelectOption selectOption) |
protected Map<String,Serializable> |
getOptionProperties(javax.faces.view.facelets.FaceletContext ctx,
Widget widget,
WidgetSelectOption selectOption) |
protected javax.faces.view.facelets.TagAttributes |
getTagAttributesForMode(Widget widget,
String mode,
FaceletHandlerHelper helper,
String widgetId)
Get tag attributes for a specific mode.
|
protected boolean |
shouldAddWidgetPropsHandler(Widget widget)
Returns true if widget properties should generate a default tag handler for select options.
|
apply, apply, getBareOptionFaceletHandler, getComponentFaceletHandler, getFirstHandler, getOptionFaceletHandler, getOptionsFaceletHandler, getOptionsFaceletHandler, getWidgetPropsHandler
apply, apply, getDevFaceletHandler, getDocumentConstraintValidatorHandler, getInputSlotHandler, getNextHandler, getNextHandler, getProperty, getRequiredProperty, setProperties, setWidget
public AbstractDirectorySelectWidgetTypeHandler(javax.faces.view.facelets.TagConfig config)
protected List<String> getExcludedProperties()
AbstractSelectWidgetTypeHandler
getExcludedProperties
in class AbstractSelectWidgetTypeHandler
protected String getOptionComponentType(WidgetSelectOption selectOption)
getOptionComponentType
in class AbstractSelectWidgetTypeHandler
protected boolean shouldAddWidgetPropsHandler(Widget widget)
AbstractSelectWidgetTypeHandler
This default implementation requires the selectOptions widget property to be filled.
shouldAddWidgetPropsHandler
in class AbstractSelectWidgetTypeHandler
protected Map<String,Serializable> getOptionProperties(javax.faces.view.facelets.FaceletContext ctx, Widget widget, WidgetSelectOption selectOption)
getOptionProperties
in class AbstractSelectWidgetTypeHandler
protected javax.faces.view.facelets.TagAttributes getTagAttributesForMode(Widget widget, String mode, FaceletHandlerHelper helper, String widgetId)
widget
- The widget to generate tag attributes for.mode
- The given mode like PLAIN, CSV.helper
- An instance of FaceletHandlerHelper.widgetId
- The widget id.Copyright © 2018 Nuxeo. All rights reserved.