[ 
https://issues.apache.org/jira/browse/WICKET-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov updated WICKET-1541:
------------------------------------

    Description: 
In o.a.w.markup.html.link.PopupSettings.java there is a fix for IE at line 177:

        // Fix for IE bug.
        windowTitle = windowTitle.replace(':', '_');

This fix should either be improved/extended or it would be good if the javadocs 
for 'pageMap' state that IE supports only alphanumeric characters 
and underscore in the windowTitle.

Attached quickstart shows the problem in IE: a pageMap/windowTitle with a dash 
leads to "Illegal argument" JavaScript error.

  was:
In o.a.w.markup.html.link.PopupSettings.java there is a fix for IE at line 177:

        // Fix for IE bug.
        windowTitle = windowTitle.replace(':', '_');

This fix should either be improved/extended or there would be stated in the 
javadocs for 'pageMap' that IE supports only alphanumeric characters 
and underscore in the windowTitle.

Attached quickstart shows the problem in IE.   


> PopupSettings' windowName fixes for IE
> --------------------------------------
>
>                 Key: WICKET-1541
>                 URL: https://issues.apache.org/jira/browse/WICKET-1541
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.2
>         Environment: Internet Explorer 6/7
>            Reporter: Martin Grigorov
>            Priority: Trivial
>         Attachments: popups.tgz
>
>
> In o.a.w.markup.html.link.PopupSettings.java there is a fix for IE at line 
> 177:
>       // Fix for IE bug.
>       windowTitle = windowTitle.replace(':', '_');
> This fix should either be improved/extended or it would be good if the 
> javadocs for 'pageMap' state that IE supports only alphanumeric characters 
> and underscore in the windowTitle.
> Attached quickstart shows the problem in IE: a pageMap/windowTitle with a 
> dash leads to "Illegal argument" JavaScript error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to