src/main/java/org/efaps/ui/wicket/behaviors/AjaxDownloadBehavior.java
public void initiate(final IPartialPageRequestHandler _target)
    {
        final String url = getCallBackURL();
        if (url != null) {
            _target.prependJavaScript(getCallBackScript(url));
        }
    }
public void initiate(final IPartialPageRequestHandler _target)
    {
        final String url = getCallBackURL();
        if (url != null) {
            _target.prependJavaScript(getCallBackScript(url));
        }
    }
Call this method to initiate the download.
@param _target Ajaxtarget