com.evolveum.midpoint.web.component.ajaxDownload
Class AjaxDownloadBehaviorFromFile
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
com.evolveum.midpoint.web.component.ajaxDownload.AjaxDownloadBehaviorFromFile
- All Implemented Interfaces:
- Serializable, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IClusterable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IComponentAwareHeaderContributor
public abstract class AjaxDownloadBehaviorFromFile
- extends org.apache.wicket.behavior.AbstractAjaxBehavior
- See Also:
- Serialized Form
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener |
INTERFACE |
Method Summary |
protected abstract org.apache.wicket.util.file.File |
initFile()
|
void |
initiate(org.apache.wicket.ajax.AjaxRequestTarget target)
Call this method to initiate the download. |
void |
onRequest()
|
void |
setContentType(String contentType)
|
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior |
afterRender, bind, getCallbackUrl, getComponent, getStatelessHint, onBind, onComponentRendered, onComponentTag, onComponentTag |
Methods inherited from class org.apache.wicket.behavior.Behavior |
beforeRender, canCallListenerInterface, canCallListenerInterface, detach, isEnabled, isTemporary, onConfigure, onEvent, onException, renderHead, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxDownloadBehaviorFromFile
public AjaxDownloadBehaviorFromFile()
AjaxDownloadBehaviorFromFile
public AjaxDownloadBehaviorFromFile(boolean addAntiCache)
initiate
public void initiate(org.apache.wicket.ajax.AjaxRequestTarget target)
- Call this method to initiate the download.
onRequest
public void onRequest()
setContentType
public void setContentType(String contentType)
initFile
protected abstract org.apache.wicket.util.file.File initFile()
Copyright © 2013 evolveum. All Rights Reserved.