public class AjaxEnclosureListener extends Object implements AjaxRequestTarget.IListener
WebApplication
,
InlineEnclosure
,
InlineEnclosureHandler
Constructor and Description |
---|
AjaxEnclosureListener()
Construct.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isControllerOfEnclosure(Component component,
Enclosure enclosure)
Check if a given component is the controlling child of a given enclosure
|
void |
onBeforeRespond(Map<String,Component> map,
AjaxRequestTarget target)
Try to find Enclosures that have their controllers added already, and add them to the target.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onAfterRespond, updateAjaxAttributes
public void onBeforeRespond(Map<String,Component> map, AjaxRequestTarget target)
onBeforeRespond
in interface AjaxRequestTarget.IListener
map
- modifiable map (markupId -> component) of components already added to the targettarget
- the target itself. Could be used to add components or to append/prepend
javascriptpublic static boolean isControllerOfEnclosure(Component component, Enclosure enclosure)
component
- enclosure
- Copyright © 2006–2022 Apache Software Foundation. All rights reserved.