public class OverriddenWidgetBuilder extends Object implements WidgetBuilder<javax.faces.component.UIComponent,UIMetawidget>
Locates overridden widgets based on matching value binding.
Constructor and Description |
---|
OverriddenWidgetBuilder() |
Modifier and Type | Method and Description |
---|---|
javax.faces.component.UIComponent |
buildWidget(String elementName,
Map<String,String> attributes,
UIMetawidget metawidget)
Builds the most appropriate widget for this business field.
|
javax.faces.component.UIComponent |
findRenderedComponentWithMethodBinding(javax.faces.component.UIComponent component,
String expressionString)
Finds the child component of the given component that is both rendered and has the given
method expression.
|
javax.faces.component.UIComponent |
findRenderedComponentWithValueBinding(javax.faces.component.UIComponent component,
String expressionString)
Finds the child component of the given component that is both rendered and has the given
value expression.
|
public javax.faces.component.UIComponent buildWidget(String elementName, Map<String,String> attributes, UIMetawidget metawidget)
WidgetBuilder
buildWidget
in interface WidgetBuilder<javax.faces.component.UIComponent,UIMetawidget>
elementName
- 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 nullpublic javax.faces.component.UIComponent findRenderedComponentWithValueBinding(javax.faces.component.UIComponent component, String expressionString)
public javax.faces.component.UIComponent findRenderedComponentWithMethodBinding(javax.faces.component.UIComponent component, String expressionString)
Copyright © 2015. All Rights Reserved.