[ http://issues.apache.org/jira/browse/WICKET-152?page=all ]

John Major updated WICKET-152:
------------------------------

    Attachment: wicket2.0-152.patch

I'm still fairly new to the wicket codebase, and I haven't looked at how any 
previous versions handle this issue, but in the off chance that it saves you 
guys some time, here's a patch I applied locally in order to temporarily fix 
the issue.  I just moved PageMapChecker into a top level class with package 
access, and added a constructor that takes a Page instance. 

> Automatic multi window support and XHTML validation
> ---------------------------------------------------
>
>                 Key: WICKET-152
>                 URL: http://issues.apache.org/jira/browse/WICKET-152
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 2.0
>            Reporter: John Major
>            Priority: Minor
>         Attachments: wicket2.0-152.patch
>
>
> With automatic multi window support enabled, Wicket is adding an id attribute 
> to the script element that contains a character that prevents XHTML 
> validation.  For example, 
> <script type="text/javascript" 
> id="wicket.markup.html.WebPage$PageMapChecker"><!--/*--><![CDATA[/*><!--*/
> if (window.name=='' || window.name.indexOf('wicket') > -1) { 
> window.name="wicket:default"; }
> /*-->]]>*/</script>
> exhibits the problem as valid XHTML disallows the $ within the id attribute.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to