|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface AjaxRequestTarget.IListener
An AjaxRequestTarget listener that can be used to respond to various target-related
events
| Method Summary | |
|---|---|
void |
onAfterRespond(Map<String,Component> map,
AjaxRequestTarget.IJavaScriptResponse response)
Triggered after ajax request target is done with its response cycle. |
void |
onBeforeRespond(Map<String,Component> map,
AjaxRequestTarget target)
Triggered before ajax request target begins its response cycle |
| Method Detail |
|---|
void onBeforeRespond(Map<String,Component> map,
AjaxRequestTarget target)
map - read-only map:markupId->component of components already added to the targettarget - the target itself. Could be used to add components or to append/prepend
javascript
void onAfterRespond(Map<String,Component> map,
AjaxRequestTarget.IJavaScriptResponse response)
AjaxRequestTarget.IJavaScriptResponse object
NOTE: During this stage of processing any calls to target that manipulate the response
(adding components, javascript) will have no effect
map - read-only map:markupId->component of components already added to the targetresponse - response object that can be used to output javascript
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||