public class GalleryFileUploadBehavior extends FileUploadBehavior
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_JS |
static String[] |
JQUERY_FILEUPLOAD_UI_EXT_SCRIPTS |
settings
Constructor and Description |
---|
GalleryFileUploadBehavior(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.
|
protected void |
renderScripts(org.apache.wicket.markup.head.IHeaderResponse response) |
protected 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
|
onRequest, renderHead
afterRender, bind, getCallbackUrl, getComponent, onBind, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
public static final String CONFIG_JS
public static final String[] JQUERY_FILEUPLOAD_UI_EXT_SCRIPTS
public GalleryFileUploadBehavior(FileUploadWidgetSettings settings)
protected void renderScripts(org.apache.wicket.markup.head.IHeaderResponse response)
renderScripts
in class FileUploadBehavior
protected Map<String,Object> configureParameters(org.apache.wicket.Component component)
FileUploadBehavior
configureParameters
in class FileUploadBehavior
protected void renderWidgetConfig(org.apache.wicket.markup.head.IHeaderResponse response, Map<String,Object> variables)
FileUploadBehavior
renderWidgetConfig
in class FileUploadBehavior
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.