public class TextWidgetTypeHandler extends AbstractWidgetTypeHandler
DEV_TEMPLATE_PROPERTY_NAME, DISABLE_DEV_PROPERTY_NAME, properties, tagConfig, widget, widgetAttr
Constructor and Description |
---|
TextWidgetTypeHandler(javax.faces.view.facelets.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
Widget widget)
Returns the facelet handler that will be applied for given widget and template in this context.
|
protected javax.faces.view.facelets.TagAttributes |
getViewTagAttributes(javax.faces.view.facelets.FaceletContext ctx,
FaceletHandlerHelper helper,
String id,
Widget widget,
boolean addId)
Return tag attributes after having replaced the usual value expression for the 'value' field by a specific
expression to display the translated value if set as is in the widget properties.
|
apply, getDevFaceletHandler, getDocumentConstraintValidatorHandler, getInputSlotHandler, getNextHandler, getNextHandler, getProperty, getRequiredProperty, setProperties, setWidget
public TextWidgetTypeHandler(javax.faces.view.facelets.TagConfig config)
public void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, Widget widget) throws WidgetException, IOException
WidgetTypeHandler
apply
in class AbstractWidgetTypeHandler
ctx
- the facelet context in which this handler will be applied.parent
- parent component in the JSF treewidget
- the widget giving properties the handler will take into account.WidgetException
IOException
protected javax.faces.view.facelets.TagAttributes getViewTagAttributes(javax.faces.view.facelets.FaceletContext ctx, FaceletHandlerHelper helper, String id, Widget widget, boolean addId)
Copyright © 2018 Nuxeo. All rights reserved.