[
https://issues.apache.org/jira/browse/WICKET-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sven Meier updated WICKET-3400:
-------------------------------
Component/s: (was: wicket-examples)
wicket-datetime
Description:
For demonstration just start Wicket's ModalWindow example showing header
contribution (org.apache.wicket.examples.ajax.builtin.modal.ModalPanel1).
Ajax debug:
ERROR: Wicket.Head.Contributor.processScript: TypeError: YAHOO.wicket is
undefined: eval ->
var e = Wicket.$('id8Dp'); if (e != null && typeof(e.parentNode) != 'undefined'
&& typeof(e.parentNode.parentNode != 'undefined'))
e.parentNode.parentNode.removeChild(e.parentNode);YAHOO.wicket.id8DpJs.destroy();
delete YAHOO.wicket.id8DpJs;
This issue is probably caused by changes in revision 991033 (WICKET-2850). It
seems there are curly braces missing in the JavaScript code.
was:
The ModalWindow example showing header contribution
(org.apache.wicket.examples.ajax.builtin.modal.ModalPanel1) doesn't work any
longer in 1.5. AJAX debug:
ERROR: Wicket.Head.Contributor.processScript: TypeError: YAHOO.wicket is
undefined: eval ->
var e = Wicket.$('id8Dp'); if (e != null && typeof(e.parentNode) != 'undefined'
&& typeof(e.parentNode.parentNode != 'undefined'))
e.parentNode.parentNode.removeChild(e.parentNode);YAHOO.wicket.id8DpJs.destroy();
delete YAHOO.wicket.id8DpJs;
Summary: DatePicker renders errorenous JavaScript in AjaxRequest (was:
ModalWindow example fails )
> DatePicker renders errorenous JavaScript in AjaxRequest
> -------------------------------------------------------
>
> Key: WICKET-3400
> URL: https://issues.apache.org/jira/browse/WICKET-3400
> Project: Wicket
> Issue Type: Bug
> Components: wicket-datetime
> Affects Versions: 1.5-RC1
> Reporter: Sven Meier
>
> For demonstration just start Wicket's ModalWindow example showing header
> contribution (org.apache.wicket.examples.ajax.builtin.modal.ModalPanel1).
> Ajax debug:
> ERROR: Wicket.Head.Contributor.processScript: TypeError: YAHOO.wicket is
> undefined: eval ->
> var e = Wicket.$('id8Dp'); if (e != null && typeof(e.parentNode) !=
> 'undefined' && typeof(e.parentNode.parentNode != 'undefined'))
> e.parentNode.parentNode.removeChild(e.parentNode);YAHOO.wicket.id8DpJs.destroy();
> delete YAHOO.wicket.id8DpJs;
> This issue is probably caused by changes in revision 991033 (WICKET-2850). It
> seems there are curly braces missing in the JavaScript code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.