public class MultipartFormComponentListener extends Object implements AjaxRequestTarget.IListener
Form
's enctype whenever a multipart FormComponent
is added to the AjaxRequestTarget
.
This is needed because the multipart form component may change its visibility/enablement and thus
change the multipart-ness of the whole form.Constructor and Description |
---|
MultipartFormComponentListener() |
Modifier and Type | Method and Description |
---|---|
void |
onAfterRespond(Map<String,Component> map,
AjaxRequestTarget.IJavaScriptResponse response)
Triggered after ajax request target is done with its response cycle.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onBeforeRespond, updateAjaxAttributes
public void onAfterRespond(Map<String,Component> map, AjaxRequestTarget.IJavaScriptResponse response)
AjaxRequestTarget.IListener
AjaxRequestTarget.IJavaScriptResponse
object
NOTE: During this stage of processing any calls to target that manipulate the response
(adding components, javascript) will have no effectonAfterRespond
in interface AjaxRequestTarget.IListener
map
- read-only map:markupId->component of components already added to the targetresponse
- response object that can be used to output javascriptCopyright © 2006–2022 Apache Software Foundation. All rights reserved.