public class TextWidgetTypeHandler extends AbstractWidgetTypeHandler
DEV_TEMPLATE_PROPERTY_NAME, DISABLE_DEV_PROPERTY_NAME, properties
Constructor and Description |
---|
TextWidgetTypeHandler() |
Modifier and Type | Method and Description |
---|---|
javax.faces.view.facelets.FaceletHandler |
getFaceletHandler(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.view.facelets.TagConfig tagConfig,
Widget widget,
javax.faces.view.facelets.FaceletHandler[] subHandlers)
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.
|
getDevFaceletHandler, getDocumentConstraintValidatorHandler, getInputSlotHandler, getNextHandler, getNextHandler, getNextHandler, getProperty, getRequiredProperty, setProperties
public TextWidgetTypeHandler()
public javax.faces.view.facelets.FaceletHandler getFaceletHandler(javax.faces.view.facelets.FaceletContext ctx, javax.faces.view.facelets.TagConfig tagConfig, Widget widget, javax.faces.view.facelets.FaceletHandler[] subHandlers) throws WidgetException
WidgetTypeHandler
getFaceletHandler
in interface WidgetTypeHandler
getFaceletHandler
in class AbstractWidgetTypeHandler
ctx
- the facelet context in which this handler will be applied.tagConfig
- the tag configuration this facelet will be applied for.widget
- the widget giving properties the handler will take into account.subHandlers
- facelet handlers for sub widgets.WidgetException
protected javax.faces.view.facelets.TagAttributes getViewTagAttributes(javax.faces.view.facelets.FaceletContext ctx, FaceletHandlerHelper helper, String id, Widget widget, boolean addId)
Copyright © 2015 Nuxeo SA. All rights reserved.