public abstract class AbstractDirectorySelectWidgetTypeHandler extends AbstractSelectWidgetTypeHandler
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractDirectorySelectWidgetTypeHandler.DirectoryPropertyMappings |
AbstractSelectWidgetTypeHandler.SelectPropertyMappingsDEV_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, getWidgetPropsHandlerapply, apply, getDevFaceletHandler, getDocumentConstraintValidatorHandler, getInputSlotHandler, getNextHandler, getNextHandler, getProperty, getRequiredProperty, setProperties, setWidgetpublic AbstractDirectorySelectWidgetTypeHandler(javax.faces.view.facelets.TagConfig config)
protected List<String> getExcludedProperties()
AbstractSelectWidgetTypeHandlergetExcludedProperties in class AbstractSelectWidgetTypeHandlerprotected String getOptionComponentType(WidgetSelectOption selectOption)
getOptionComponentType in class AbstractSelectWidgetTypeHandlerprotected boolean shouldAddWidgetPropsHandler(Widget widget)
AbstractSelectWidgetTypeHandlerThis default implementation requires the selectOptions widget property to be filled.
shouldAddWidgetPropsHandler in class AbstractSelectWidgetTypeHandlerprotected Map<String,Serializable> getOptionProperties(javax.faces.view.facelets.FaceletContext ctx, Widget widget, WidgetSelectOption selectOption)
getOptionProperties in class AbstractSelectWidgetTypeHandlerprotected 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 © 2019 Nuxeo. All rights reserved.