public class VelocityContributor
extends org.apache.wicket.behavior.Behavior
| Constructor and Description |
|---|
VelocityContributor(String templateName,
org.apache.wicket.model.IModel<? extends Map<?,?>> model)
The templateName needs to have the full path relative to where the resource loader starts
looking.
|
| Modifier and Type | Method and Description |
|---|---|
void |
detach(org.apache.wicket.Component c) |
protected boolean |
escapeHtml() |
protected CharSequence |
evaluate()
Evaluate the template.
|
String |
getEncoding() |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
void |
setEncoding(String encoding) |
public VelocityContributor(String templateName, org.apache.wicket.model.IModel<? extends Map<?,?>> model)
Packages for this.templateName - model - public void detach(org.apache.wicket.Component c)
detach in class org.apache.wicket.behavior.Behaviorpublic String getEncoding()
public void renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributorrenderHead in class org.apache.wicket.behavior.Behaviorpublic void setEncoding(String encoding)
encoding - The encodingprotected boolean escapeHtml()
protected final CharSequence evaluate()
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.