public abstract class FileUploadBehavior
extends org.apache.wicket.behavior.AbstractAjaxBehavior
Modifier and Type | Field and Description |
---|---|
protected FileUploadWidgetSettings |
settings |
Constructor and Description |
---|
FileUploadBehavior(FileUploadWidgetSettings settings) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
configureParameters(org.apache.wicket.Component component)
Set parameters that will be used in the jquery-fileupload initialization.
|
void |
onRequest()
Called when a request to a behavior is received.
|
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
protected void |
renderScripts(org.apache.wicket.markup.head.IHeaderResponse response) |
protected abstract void |
renderWidgetConfig(org.apache.wicket.markup.head.IHeaderResponse response,
Map<String,Object> variables)
Load the jquery-file-upload config script and run the startup method
|
afterRender, bind, getCallbackUrl, getComponent, onBind, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
protected final FileUploadWidgetSettings settings
public FileUploadBehavior(FileUploadWidgetSettings settings)
public 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 org.apache.wicket.behavior.Behavior
protected void renderScripts(org.apache.wicket.markup.head.IHeaderResponse response)
protected Map<String,Object> configureParameters(org.apache.wicket.Component component)
protected abstract void renderWidgetConfig(org.apache.wicket.markup.head.IHeaderResponse response, Map<String,Object> variables)
public void onRequest()
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.