@Override protected void onDetach() { renderer.detach(); super.onDetach(); }; }
@Override protected void onDetach() { renderer.detach(); super.onDetach(); }; }
/** * Clean up at the end of the request. This means closing all inputstreams which might have been * opened from the fileUpload. * * @see org.apache.wicket.Component#onDetach() */ protected void onDetach() { if (fileUpload != null && forceCloseStreamsOnDetach()) { fileUpload.closeStreams(); fileUpload = null; } super.onDetach(); }
@Override protected void onDetach() { convertInputPerformed = false; if (isAjax()) { getProvider().detach(); } super.onDetach(); }
/** * Clean up at the end of the request. This means closing all inputstreams which might have been * opened from the fileUpload. * * @see org.apache.wicket.Component#onDetach() */ @Override protected void onDetach() { if ((fileUpload != null) && forceCloseStreamsOnDetach()) { fileUpload.closeStreams(); fileUpload = null; if (getModel() != null) { getModel().setObject(null); } } super.onDetach(); }
/** * Clean up at the end of the request. This means closing all inputstreams which might have been * opened from the fileUpload. * * @see org.apache.wicket.Component#onDetach() */ @Override protected void onDetach() { if (fileUploads != null) { if (forceCloseStreamsOnDetach()) { for (FileUpload fu : fileUploads) { fu.closeStreams(); } if (getModel() != null) { getModel().setObject(null); } } fileUploads = null; } super.onDetach(); }
/** * Clean up at the end of the request. This means closing all inputstreams which might have been * opened from the fileUpload. * * @see org.apache.wicket.Component#onDetach() */ @Override protected void onDetach() { if (fileUploads != null) { if (forceCloseStreamsOnDetach()) { for (FileUpload fu : fileUploads) { fu.closeStreams(); } if (getModel() != null) { getModel().setObject(null); } } fileUploads = null; } super.onDetach(); }