public class JQueryTemplateBehavior
extends com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
JQueryAbstractTemplateBehavior
that works with a IJQueryTemplate
.IJQueryTemplate.getText()
Modifier and Type | Field and Description |
---|---|
static org.apache.wicket.request.resource.PackageResourceReference |
TMPL_JS |
Constructor and Description |
---|
JQueryTemplateBehavior(com.googlecode.wicket.jquery.core.template.IJQueryTemplate template)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
bind(org.apache.wicket.Component component) |
String |
getToken() |
protected com.googlecode.wicket.jquery.core.template.JQueryTemplateResourceStream |
newResourceStream() |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
public static final org.apache.wicket.request.resource.PackageResourceReference TMPL_JS
public JQueryTemplateBehavior(com.googlecode.wicket.jquery.core.template.IJQueryTemplate template)
template
- the IJQueryTemplate
that this behavior should render via the resource streampublic void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
public void bind(org.apache.wicket.Component component)
bind
in class org.apache.wicket.behavior.Behavior
public String getToken()
getToken
in class com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
protected com.googlecode.wicket.jquery.core.template.JQueryTemplateResourceStream newResourceStream()
newResourceStream
in class com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
Copyright © 2019 7thWeb. All rights reserved.