com.googlecode.wicket.jquery.ui.kendo
Class KendoTemplateBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by com.googlecode.wicket.jquery.ui.template.JQueryAbstractTemplateBehavior
          extended by com.googlecode.wicket.jquery.ui.kendo.KendoTemplateBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor

public class KendoTemplateBehavior
extends JQueryAbstractTemplateBehavior

Provides the kendo-ui implementation of JQueryAbstractTemplateBehavior that works with a IJQueryTemplate.
The content of the <script /> block (the resource stream) is given by the IJQueryTemplate.getText().

This implementation is different from JQueryTemplateBehavior as the <script /> block will have the kendo-ui type ("text/x-kendo-template")

Author:
Sebastien Briquet - sebfz1
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.googlecode.wicket.jquery.ui.template.JQueryAbstractTemplateBehavior
TMPL_JS
 
Constructor Summary
KendoTemplateBehavior(IJQueryTemplate template)
          Constructor
 
Method Summary
protected  JQueryResourceStream newResourceStream()
           
 
Methods inherited from class com.googlecode.wicket.jquery.ui.template.JQueryAbstractTemplateBehavior
getToken, renderHead
 
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListenerInterface, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KendoTemplateBehavior

public KendoTemplateBehavior(IJQueryTemplate template)
Constructor

Parameters:
template - the IJQueryTemplate that this behavior should render via the resource stream
Method Detail

newResourceStream

protected JQueryResourceStream newResourceStream()
Specified by:
newResourceStream in class JQueryAbstractTemplateBehavior


Copyright © 2013 7thWeb. All Rights Reserved.