Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.facelets.plugins
Class TemplateWidgetTypeHandler

java.lang.Object
  extended by org.nuxeo.ecm.platform.forms.layout.facelets.plugins.AbstractWidgetTypeHandler
      extended by org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
All Implemented Interfaces:
Serializable, WidgetTypeHandler
Direct Known Subclasses:
ListWidgetTypeHandler

public class TemplateWidgetTypeHandler
extends AbstractWidgetTypeHandler

Template widget type.

Author:
Anahide Tchertchian
See Also:
Serialized Form

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.
 
Methods inherited from class org.nuxeo.ecm.platform.forms.layout.facelets.plugins.AbstractWidgetTypeHandler
getProperty, getRequiredProperty, setProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATE_PROPERTY_NAME

public static final String TEMPLATE_PROPERTY_NAME
See Also:
Constant Field Values
Constructor Detail

TemplateWidgetTypeHandler

public TemplateWidgetTypeHandler()
Method Detail

getFaceletHandler

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
Description copied from interface: WidgetTypeHandler
Returns the facelet handler that will be applied for given widget and template in this context.

Specified by:
getFaceletHandler in interface WidgetTypeHandler
Specified by:
getFaceletHandler in class AbstractWidgetTypeHandler
Parameters:
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.
Returns:
a facelet handler.
Throws:
WidgetException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.