Class JQueryTemplateBehavior

  • All Implemented Interfaces:
    Serializable, IComponentAwareEventSink, IComponentAwareHeaderContributor, IClusterable

    public class JQueryTemplateBehavior
    extends com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
    Provides the default implementation of JQueryAbstractTemplateBehavior that works with a IJQueryTemplate.
    The content of the <script /> block (the resource stream) is given by the IJQueryTemplate.getText()
    Author:
    Sebastien Briquet - sebfz1
    See Also:
    Serialized Form
    • Constructor Detail

      • JQueryTemplateBehavior

        public JQueryTemplateBehavior​(com.googlecode.wicket.jquery.core.template.IJQueryTemplate template)
        Constructor
        Parameters:
        template - the IJQueryTemplate that this behavior should render via the resource stream
    • Method Detail

      • getToken

        public String getToken()
        Specified by:
        getToken in class com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
      • newResourceStream

        protected com.googlecode.wicket.jquery.core.template.JQueryTemplateResourceStream newResourceStream()
        Specified by:
        newResourceStream in class com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior