Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
8.2.0
-
None
-
None
Description
WICKET AJAX DEBUG produces the error message
ERROR: Cannot bind a listener for event "inputchange change" on element "text1" because the element is not in the DOM
when component is not visible caused by enclosure:
HTML
<wicket:enclosure child="other">
<input type="text" wicket:id="text"/>
<div wicket:id="other" />
</wicket:enclosure>
JAVA
other.setVisibilityAllowed(false);
HTML Page source head script contains
Wicket.Ajax.ajax({"u":"./?0-1.0-text","m":"POST","c":"text1","e":"inputchange change"});;
but not text1 since it is invisible.
See attached source project and screenshot.
Attachments
Attachments
Issue Links
- Blocked
-
WICKET-4874 "Cannot find element with id" error seen in Ajax Debug for child of wicket:enclosure
- Resolved
- relates to
-
WICKET-7057 header not rendered for components whithin enclosure in ajax response
- Resolved