Hi, thanks for a quick reply.
The java code is the same as in
http://www.wicket-library.com/wicket-examples/ajax/modal-window
<http://www.wicket-library.com/wicket-examples/ajax/modal-window?0> . I'm
only changed
ModalWindowPage extends BasePage
to:
ModalWindowPage extends WebPage
and changed html for ModalWindowPage
<?xml version="1.0" encoding="UTF-8" ?>
<wicket:extend xmlns:wicket="http://wicket.apache.org">
Last modal window result:
<div wicket:id="modal1"></div>
Show modal dialog with a page
<br/>
<div wicket:id="modal2"></div><br/>
Show modal dialog with panel
</wicket:extend>
to:
<html>
<head>
<meta charset="utf-8" />
<title>Apache Wicket Quickstart</title>
<link rel="stylesheet" href="style.css" type="text/css"
media="screen"
title="Stylesheet" />
</head>
<body>
Last modal window result:
<div wicket:id="modal1"></div>
Show modal dialog with a page
<br/>
<div wicket:id="modal2"></div><br/>
Show modal dialog with panel
</body>
</html>
I checked the javascript and i get error: Uncaught TypeError: undefined is
not a function
which shows me the line of code:
*if (Wicket.Browser.isIELessThan7()) {*
in modal-ver-1426596088944.js:1204
When I click link I get this kind of ajax response:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><component
id="modal25c" ></component><header-contribution encoding="wicket1"
></header-contribution><priority-evaluate></priority-evaluate><evaluate
encoding="wicket1"></evaluate></ajax-response>
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Problem-with-ModalWindowPage-example-tp4670030p4670032.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]