[
https://issues.apache.org/jira/browse/WICKET-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554483
]
Juergen Donnerstag commented on WICKET-1224:
--------------------------------------------
It was changed as part of 1139. And you are right, IE doesn't ike it. What I
tend to add to my apps is
getMarkupSettings().setStripXmlDeclarationFromOutput(true);
and
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I wonder if especially setStripXmlDeclarationFromOutput(true) wouldn't be a
better default due to IE problems. The http header still contains the encoding.
I leave this case open until we found a fix for both problem, but remove the
xml declaration for the file to work properly
> PopupCloseLink broken with 1.3.0-rc2 in Internet Explorer
> ---------------------------------------------------------
>
> Key: WICKET-1224
> URL: https://issues.apache.org/jira/browse/WICKET-1224
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.3.0-rc2
> Reporter: Thomas Jaeckle
> Assignee: Juergen Donnerstag
>
> A popup in Internet Explorer does not close when clicking on a PopupCloseLink.
> Instead of closing it shows the Page in xml-View:
> <?xml version="1.0" encoding="UTF-8" ?>
> - <!--
> Licensed to the Apache Software Foundation (ASF) under one or more
> contributor license agreements. See the NOTICE file distributed with
> this work for additional information regarding copyright ownership.
> The ASF licenses this file to You under the Apache License, Version 2.0
> (the "License"); you may not use this file except in compliance with
> the License. You may obtain a copy of the License at
> http://www.apache.org/licenses/LICENSE-2.0
> Unless required by applicable law or agreed to in writing, software
> distributed under the License is distributed on an "AS IS" BASIS,
> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> See the License for the specific language governing permissions and
> limitations under the License.
> -->
> - <html>
> <body onLoad="javascript:self.close()" />
> </html>
> In rc1 there was no xml-header ( <?xml version="1.0" encoding="UTF-8" ?> ),
> in rc2 there is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.