Class GalleryFileUploadBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.hippoecm.frontend.plugins.jquery.upload.FileUploadBehavior
-
- org.hippoecm.frontend.plugins.jquery.upload.multiple.GalleryFileUploadBehavior
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.IRequestListener
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
public class GalleryFileUploadBehavior extends FileUploadBehavior
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_JS
static String[]
JQUERY_FILEUPLOAD_UI_EXT_SCRIPTS
-
Fields inherited from class org.hippoecm.frontend.plugins.jquery.upload.FileUploadBehavior
settings
-
-
Constructor Summary
Constructors Constructor Description GalleryFileUploadBehavior(FileUploadWidgetSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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-
Methods inherited from class org.hippoecm.frontend.plugins.jquery.upload.FileUploadBehavior
onRequest, renderHead
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onBind, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
-
-
-
Field Detail
-
CONFIG_JS
public static final String CONFIG_JS
- See Also:
- Constant Field Values
-
JQUERY_FILEUPLOAD_UI_EXT_SCRIPTS
public static final String[] JQUERY_FILEUPLOAD_UI_EXT_SCRIPTS
-
-
Constructor Detail
-
GalleryFileUploadBehavior
public GalleryFileUploadBehavior(FileUploadWidgetSettings settings)
-
-
Method Detail
-
renderScripts
protected void renderScripts(org.apache.wicket.markup.head.IHeaderResponse response)
- Overrides:
renderScripts
in classFileUploadBehavior
-
configureParameters
protected Map<String,Object> configureParameters(org.apache.wicket.Component component)
Description copied from class:FileUploadBehavior
Set parameters that will be used in the jquery-fileupload initialization. See jquery.fileupload.js/options- Overrides:
configureParameters
in classFileUploadBehavior
-
renderWidgetConfig
protected void renderWidgetConfig(org.apache.wicket.markup.head.IHeaderResponse response, Map<String,Object> variables)
Description copied from class:FileUploadBehavior
Load the jquery-file-upload config script and run the startup method- Specified by:
renderWidgetConfig
in classFileUploadBehavior
-
-