public class TemplateWidgetTypeHandler extends AbstractWidgetTypeHandler
Modifier and Type | Field and Description |
---|---|
static String |
BIND_VALUE_IF_NO_FIELD_PROPERTY_NAME
Property that can be put on the widget type definition to decide whether
the widget type should bind to parent value when no field is set
|
static String |
TEMPLATE_PROPERTY_NAME |
Constructor and Description |
---|
TemplateWidgetTypeHandler() |
Modifier and Type | Method and Description |
---|---|
com.sun.facelets.FaceletHandler |
getFaceletHandler(com.sun.facelets.FaceletContext ctx,
com.sun.facelets.tag.TagConfig tagConfig,
Widget widget,
com.sun.facelets.FaceletHandler[] subHandlers)
Returns the facelet handler that will be applied for given widget and
template in this context.
|
getProperty, getRequiredProperty, setProperties
public static final String TEMPLATE_PROPERTY_NAME
public static final String BIND_VALUE_IF_NO_FIELD_PROPERTY_NAME
public com.sun.facelets.FaceletHandler getFaceletHandler(com.sun.facelets.FaceletContext ctx, com.sun.facelets.tag.TagConfig tagConfig, Widget widget, com.sun.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
Copyright © 2012 Nuxeo SA. All Rights Reserved.