[
https://issues.apache.org/jira/browse/WICKET-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530632
]
Carlo M. Camerino commented on WICKET-1003:
-------------------------------------------
Wicket Ajax Debug Outputs This
An Error Message Shows
eceived ajax response (457 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><evaluate><![CDATA[var win;
try {
win = window.parent.Wicket.Window;
} catch (ignore) {
}
if (typeof(win) == "undefined" || typeof(win.current) == "undefined") {
try {
win = window.Wicket.Window;
} catch (ignore) {
}
}
if (typeof(win) != "undefined" && typeof(win.current) != "undefined") {
window.parent.setTimeout(function() {
win.current.close();
}, 0);
}]]></evaluate></ajax-response>
INFO: Response parsed. Now invoking steps...
ERROR: Exception evaluating javascript: TypeError: window.parent.setTimeout is
not a function
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: Calling focus on back-button23
INFO: focus set on back-button23
INFO: focus set on
> Modal Window Does Not Close When Using IndicatingAjaxButton
> -----------------------------------------------------------
>
> Key: WICKET-1003
> URL: https://issues.apache.org/jira/browse/WICKET-1003
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.3.0-beta4
> Environment: Ubuntu, Jetty, Eclipse
> Reporter: Carlo M. Camerino
> Attachments: Modal.png, quickstart-closeDoesntWork.zip
>
>
> I have a panel in my modal window. I have a button in my panel that closes
> the modalwindow.
> If I use an indicatingajaxbutton for that button, the modalwindow does not
> close properly.
> However if i use an ajaxlink, things go smoothly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.