public class IceFacesWidgetBuilder extends HtmlWidgetBuilder
Creates native ICEfaces UIComponents, such as SelectInputDate, to suit the inspected
fields.
As an implementation detail, IceFacesWidgetBuilder extends
HtmlWidgetBuilder, which is a little unusual for a widget builder (they normally
implement WidgetBuilder directly), but in this case most of the components we create
are ICEfaces-extended versions of regular components, and we want to reuse a lot of
HtmlWidgetBuilder's secondary methods. Note that whilst we extend
HtmlWidgetBuilder we only create ICEfaces components, not any regular JSF
components.
Note: because some ICEfaces components use
UIMetawidget.COMPONENT_ATTRIBUTE_NOT_RECREATABLE this WidgetBuilder should be used
in conjunction with OverriddenWidgetBuilder.
DATATABLE_ROW_ACTION| Constructor and Description |
|---|
IceFacesWidgetBuilder() |
IceFacesWidgetBuilder(IceFacesWidgetBuilderConfig config) |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.component.UIComponent |
buildWidget(String elementName,
Map<String,String> attributes,
UIMetawidget metawidget)
Purely creates the widget.
|
addColumnComponent, addColumnComponents, configureDataTableComponent, createColumnComponent, createCommandLinkComponent, createDataTableComponent, createDataTableComponent, getMaximumColumnsInDataTable, initFacesSelect, initStaticSelect, setMaximumLengthpublic IceFacesWidgetBuilder()
public IceFacesWidgetBuilder(IceFacesWidgetBuilderConfig config)
public javax.faces.component.UIComponent buildWidget(String elementName, Map<String,String> attributes, UIMetawidget metawidget)
buildWidget in interface WidgetBuilder<javax.faces.component.UIComponent,UIMetawidget>buildWidget in class HtmlWidgetBuilderelementName - XML node name of the business field. Typically 'entity', 'property' or 'action'.
Never nullattributes - attributes of the business field to build a widget for. Never null. This Map is
modifiable - changes will be passed to subsequent WidgetBuilders, WidgetProcessors
and Layoutsmetawidget - the parent Metawidget. Never nullCopyright © 2015. All Rights Reserved.