|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.platform.forms.layout.facelets.plugins.AbstractWidgetTypeHandler
org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
public class TemplateWidgetTypeHandler
Template widget type
| Field Summary | |
|---|---|
static String |
TEMPLATE_PROPERTY_NAME
|
| Constructor Summary | |
|---|---|
TemplateWidgetTypeHandler()
|
|
| Method Summary | |
|---|---|
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. |
protected com.sun.facelets.FaceletHandler |
getNextHandler(com.sun.facelets.FaceletContext ctx,
com.sun.facelets.tag.TagConfig tagConfig,
FaceletHandlerHelper helper,
Widget widget)
Computes the next handler, adding param handlers. |
protected com.sun.facelets.tag.TagAttribute |
getTemplateAttribute(FaceletHandlerHelper helper)
Returns the template attribute. |
protected String |
getTemplateValue(Widget widget)
Returns the template value. |
| Methods inherited from class org.nuxeo.ecm.platform.forms.layout.facelets.plugins.AbstractWidgetTypeHandler |
|---|
getProperty, getRequiredProperty, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TEMPLATE_PROPERTY_NAME
| Constructor Detail |
|---|
public TemplateWidgetTypeHandler()
| Method Detail |
|---|
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 WidgetTypeHandlergetFaceletHandler in class AbstractWidgetTypeHandlerctx - 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 com.sun.facelets.FaceletHandler getNextHandler(com.sun.facelets.FaceletContext ctx,
com.sun.facelets.tag.TagConfig tagConfig,
FaceletHandlerHelper helper,
Widget widget)
throws WidgetException
Makes available the field values in templates using the format field_0, field_1, etc.
WidgetExceptionprotected String getTemplateValue(Widget widget)
protected com.sun.facelets.tag.TagAttribute getTemplateAttribute(FaceletHandlerHelper helper)
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||