All,
I'm still having problem with displaying modal Dialog using
PopupSettings in IE. With FF there is no problem. I've tried todays
trunk with no success. In IE it opens a new window first and show
modal dialog. I'm using IE's ModalDialog function.
Please help me.
Below goes relevant parts of generated html:
<html>
<head>
<title>My Application</title>
<link href="/style.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript"
src="/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js"></script>
<script type="text/javascript"
id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
wicketAjaxDebugEnable=true;
/*-->]]>*/</script>
<script type="text/javascript"
src="/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js"></script>
<script type="text/javascript"
src="/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
<script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
if (window.name=='') {
window.location="/app?wicket:interface=:3::INewBrowserWindowListener"; }
/*-->]]>*/</script>
</head>
<body onload="setTimeout(function() { var
wcall=wicketAjaxGet('/app?wicket:interface=:3:header:newMessages:newMessageCount:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true',
function() { }, function() { }); }, 30000);">
<script>
var UserListRef = null;
</script>
...
<form action="createMessage.do" method="post">
<table>
<tr>
<td style="background-color: #ebebeb"> To: </td>
<td style="width: 100%">
<input id="to_user" type="text" name="touser" title="[EMAIL
PROTECTED]" style="width: 100%" value="" >
</td>
<td>
<input value="..." type="button" title="User list"
onclick="if(window.showModalDialog) {
window.showModalDialog('/app?wicket:interface=:3:listUsers::ILinkListener',
document, 'dialogHeight:120px; dialogWidth:400px; help:no; status:no'); return
false; } else { if(UserListRef == null || UserListRef.closed) UserListRef =
window.open('/app?wicket:interface=:3:listUsers::ILinkListener', document,
'height=120px, width=400px, help=no, status=no, dialog=yes, modal=yes'); else
UserListRef.focus();}">
</td>
</tr>
...
<tr>
<td class="input" ><input type="submit" value="Send"></td>
</tr>
</table>
</form>
<form action="/attachFile.do" enctype="multipart/form-data" method="post">
<table>
<tr>
<td>
<input type="submit" value="Attach"/>
</td>
<td class="input">
<input size="40" type="file" name="theFile"/>
</td>
</tr>
</table>
</form>
</body>
</html>
--
Regards
shumbola
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user